Re: Gcc 4.0.3 problems
"Linuxant support (Jonathan)" <[email protected]> Thu, 14 Dec 2006 11:24:57 -0500
| Newsgroups | gmane.linux.drivers.modem.hcf |
|---|---|
| Message-ID | <[email protected]> |
Hi, the source of the problem is likely this error message: --- /usr/lib/hcfpcimodem/modules/kernelcompiler.sh: gcc version 4.0.3 or similar is required to compile modules for your kernel --- Since kernelcompiler.sh doesn't find the installed gcc for an unknown reason, please try to manually set the CC variable in the '/usr/lib/hcfpcimodem/modules/Makefile' file and attempt to compile the kernel modules again with the 'hcfpciconfig' command in a root shell. Regards, Jonathan Technical specialist / Linuxant www.linuxant.com [email protected] [email protected] wrote: > 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 > > _______________________________________________ > hcflinux mailing list > [email protected] > https://www.linuxant.com/mailman/listinfo/hcflinux