LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem install modem (https://www.linuxquestions.org/questions/linux-software-2/problem-install-modem-188478/)

vanhelsing 06-01-2004 12:31 PM

problem install modem
 
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:newbie:

RockmanExe 06-01-2004 02:48 PM

errr Seems like you don't have kernel-source package installed, isn't it?

Regards

vanhelsing 06-01-2004 02:57 PM

how to install kernel-source package?, pls describe step by step
Thanks

RockmanExe 06-01-2004 03:21 PM

I'm not red hat user but there's a package manager on your distro where you can search for a specific package, in this case, 'kernel-source'. Please look for your package manager in order to install it. Or search on your installation cds for an rpm package named 'kernel-source-2.4.20-8.i386.rpm' (kinda) and install it by double clicking it, easy enough :)

good luck

vanhelsing 06-03-2004 04:36 AM

hehe, I can do it , Thank u very much


All times are GMT -5. The time now is 09:37 AM.