Apologies for the long post. I'm attempting to install HCF modem drivers from a tarball --I know, I'll get a real modem, that's not my point just now-- and it's expecting to find the kernel source tree at /usr/src/linux. That's fine, i've got a symlink there to /usr/src/kernel-source-2.2.20 and make install runs just fine, but when i run the hcfpciconfig utility it bails looking for autoconf.h (presumably the first of many missing headers) in /usr/src/linux/include/linux. So I did
cd /usr/src/linux mv include include.old ln -s /usr/src/kernel-header-2.2.20/include include and ran hcfpciconfig again. This time there were no warnings about missing headers, but the config failed due to a mismatch in gcc versions. I haven''t looked into this problem yet, but the logfile is included below. I'm worried about this approach because there are headers in kernel-source that aren't in kernel-package, and compiling the drivers with headers that aren't in the kernel source seems a bit bizzare to say the least. So, questions: what's the story with kernel sources in debian? Where should i be putting everything so that makefiles can find them where they expect? I'm going to have to install a 2.4 kernel at some point soon, so should i just do away with kernel-source and kernel-headers and expect apt-get install kernel-package to put everything in the right place? Here's the hcfpciconfig log file, anyone managed to get these working? Thanks in advance, Jerry K _____ #hcfpciconfig-buildlog.txt ../modules/kernelcompiler.sh: unable to find compiler matching /proc/version: ../modules/kernelcompiler.sh: gcc version 2.7.2.3 ../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 2.7.2.3 ../../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 2.7.2.3 ../../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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]