Issues installing PCI modem driver
Hello all,
I'm a linux newbie and I'm trying to install the driver for my NetoDragon V.92 / V.90 PCI softmodem. I'm using Ubuntu 7.10.
I have unzipped the file "slmodem-
---------- Start README ----------
Installation
============
1. Unpack tar.gz package file:
$ gzip -dc slmodem-
2. 'cd' to package directory:
$ cd slmodem-2.9.X
3. Review and edit 'Makefile' (if need):
In many cases you will need to correct path to your local kernel
source tree:
Default KERNEL_DIR is '/lib/modules/
Distributions use directory '/usr/src/
Note: If you are using Linux kernel 2.4, only header files should be
available for build in $(KERNEL_
Another way to pass right value KERNEL_DIR is to use command line
parameter while running 'make':
$ make KERNEL_
4. Run 'make' command to compile package:
$ make
. . . . . OMISSIS
---------- End README ----------
My problem is about the "$ make" command. This is the console output when I run the command:
make -C modem all
make[1]: Entering directory `/home/
gcc -Wall -g -O -I. -DCONFIG_
modem_main.c:45:20: error: unistd.h: No such file or directory
modem_main.c:46:20: error: stdlib.h: No such file or directory
modem_main.c:47:19: error: stdio.h: No such file or directory
. . . . . .
(if you need the entire output I will post it, for now I've cut it down).
Do I lack the kernel headers?
I don't have any access to the internet because I only have this modem. So I typed "sudo apt-get install linux-headers-
Reading the list of packages... Done
Generating dependences tree
Reading state information... Done
linux-headers-
0 updated, 0 installed, 0 to remove and 0 not updated.
Just to make a test, I searched my system for the "stdio.h" file. Nothing found.
Finally, with synaptic package manager, I saw that linux-headers packages are installed (you can see a screenshot here:
http://
Then I tried to run "$ make KERNEL_
I'm very very confused... I don't know if I have the headers file or not, and (most important) I don't understand why "make" doesn't work.
Thanks for the attention and please excuse my bad English!
Emanuele
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Emanuele for more information if necessary.