[hcflinux] Gcc 4.0.3 problems

amdsux at telus.net amdsux at telus.net
Wed Dec 13 21:15:34 EST 2006


I have installed the package and it worked good. I ran hcfpciconfig, and the 
module build fails. The following is the build log.

../modules/kernelcompiler.sh: gcc version 4.0.3 or similar is required to 
compile modules for your kernel
(cd /lib/modules/2.6.16.27/build && 
make "CNXT_KERNELSRC=/lib/modules/2.6.16.27/build" "M=/usr/lib/hcfpcimodem/modu
les" "CC=false" clean)
make[1]: Entering directory `/sources/linux-2.6.16.27'
/usr/lib/hcfpcimodem/modules/kernelcompiler.sh: gcc version 4.0.3 or similar 
is required to compile modules for your kernel
make[1]: Leaving directory `/sources/linux-2.6.16.27'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd 
GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.16.27/build/.tmp_versi
ons/hcfpciosspec.mod  /lib/modules/2.6.16.27/build/.tmp_versions/hcfpciserial.m
od  /lib/modules/2.6.16.27/build/.tmp_versions/hcfpciengine.mod  /lib/modules/2
.6.16.27/build/.tmp_versions/hcfpcihw.mod
(cd /lib/modules/2.6.16.27/build && 
make "CNXT_KERNELSRC=/lib/modules/2.6.16.27/build" "M=/usr/lib/hcfpcimodem/modu
les" "CC=false" modules)
make[1]: Entering directory `/sources/linux-2.6.16.27'
/usr/lib/hcfpcimodem/modules/kernelcompiler.sh: gcc version 4.0.3 or similar 
is required to compile modules for your kernel
  CC [M]  /usr/lib/hcfpcimodem/modules/mod_engine.o
make[2]: *** [/usr/lib/hcfpcimodem/modules/mod_engine.o] Error 1
make[1]: *** [_module_/usr/lib/hcfpcimodem/modules] Error 2
make[1]: Leaving directory `/sources/linux-2.6.16.27'
make: *** [all] Error 2


I do not know what is going on. I have installed gcc 4.0.3, and I go gcc --
version, and it says 4.0.3. 

The system is a LFS 6.2 box.

Any suggestions??

Thanks for your time.

DAve B



More information about the hcflinux mailing list