[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Problem compiling lm_sensors (parse error before ...)



Hi, all.

I am running Redhat 7.1 and just compiled kernel 2.4.18, in part so
that I could run lm_sensors (I was running kernel 2.4.13-ac8 which I
compiled myself, and didn't compile it with I2C support).  Since you
have to have an lm_sensors compiled for your exact kernel version, I
downloaded the latest version, and tried to compile it.  I submitted
a support ticket to the lm_sensors support site, which can be found
here:

http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=956

The ticket describes how I configured the Makefile.  Here's the make
output (note the that "No such file or directory" errors are normal,
and not the problem--the output is lengthy; there's more info below
it):

$ make
Makefile:221: kernel/busses/i2c-ali1535.d: No such file or directory
Makefile:221: kernel/busses/i2c-ali15x3.d: No such file or directory
Makefile:221: kernel/busses/i2c-amd756.d: No such file or directory
Makefile:221: kernel/busses/i2c-hydra.d: No such file or directory
Makefile:221: kernel/busses/i2c-i801.d: No such file or directory
Makefile:221: kernel/busses/i2c-i810.d: No such file or directory
Makefile:221: kernel/busses/i2c-isa.d: No such file or directory
Makefile:221: kernel/busses/i2c-sis5595.d: No such file or directory
Makefile:221: kernel/busses/i2c-piix4.d: No such file or directory
Makefile:221: kernel/busses/i2c-savage4.d: No such file or directory
Makefile:221: kernel/busses/i2c-via.d: No such file or directory
Makefile:221: kernel/busses/i2c-viapro.d: No such file or directory
Makefile:221: kernel/busses/i2c-voodoo3.d: No such file or directory
Makefile:221: kernel/chips/smbus-arp.d: No such file or directory
Makefile:221: kernel/chips/adm1021.d: No such file or directory
Makefile:221: kernel/chips/adm1024.d: No such file or directory
Makefile:221: kernel/chips/adm1025.d: No such file or directory
Makefile:221: kernel/chips/adm9240.d: No such file or directory
Makefile:221: kernel/chips/bt869.d: No such file or directory
Makefile:221: kernel/chips/ddcmon.d: No such file or directory
Makefile:221: kernel/chips/ds1621.d: No such file or directory
Makefile:221: kernel/chips/eeprom.d: No such file or directory
Makefile:221: kernel/chips/fscpos.d: No such file or directory
Makefile:221: kernel/chips/fscscy.d: No such file or directory
Makefile:221: kernel/chips/gl518sm.d: No such file or directory
Makefile:221: kernel/chips/gl520sm.d: No such file or directory
Makefile:221: kernel/chips/it87.d: No such file or directory
Makefile:221: kernel/chips/lm75.d: No such file or directory
Makefile:221: kernel/chips/lm78.d: No such file or directory
Makefile:221: kernel/chips/lm80.d: No such file or directory
Makefile:221: kernel/chips/lm87.d: No such file or directory
Makefile:221: kernel/chips/lm92.d: No such file or directory
Makefile:221: kernel/chips/ltc1710.d: No such file or directory
Makefile:221: kernel/chips/matorb.d: No such file or directory
Makefile:221: kernel/chips/maxilife.d: No such file or directory
Makefile:221: kernel/chips/mtp008.d: No such file or directory
Makefile:221: kernel/chips/pcf8574.d: No such file or directory
Makefile:221: kernel/chips/pcf8591.d: No such file or directory
Makefile:221: kernel/chips/sis5595.d: No such file or directory
Makefile:221: kernel/chips/smsc47m1.d: No such file or directory
Makefile:221: kernel/chips/thmc50.d: No such file or directory
Makefile:221: kernel/chips/w83781d.d: No such file or directory
Makefile:221: kernel/chips/via686a.d: No such file or directory
Makefile:221: kernel/chips/vt1211.d: No such file or directory
Makefile:221: lib/data.ld: No such file or directory
Makefile:221: lib/general.ld: No such file or directory
Makefile:221: lib/error.ld: No such file or directory
Makefile:221: lib/chips.ld: No such file or directory
Makefile:221: lib/proc.ld: No such file or directory
Makefile:221: lib/access.ld: No such file or directory
Makefile:221: lib/init.ld: No such file or directory
Makefile:221: lib/data.ad: No such file or directory
Makefile:221: lib/general.ad: No such file or directory
Makefile:221: lib/error.ad: No such file or directory
Makefile:221: lib/chips.ad: No such file or directory
Makefile:221: lib/proc.ad: No such file or directory
Makefile:221: lib/access.ad: No such file or directory
Makefile:221: lib/init.ad: No such file or directory
Makefile:221: prog/sensors/main.rd: No such file or directory
Makefile:221: prog/sensors/chips.rd: No such file or directory
Makefile:221: prog/dump/isadump.rd: No such file or directory
Makefile:221: prog/dump/i2cdump.rd: No such file or directory
Makefile:221: prog/dump/i2cset.rd: No such file or directory
Makefile:221: prog/detect/i2cdetect.rd: No such file or directory
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   prog/detect/i2cdetect.c | \
       	sed -e 's ^\(.*\)\.o:@prog/detect/i2cdetect.rd prog/detect/i2cdetect.ro: Makefile '`dirname prog/detect/i2cdetect.rd`/Module.mk' @' > prog/detect/i2cdetect.rd
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   prog/dump/i2cset.c | \
       	sed -e 's ^\(.*\)\.o:@prog/dump/i2cset.rd prog/dump/i2cset.ro: Makefile '`dirname prog/dump/i2cset.rd`/Module.mk' @' > prog/dump/i2cset.rd
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   prog/dump/i2cdump.c | \
       	sed -e 's ^\(.*\)\.o:@prog/dump/i2cdump.rd prog/dump/i2cdump.ro: Makefile '`dirname prog/dump/i2cdump.rd`/Module.mk' @' > prog/dump/i2cdump.rd
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   prog/dump/isadump.c | \
       	sed -e 's ^\(.*\)\.o:@prog/dump/isadump.rd prog/dump/isadump.ro: Makefile '`dirname prog/dump/isadump.rd`/Module.mk' @' > prog/dump/isadump.rd
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   prog/sensors/chips.c | \
       	sed -e 's ^\(.*\)\.o:@prog/sensors/chips.rd prog/sensors/chips.ro: Makefile '`dirname prog/sensors/chips.rd`/Module.mk' @' > prog/sensors/chips.rd
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   prog/sensors/main.c | \
       	sed -e 's ^\(.*\)\.o:@prog/sensors/main.rd prog/sensors/main.ro: Makefile '`dirname prog/sensors/main.rd`/Module.mk' @' > prog/sensors/main.rd
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   lib/init.c | \
       	sed -e 's ^\(.*\)\.o:@lib/init.ad lib/init.ao: Makefile '`dirname lib/init.ad`/Module.mk' @' > lib/init.ad
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   lib/access.c | \
       	sed -e 's ^\(.*\)\.o:@lib/access.ad lib/access.ao: Makefile '`dirname lib/access.ad`/Module.mk' @' > lib/access.ad
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   lib/proc.c | \
       	sed -e 's ^\(.*\)\.o:@lib/proc.ad lib/proc.ao: Makefile '`dirname lib/proc.ad`/Module.mk' @' > lib/proc.ad
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   lib/chips.c | \
       	sed -e 's ^\(.*\)\.o:@lib/chips.ad lib/chips.ao: Makefile '`dirname lib/chips.ad`/Module.mk' @' > lib/chips.ad
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   lib/error.c | \
       	sed -e 's ^\(.*\)\.o:@lib/error.ad lib/error.ao: Makefile '`dirname lib/error.ad`/Module.mk' @' > lib/error.ad
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   lib/general.c | \
       	sed -e 's ^\(.*\)\.o:@lib/general.ad lib/general.ao: Makefile '`dirname lib/general.ad`/Module.mk' @' > lib/general.ad
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -O2   lib/data.c | \
       	sed -e 's ^\(.*\)\.o:@lib/data.ad lib/data.ao: Makefile '`dirname lib/data.ad`/Module.mk' @' > lib/data.ad
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -fpic -O2   lib/init.c | \
       	sed -e 's ^\(.*\)\.o:@lib/init.ld lib/init.lo: Makefile '`dirname lib/init.ld`/Module.mk' @' > lib/init.ld
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -fpic -O2   lib/access.c | \
       	sed -e 's ^\(.*\)\.o:@lib/access.ld lib/access.lo: Makefile '`dirname lib/access.ld`/Module.mk' @' > lib/access.ld
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -fpic -O2   lib/proc.c | \
       	sed -e 's ^\(.*\)\.o:@lib/proc.ld lib/proc.lo: Makefile '`dirname lib/proc.ld`/Module.mk' @' > lib/proc.ld
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -fpic -O2   lib/chips.c | \
       	sed -e 's ^\(.*\)\.o:@lib/chips.ld lib/chips.lo: Makefile '`dirname lib/chips.ld`/Module.mk' @' > lib/chips.ld
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -fpic -O2   lib/error.c | \
       	sed -e 's ^\(.*\)\.o:@lib/error.ld lib/error.lo: Makefile '`dirname lib/error.ld`/Module.mk' @' > lib/error.ld
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -fpic -O2   lib/general.c | \
       	sed -e 's ^\(.*\)\.o:@lib/general.ld lib/general.lo: Makefile '`dirname lib/general.ld`/Module.mk' @' > lib/general.ld
gcc -M -MG -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include  -fpic -O2   lib/data.c | \
       	sed -e 's ^\(.*\)\.o:@lib/data.ld lib/data.lo: Makefile '`dirname lib/data.ld`/Module.mk' @' > lib/data.ld
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/vt1211.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/vt1211.d kernel/chips/vt1211.o: Makefile '`dirname kernel/chips/vt1211.d`/Module.mk' @' > kernel/chips/vt1211.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/via686a.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/via686a.d kernel/chips/via686a.o: Makefile '`dirname kernel/chips/via686a.d`/Module.mk' @' > kernel/chips/via686a.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/w83781d.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/w83781d.d kernel/chips/w83781d.o: Makefile '`dirname kernel/chips/w83781d.d`/Module.mk' @' > kernel/chips/w83781d.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/thmc50.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/thmc50.d kernel/chips/thmc50.o: Makefile '`dirname kernel/chips/thmc50.d`/Module.mk' @' > kernel/chips/thmc50.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/smsc47m1.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/smsc47m1.d kernel/chips/smsc47m1.o: Makefile '`dirname kernel/chips/smsc47m1.d`/Module.mk' @' > kernel/chips/smsc47m1.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/sis5595.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/sis5595.d kernel/chips/sis5595.o: Makefile '`dirname kernel/chips/sis5595.d`/Module.mk' @' > kernel/chips/sis5595.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/pcf8591.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/pcf8591.d kernel/chips/pcf8591.o: Makefile '`dirname kernel/chips/pcf8591.d`/Module.mk' @' > kernel/chips/pcf8591.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/pcf8574.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/pcf8574.d kernel/chips/pcf8574.o: Makefile '`dirname kernel/chips/pcf8574.d`/Module.mk' @' > kernel/chips/pcf8574.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/mtp008.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/mtp008.d kernel/chips/mtp008.o: Makefile '`dirname kernel/chips/mtp008.d`/Module.mk' @' > kernel/chips/mtp008.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/maxilife.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/maxilife.d kernel/chips/maxilife.o: Makefile '`dirname kernel/chips/maxilife.d`/Module.mk' @' > kernel/chips/maxilife.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/matorb.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/matorb.d kernel/chips/matorb.o: Makefile '`dirname kernel/chips/matorb.d`/Module.mk' @' > kernel/chips/matorb.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/ltc1710.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/ltc1710.d kernel/chips/ltc1710.o: Makefile '`dirname kernel/chips/ltc1710.d`/Module.mk' @' > kernel/chips/ltc1710.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/lm92.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/lm92.d kernel/chips/lm92.o: Makefile '`dirname kernel/chips/lm92.d`/Module.mk' @' > kernel/chips/lm92.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/lm87.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/lm87.d kernel/chips/lm87.o: Makefile '`dirname kernel/chips/lm87.d`/Module.mk' @' > kernel/chips/lm87.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/lm80.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/lm80.d kernel/chips/lm80.o: Makefile '`dirname kernel/chips/lm80.d`/Module.mk' @' > kernel/chips/lm80.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/lm78.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/lm78.d kernel/chips/lm78.o: Makefile '`dirname kernel/chips/lm78.d`/Module.mk' @' > kernel/chips/lm78.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/lm75.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/lm75.d kernel/chips/lm75.o: Makefile '`dirname kernel/chips/lm75.d`/Module.mk' @' > kernel/chips/lm75.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/it87.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/it87.d kernel/chips/it87.o: Makefile '`dirname kernel/chips/it87.d`/Module.mk' @' > kernel/chips/it87.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/gl520sm.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/gl520sm.d kernel/chips/gl520sm.o: Makefile '`dirname kernel/chips/gl520sm.d`/Module.mk' @' > kernel/chips/gl520sm.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/gl518sm.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/gl518sm.d kernel/chips/gl518sm.o: Makefile '`dirname kernel/chips/gl518sm.d`/Module.mk' @' > kernel/chips/gl518sm.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/fscscy.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/fscscy.d kernel/chips/fscscy.o: Makefile '`dirname kernel/chips/fscscy.d`/Module.mk' @' > kernel/chips/fscscy.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/fscpos.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/fscpos.d kernel/chips/fscpos.o: Makefile '`dirname kernel/chips/fscpos.d`/Module.mk' @' > kernel/chips/fscpos.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/eeprom.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/eeprom.d kernel/chips/eeprom.o: Makefile '`dirname kernel/chips/eeprom.d`/Module.mk' @' > kernel/chips/eeprom.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/ds1621.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/ds1621.d kernel/chips/ds1621.o: Makefile '`dirname kernel/chips/ds1621.d`/Module.mk' @' > kernel/chips/ds1621.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/ddcmon.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/ddcmon.d kernel/chips/ddcmon.o: Makefile '`dirname kernel/chips/ddcmon.d`/Module.mk' @' > kernel/chips/ddcmon.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/bt869.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/bt869.d kernel/chips/bt869.o: Makefile '`dirname kernel/chips/bt869.d`/Module.mk' @' > kernel/chips/bt869.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/adm9240.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/adm9240.d kernel/chips/adm9240.o: Makefile '`dirname kernel/chips/adm9240.d`/Module.mk' @' > kernel/chips/adm9240.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/adm1025.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/adm1025.d kernel/chips/adm1025.o: Makefile '`dirname kernel/chips/adm1025.d`/Module.mk' @' > kernel/chips/adm1025.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/adm1024.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/adm1024.d kernel/chips/adm1024.o: Makefile '`dirname kernel/chips/adm1024.d`/Module.mk' @' > kernel/chips/adm1024.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/adm1021.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/adm1021.d kernel/chips/adm1021.o: Makefile '`dirname kernel/chips/adm1021.d`/Module.mk' @' > kernel/chips/adm1021.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/chips/smbus-arp.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/chips/smbus-arp.d kernel/chips/smbus-arp.o: Makefile '`dirname kernel/chips/smbus-arp.d`/Module.mk' @' > kernel/chips/smbus-arp.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-voodoo3.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-voodoo3.d kernel/busses/i2c-voodoo3.o: Makefile '`dirname kernel/busses/i2c-voodoo3.d`/Module.mk' @' > kernel/busses/i2c-voodoo3.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-viapro.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-viapro.d kernel/busses/i2c-viapro.o: Makefile '`dirname kernel/busses/i2c-viapro.d`/Module.mk' @' > kernel/busses/i2c-viapro.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-via.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-via.d kernel/busses/i2c-via.o: Makefile '`dirname kernel/busses/i2c-via.d`/Module.mk' @' > kernel/busses/i2c-via.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-savage4.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-savage4.d kernel/busses/i2c-savage4.o: Makefile '`dirname kernel/busses/i2c-savage4.d`/Module.mk' @' > kernel/busses/i2c-savage4.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-piix4.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-piix4.d kernel/busses/i2c-piix4.o: Makefile '`dirname kernel/busses/i2c-piix4.d`/Module.mk' @' > kernel/busses/i2c-piix4.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-sis5595.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-sis5595.d kernel/busses/i2c-sis5595.o: Makefile '`dirname kernel/busses/i2c-sis5595.d`/Module.mk' @' > kernel/busses/i2c-sis5595.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-isa.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-isa.d kernel/busses/i2c-isa.o: Makefile '`dirname kernel/busses/i2c-isa.d`/Module.mk' @' > kernel/busses/i2c-isa.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-i810.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-i810.d kernel/busses/i2c-i810.o: Makefile '`dirname kernel/busses/i2c-i810.d`/Module.mk' @' > kernel/busses/i2c-i810.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-i801.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-i801.d kernel/busses/i2c-i801.o: Makefile '`dirname kernel/busses/i2c-i801.d`/Module.mk' @' > kernel/busses/i2c-i801.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-hydra.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-hydra.d kernel/busses/i2c-hydra.o: Makefile '`dirname kernel/busses/i2c-hydra.d`/Module.mk' @' > kernel/busses/i2c-hydra.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-amd756.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-amd756.d kernel/busses/i2c-amd756.o: Makefile '`dirname kernel/busses/i2c-amd756.d`/Module.mk' @' > kernel/busses/i2c-amd756.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-ali15x3.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-ali15x3.d kernel/busses/i2c-ali15x3.o: Makefile '`dirname kernel/busses/i2c-ali15x3.d`/Module.mk' @' > kernel/busses/i2c-ali15x3.d
gcc -M -MG  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   kernel/busses/i2c-ali1535.c | \
       	sed -e 's ^\(.*\)\.o:@kernel/busses/i2c-ali1535.d kernel/busses/i2c-ali1535.o: Makefile '`dirname kernel/busses/i2c-ali1535.d`/Module.mk' @' > kernel/busses/i2c-ali1535.d
gcc  -DMODVERSIONS -include /usr/src/linux-2.4.18/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux-2.4.18/include -I/usr/src/linux-2.4.18/include   -O2   -c kernel/busses/i2c-ali1535.c -o kernel/busses/i2c-ali1535.o
In file included from /usr/src/linux-2.4.18/include/asm/semaphore.h:39,
                 from /usr/src/linux-2.4.18/include/linux/fs.h:200,
                 from /usr/src/linux-2.4.18/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.18/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4.18/include/linux/sched.h:9,
                 from /usr/src/linux-2.4.18/include/linux/mm.h:4,
                 from /usr/src/linux-2.4.18/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.18/include/asm/pci.h:32,
                 from /usr/src/linux-2.4.18/include/linux/pci.h:610,
                 from kernel/busses/i2c-ali1535.c:58:
/usr/src/linux-2.4.18/include/asm/system.h:13: parse error before `('
In file included from /usr/src/linux-2.4.18/include/linux/rwsem.h:27,
                 from /usr/src/linux-2.4.18/include/asm/semaphore.h:42,
                 from /usr/src/linux-2.4.18/include/linux/fs.h:200,
                 from /usr/src/linux-2.4.18/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.18/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4.18/include/linux/sched.h:9,
                 from /usr/src/linux-2.4.18/include/linux/mm.h:4,
                 from /usr/src/linux-2.4.18/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.18/include/asm/pci.h:32,
                 from /usr/src/linux-2.4.18/include/linux/pci.h:610,
                 from kernel/busses/i2c-ali1535.c:58:
/usr/src/linux-2.4.18/include/asm/rwsem.h:47: parse error before `('
/usr/src/linux-2.4.18/include/asm/rwsem.h:48: parse error before `('
/usr/src/linux-2.4.18/include/asm/rwsem.h:49: parse error before `('
In file included from /usr/src/linux-2.4.18/include/linux/jffs2_fs_sb.h:8,
                 from /usr/src/linux-2.4.18/include/linux/fs.h:693,
                 from /usr/src/linux-2.4.18/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.18/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4.18/include/linux/sched.h:9,
                 from /usr/src/linux-2.4.18/include/linux/mm.h:4,
                 from /usr/src/linux-2.4.18/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.18/include/asm/pci.h:32,
                 from /usr/src/linux-2.4.18/include/linux/pci.h:610,
                 from kernel/busses/i2c-ali1535.c:58:
/usr/src/linux-2.4.18/include/linux/completion.h:30: parse error before `('
/usr/src/linux-2.4.18/include/linux/completion.h:31: parse error before `('
In file included from /usr/src/linux-2.4.18/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.18/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4.18/include/linux/sched.h:9,
                 from /usr/src/linux-2.4.18/include/linux/mm.h:4,
                 from /usr/src/linux-2.4.18/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.18/include/asm/pci.h:32,
                 from /usr/src/linux-2.4.18/include/linux/pci.h:610,
                 from kernel/busses/i2c-ali1535.c:58:
/usr/src/linux-2.4.18/include/linux/fs.h:1153: parse error before `('
/usr/src/linux-2.4.18/include/linux/fs.h:1154: parse error before `('
/usr/src/linux-2.4.18/include/linux/fs.h:1155: parse error before `('
/usr/src/linux-2.4.18/include/linux/fs.h:1156: parse error before `('
/usr/src/linux-2.4.18/include/linux/fs.h:1307: parse error before `('
/usr/src/linux-2.4.18/include/linux/fs.h:1308: parse error before `('
/usr/src/linux-2.4.18/include/linux/fs.h:1309: parse error before `('
/usr/src/linux-2.4.18/include/linux/fs.h:1310: parse error before `('
In file included from /usr/src/linux-2.4.18/include/linux/mm.h:4,
                 from /usr/src/linux-2.4.18/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.18/include/asm/pci.h:32,
                 from /usr/src/linux-2.4.18/include/linux/pci.h:610,
                 from kernel/busses/i2c-ali1535.c:58:
/usr/src/linux-2.4.18/include/linux/sched.h:155: parse error before `('
In file included from /usr/src/linux-2.4.18/include/linux/mm.h:4,
                 from /usr/src/linux-2.4.18/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.18/include/asm/pci.h:32,
                 from /usr/src/linux-2.4.18/include/linux/pci.h:610,
                 from kernel/busses/i2c-ali1535.c:58:
/usr/src/linux-2.4.18/include/linux/sched.h:585: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:586: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:587: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:588: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:590: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:591: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:593: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:755: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:792: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:793: parse error before `('
/usr/src/linux-2.4.18/include/linux/sched.h:794: parse error before `('
In file included from /usr/src/linux-2.4.18/include/linux/mm.h:13,
                 from /usr/src/linux-2.4.18/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.18/include/asm/pci.h:32,
                 from /usr/src/linux-2.4.18/include/linux/pci.h:610,
                 from kernel/busses/i2c-ali1535.c:58:
/usr/src/linux-2.4.18/include/linux/swap.h:104: parse error before `('
/usr/src/linux-2.4.18/include/linux/swap.h:105: parse error before `('
/usr/src/linux-2.4.18/include/linux/swap.h:106: parse error before `('
/usr/src/linux-2.4.18/include/linux/swap.h:108: parse error before `('
/usr/src/linux-2.4.18/include/linux/swap.h:114: parse error before `('
/usr/src/linux-2.4.18/include/linux/swap.h:161: parse error before `('
In file included from /usr/src/linux-2.4.18/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.18/include/asm/pci.h:32,
                 from /usr/src/linux-2.4.18/include/linux/pci.h:610,
                 from kernel/busses/i2c-ali1535.c:58:
/usr/src/linux-2.4.18/include/linux/mm.h:305: parse error before `('
/usr/src/linux-2.4.18/include/linux/mm.h:357: parse error before `('
/usr/src/linux-2.4.18/include/linux/mm.h:358: parse error before `('
/usr/src/linux-2.4.18/include/linux/mm.h: In function `alloc_pages':
/usr/src/linux-2.4.18/include/linux/mm.h:368: warning: return makes pointer from integer without a cast
/usr/src/linux-2.4.18/include/linux/mm.h: At top level:
/usr/src/linux-2.4.18/include/linux/mm.h:373: parse error before `('
/usr/src/linux-2.4.18/include/linux/mm.h:374: parse error before `('
/usr/src/linux-2.4.18/include/linux/mm.h:390: parse error before `('
/usr/src/linux-2.4.18/include/linux/mm.h:391: parse error before `('
/usr/src/linux-2.4.18/include/linux/mm.h:413: parse error before `('
/usr/src/linux-2.4.18/include/linux/mm.h:414: parse error before `('
/usr/src/linux-2.4.18/include/linux/mm.h: In function `pmd_alloc':
/usr/src/linux-2.4.18/include/linux/mm.h:436: warning: return makes pointer from integer without a cast
In file included from /usr/src/linux-2.4.18/include/asm/pci.h:32,
                 from /usr/src/linux-2.4.18/include/linux/pci.h:610,
                 from kernel/busses/i2c-ali1535.c:58:
/usr/src/linux-2.4.18/include/linux/slab.h: At top level:
/usr/src/linux-2.4.18/include/linux/slab.h:64: parse error before `('
make: *** [kernel/busses/i2c-ali1535.o] Error 1
-------------------------------------------------------------------

Here's the response I got from the lm_sensors folks:

"You must have some incompatibility between your kernel headers and
your gcc or libc headers.

"Sorry, it will be quite difficult for us to diagnose it for you.

"If you figure it out email us, ref. your ticket number."


I don't understand how that could be my problem because I just
successfully compiled the kernel with the same compiler (gcc-2.96-85)
I'm using to compile lm_sensors.

Here's line 13 from /usr/src/linux-2.4.18/include/asm/system.h:

extern void FASTCALL(__switch_to(struct task_struct *prev, struct task_struct *next));

I can post the rest if it would help.

Any help would be greatly appreciated--I was really looking forward
to using this software.

Thanks,
Ben

-- 
Ben Logan: ben at wblogan dot net
OpenPGP Key KeyID: A1ADD1F0

Endless the world's turn, endless the sun's spinning
Endless the quest;
I turn again, back to my own beginning,
And here, find rest.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]