I'm currently trying to get an Intel fax modem running under Linux that appears as the following in lspci:
Code:
0000:00:14.0 Communication controller: Intel Corp. 536EP Data Fax Modem
I've downloaded the drivers from the Intel web site and installed the kernel source/headers for Debian (apt-get install kernel-source-2.6 kernel-headers-2.6.8) but when I run 'make 536' in the directory where I extracted the driver source I get the following error:
Code:
Try `uname --help' for more information.
Module precompile check
Current running kernel is: 2.6.8-1-386
/lib/modules... autoconf.h does not exist
please install kernel source
make: *** [check] Error 1
Looking at the makefile, the autoconf.h that it appears to be trying to get is at:
Code:
/lib/modules/`uname -r`/build/include/linux/autoconf.h
However, this file doesn't exist on my system. The only autoconf.h files that I can find are:
Code:
/usr/include/linux/autoconf.h
/usr/src/kernel-headers-2.6.8-2/include/linux/autoconf.h
Is this just a case of the paths being different in Debian? I honestly don't know whereabouts in the makefile the process is failing.
Thanks in advance.
Edit: Turns out that in order to fix this I had to reinstall kernel-headers-2.6-386, then change all references to `uname -r` to 2.6.8-2-386. For some reason the kernel I'm running is 2.6.8-1-386 (the output of uname -r) but the kernel headers are 2.6.8-2-386. Bit weird and annoying, but it works.
If anyone else runs into the same problem, you need to edit the following files inside the directory that you extracted the archive into:
Code:
config_check (1 occurance near the top, where KERNVER is defined)
makefile (8 occurences)
coredrv/Makefile (1 occurence, where KDIR is defined)