I 'm using linux redhat 9,kernel 2.4.20-8 ,I 'm trying to install modem driver.
This is all my work and my problem.
[root@localhost hsflinmodem-4.06.06.02]# make install
make[1]: Entering directory `/home/test/hsflinmodem-4.06.06.02/inf'
mkdir -m 755 -p /etc/hsf/inf
install -m 644 linux_athens.inf linux_hsfi.inf linux_hsf.inf linux_intel_smartmc
.inf linux_smarthsf.inf /etc/hsf/inf
make[1]: Leaving directory `/home/test/hsflinmodem-4.06.06.02/inf'
make[1]: Entering directory `/home/test/hsflinmodem-4.06.06.02/inf2bin'
install -m 755 hsfinf2bin /usr/sbin/hsfinf2bin
make[1]: Leaving directory `/home/test/hsflinmodem-4.06.06.02/inf2bin'
make[1]: Entering directory `/home/test/hsflinmodem-4.06.06.02/firm2bin'
install -m 755 hsffirm2bin /usr/sbin/hsffirm2bin
install -m 644 cnxykf.hex /etc/hsf
make[1]: Leaving directory `/home/test/hsflinmodem-4.06.06.02/firm2bin'
make[1]: Entering directory `/home/test/hsflinmodem-4.06.06.02/scripts'
install -m 755 hsfconfig hsfstop /usr/sbin
install -m 755 hsfsysid /usr/bin
make[1]: Leaving directory `/home/test/hsflinmodem-4.06.06.02/scripts'
<command line>:134667631:256: /usr/src/linux/include/linux/config.h: No such fil e or directory
<command line>:134667631:256: /usr/src/linux/include/linux/version.h: No such fi le or directory
<command line>:134667631:256: /usr/src/linux/include/linux/version.h: No such fi le or directory
make[1]: Entering directory `/home/test/hsflinmodem-4.06.06.02/modules'
rm -rf "/usr/lib/hsf/config.mak" "/usr/lib/hsf/imported" "/usr/lib/hsf/modules"
mkdir -m 755 -p /usr/lib/hsf/modules
(cd .. && find config.mak imported -depth -print | cpio -pdm /usr/lib/hsf)
3664 blocks
find . \( -name '*.[ch]' -o -name '*.mak' -o -name '[Mm]akefile' \) -print | cpi o -pdm /usr/lib/hsf/modules
558 blocks
find binaries -depth -print | cpio -pdm /usr/lib/hsf/modules
0 blocks
make[1]: Leaving directory `/home/test/hsflinmodem-4.06.06.02/modules'
install -m 444 LICENSE /usr/lib/hsf
[root@localhost hsflinmodem-4.06.06.02]# hsfconfig
Linux HSF softmodem drivers, version 4.06.06.02
No pre-built HSF modules are available for your exact kernel:
Linux-2.4.20-8-i686-RedHat-9-MODVERS
Assuming that a C compiler and proper kernel header files are present
on your system, we will now attempt to re-compile the modules.
Where is the directory of C header files that match your running kernel?
[/usr/src/linux]
WARNING: missing file /usr/src/linux/include/linux/autoconf.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).
First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.
The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).
Verify that the proper options for your system are selected,
and that CONFIG_SMP ("Symmetric multi-processing support" under
"Processor type and features") is disabled, as this driver is
presently designed to work on single-processor machines.
Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hsfconfig".
[root@localhost hsflinmodem-4.06.06.02]#
thanks