LFS system and GCC 4.0.3 problems.

[email protected] Wed, 13 Dec 2006 21:10:26 -0700
Newsgroups gmane.linux.drivers.modem.hcf
Message-ID <[email protected]>
I built a LFS 6.2 system. It has gcc 4.0.3 and Krenel Ver 2.6.16.27. I ru=
n=20
make install, and it installs fine. When I run hcfpciconfig, it tells me =
that=20
the build fails, and to look at the buildlog.

Buildog:
../modules/kernelcompiler.sh: gcc version 4.0.3 or similar is required to=
=20
compile modules for your kernel
(cd /lib/modules/2.6.16.27/build &&=20
make "CNXT_KERNELSRC=3D/lib/modules/2.6.16.27/build" "M=3D/usr/lib/hcfpci=
modem/modu
les" "CC=3Dfalse" clean)
make[1]: Entering directory `/sources/linux-2.6.16.27'
/usr/lib/hcfpcimodem/modules/kernelcompiler.sh: gcc version 4.0.3 or simi=
lar=20
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=20
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/hcfpcise=
rial.m
od  /lib/modules/2.6.16.27/build/.tmp_versions/hcfpciengine.mod  /lib/mod=
ules/2
.6.16.27/build/.tmp_versions/hcfpcihw.mod
(cd /lib/modules/2.6.16.27/build &&=20
make "CNXT_KERNELSRC=3D/lib/modules/2.6.16.27/build" "M=3D/usr/lib/hcfpci=
modem/modu
les" "CC=3Dfalse" modules)
make[1]: Entering directory `/sources/linux-2.6.16.27'
/usr/lib/hcfpcimodem/modules/kernelcompiler.sh: gcc version 4.0.3 or simi=
lar=20
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 t=
he=20
LFS Live CD. This is a bit agrovating....


Thanks for your time

Dave B
BC, Canada