[collectd] Error during make

Sascha A. Müller sam at marketing-by-abs.com
Thu Feb 7 12:03:25 CET 2008


Hi List,

while trying to compile collected-4.2.4 I encountered following error:

MF ".deps/hddtemp.Tpo" -c -o hddtemp.lo hddtemp.c; \
        then mv -f ".deps/hddtemp.Tpo" ".deps/hddtemp.Plo"; else rm -f ".deps/hddtemp.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Werror -g -O2 -MT hddtemp.lo -MD -MP -MF .deps/hddtemp.Tpo -c hddtemp.c  -fPIC -DPIC -o .libs/hddtemp.o
hddtemp.c: In function `hddtemp_init':
hddtemp.c:307: error: `SCSI_DISK8_MAJOR' undeclared (first use in this function)
hddtemp.c:307: error: (Each undeclared identifier is reported only once
hddtemp.c:307: error: for each function it appears in.)
hddtemp.c:308: error: `SCSI_DISK9_MAJOR' undeclared (first use in this function)
hddtemp.c:309: error: `SCSI_DISK10_MAJOR' undeclared (first use in this function)
hddtemp.c:310: error: `SCSI_DISK11_MAJOR' undeclared (first use in this function)
hddtemp.c:311: error: `SCSI_DISK12_MAJOR' undeclared (first use in this function)
hddtemp.c:312: error: `SCSI_DISK13_MAJOR' undeclared (first use in this function)
hddtemp.c:313: error: `SCSI_DISK14_MAJOR' undeclared (first use in this function)
hddtemp.c:314: error: `SCSI_DISK15_MAJOR' undeclared (first use in this function)
make[3]: *** [hddtemp.lo] Error 1

The same occured whil trying to compile 4.1.6.

Dunno if your aware of this. I first through that i might have to many partition, but i only have 10. Here the output of fdisk -l:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         243     1951866   82  Linux swap
/dev/sda2   *         244         729     3903795   83  Linux
/dev/sda3             730         972     1951897+  83  Linux
/dev/sda4             973        9729    70340602+   5  Extended
/dev/sda5             973        1580     4883728+  83  Linux
/dev/sda6            1581        2188     4883728+  83  Linux
/dev/sda7            2189        2796     4883728+  83  Linux
/dev/sda8            2797        3039     1951866   83  Linux
/dev/sda9            3040        3647     4883728+  83  Linux
/dev/sda10           3648        9729    48853633+  83  Linux

If i can provide any more info to straigthen this out, I glady will.

Greetings Sascha Müller




More information about the collectd mailing list