LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   modem: missing modversions.h (http://www.linuxquestions.org/questions/linux-hardware-18/modem-missing-modversions-h-297536/)

pimpinella 03-04-2005 06:04 AM

modem: missing modversions.h
 
Hi everyone!
I've recentcly installed UBUNTU on my laptop (compaq presario x1000) and I'd like to use also the modem (Agere AC'97)
I tryed to do the same things I did when I had REDHAT9 where it worked:I use slmdm-2.7.10, but I have some problem compiling.
I downloaded linux-headers but there is not modversions.h
Why? What can I do?
When I do "make" I got the follow error:

gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux-headers-2.6.8.1-3-386/include -DMODVERSIONS --include /usr/src/linux-headers-2.6.8.1-3-386/include/linux/modversions.h -o amrmo_init.o -c amrmo_init.c
<command line>:138473835:61872: /usr/src/linux-headers-2.6.8.1-3-386/include/linux/modversions.h: No such file or directory


Another thing that could be correlated:
I'm also tryng to install the driver for my ADSL USB Modem and when I do "make" there is another missing file: irq_vectors.h...
What do I need to get these files?


Thanks
Vale

Shade 03-05-2005 03:05 AM

I believe you're going to need more than just than kernel headers...

Install the full kernel source, and locate the config file for your running kernel. This is usually in /boot. Copy the config file to /usr/src/<linuxversion> and run 'make oldconfig' from within that directory -- then you should be good to go.

--Shade


All times are GMT -5. The time now is 06:04 AM.