[hcflinux] LFS system and GCC 4.0.3 problems.

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


I built a LFS 6.2 system. It has gcc 4.0.3 and Krenel Ver 2.6.16.27. I run 
make install, and it installs fine. When I run hcfpciconfig, it tells me that 
the build fails, and to look at the buildlog.

Buildog:
../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 would appreate any help that U can give. I had the modem working with the 
LFS Live CD. This is a bit agrovating....


Thanks for your time

Dave B
BC, Canada





More information about the hcflinux mailing list