Skip to contentSkip to conversation

2.10.4 fails on 2.4 platform (RHEL3)

lm-sensors Axel Thimm 1 participant 2 messages Jul 22, 2007

lore
Share & tools
lore

Axel Thimm

author
#0 lore raw

Hi,

building the kernel modules parts for RHEL3 (kernel 2.4.21 based) the build fails with the log below.

The 2.10.3 sources built OK and comparing the build logs doesn't reveal anything striking. But 2.10.3 was carrying kernel/Module.mk while 2.10.4 doesn't anymore. Perhaps removed in the wrong branch (2.10.4 was still intended for 2.4 kmdl builds, or not?)

gcc -M -MG -DMODVERSIONS -include /kernelsrc/el3-x86_64/2.4.21-50.EL-x86_64/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomi t-frame-pointer -I. -Ikernel/include -I/usr/include/i2c -I/kernelsrc/el3-x86_64/2.4.21-50.EL-x86_64/include -nostdinc -I /usr/lib/gcc-lib/x86_64-re dhat-linux/3.2.3/include -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce -Wall -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 /kernelsrc/el3-x86_64/2.4.21-50.EL-x86_64/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomi
t-frame-pointer -I. -Ikernel/include -I/usr/include/i2c  -I/kernelsrc/el3-x86_64/2.4.21-50.EL-x86_64/include -nostdinc -I /usr/lib/gcc-lib/x86_64-re
dhat-linux/3.2.3/include -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce -Wall -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 -M -MG  -DMODVERSIONS -include /kernelsrc/el3-x86_64/2.4.21-50.EL-x86_64/include/linux/modversions.h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomi
t-frame-pointer -I. -Ikernel/include -I/usr/include/i2c  -I/kernelsrc/el3-x86_64/2.4.21-50.EL-x86_64/include -nostdinc -I /usr/lib/gcc-lib/x86_64-re
dhat-linux/3.2.3/include -fno-strict-aliasing -fno-common -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce -Wall -O2 
 kernel/busses/i2c-ipmi.c | \
        sed -e 's@^\(.*\)\.o:@kernel/busses/i2c-ipmi.d kernel/busses/i2c-ipmi.o: Makefile '`dirname kernel/busses/i2c-ipmi.d`/Module.mk' @' > kernel/busses/i2c-ipmi.d

make: *** No rule to make target `kernel/Module.mk'. Stop.

Signature · 1 line
Axel.Thimm at ATrpms.net

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

author
#1 lore raw

Hi,

Quoted 2 lines · Axel Thimm

building the kernel modules parts for RHEL3 (kernel 2.4.21 based) the build fails with the log below.

sorry, false alarm! For being able to build userland vs kernelland I had to hardwire a SRCDIR="... kernel ..." some time back to support just kmdl builds (and no userland at all), so I was carrying the obsoleted kernel subdir build.

Signature · 1 line
Axel.Thimm at ATrpms.net

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors