[hcflinux] can't get hcf to compile modules

tony wray tony at tugela.fsnet.co.uk
Sat Feb 1 13:23:12 EST 2003


can anybody tell me what the problem is?


i set CC=gcc in common.mak
compiler is gcc 3.2
kernel is 2.4.19
system is built from Linux From Scratch book.
hcfpciconfig seems to configure the modem info (it's a 1471/1034)
but then this is what I get in /tmp/hcfpci..buildlog
....

../modules/kernelcompiler.sh: unable to find compiler matching
/proc/version:
../modules/kernelcompiler.sh: gcc version 3.2
../modules/kernelcompiler.sh: set CC variable manually in modules/common.mak
rm -f *.o *.a
../../modules/kernelcompiler.sh: unable to find compiler matching
/proc/version:
../../modules/kernelcompiler.sh: gcc version 3.2
../../modules/kernelcompiler.sh: set CC variable manually in
modules/common.mak
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
* compiling () mod_osspec.c
make: I../imported/include: Command not found
make: [mod_osspec.o] Error 127 (ignored)
make -C osspec all
../../modules/kernelcompiler.sh: unable to find compiler matching
/proc/version:
../../modules/kernelcompiler.sh: gcc version 3.2
../../modules/kernelcompiler.sh: set CC variable manually in
modules/common.mak
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
* compiling () osstdio.c
/bin/sh: I../../imported/include: No such file or directory
make[1]: [osstdio.o] Error 127 (ignored)
* compiling () osnvm.c
/bin/sh: I../../imported/include: No such file or directory
make[1]: [osnvm.o] Error 127 (ignored)
* compiling () osresour.c
/bin/sh: I../../imported/include: No such file or directory
make[1]: [osresour.o] Error 127 (ignored)
* compiling () osservices.c
/bin/sh: I../../imported/include: No such file or directory
make[1]: [osservices.o] Error 127 (ignored)
* compiling () osstring.c
/bin/sh: I../../imported/include: No such file or directory
make[1]: [osstring.o] Error 127 (ignored)
ar cr libosspec.a osstdio.o osnvm.o osresour.o osservices.o osstring.o
ar: osstdio.o: No such file or directory
make[1]: *** [libosspec.a] Error 1
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
make: *** [osspec] Error 2





More information about the hcflinux mailing list