LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   The Old HSP56 Modversions.h problem (https://www.linuxquestions.org/questions/linux-newbie-8/the-old-hsp56-modversions-h-problem-135677/)

GMA 01-17-2004 05:56 AM

The Old HSP56 Modversions.h problem
 
I'm having problems with the pctel-0.9.6 HSP56 drivers and I know it has already been discussed a million times before, and I've tried looking all over forums and message boards for an answer, but I can't understand any of the answers as they all use linux jargon and I only installed / started to use Mandrake yesterday.

The problem is that it can't find the modversions.h file. the bash comand I entered was:
bash$ ./configure --with-hal=cm8738 --with-kernel-includes=/usr/include/

It runs though with lots of yesses and oks and then stops with the usual /usr/include/linux/modversion.h does not exist yadda yadda yadda... It does exist and it is at that location.

I have tried all day to try and fix the problem and all the other replies for the same problem started talking about kernel headers, bash$ make config and bash$ make dep. I don't know what any of that is, what it does or how to use it.

Can someone please explain to me in simple newbie terms and steps what to do and the resons for doing it to get my modem working???

Thanks
Murphy ( ^.^)/~~~

LinuxLala 01-17-2004 06:40 AM

Welecome to LQ.

Getting down to businbess.

Are you *sure* you have the kernel source installed?

you really need to install your kernel sources. The file
/usr/include/linux/modversions.h is the wrong file (even though the name is
the same). Usually, kernel sources are installed in /usr/src/linux*.
After installing your kernel sources, you sometimes need to configure
them, before a modversions.h file is generated (depends on your
distribution).

The file you want is not the one in /usr/include/linux, it is in
/usr/src/linux-2.4.x.x/include/linux which is symlinked from
/lib/modules/2.4.2-2/build/include/linux.

Also check out this http://www.infologics.50megs.com/PCtel%20modem.txt

Cheers


All times are GMT -5. The time now is 12:48 PM.