LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error: modversions.h missing (http://www.linuxquestions.org/questions/linux-newbie-8/error-modversions-h-missing-43367/)

bugsbunny 01-30-2003 11:19 AM

error: modversions.h missing
 
hi,
I'm trying to compile the pctel-0.9.6 driver for my rehat 8 installation. Following the installation instructions, i typed the
./configure --with-hal=cm8738 --with-kernel-includes=/usr/src/linux-2.4.18-14
it then displayed this error message

configure: error: modversions.h is missing - you should configure your kernel first

Problem is i don't have a clue what to what to do. I'll appreciate some help please.

Thanks

mhearn 01-30-2003 12:54 PM

Go to the packages screen and install the kernel sources package. Then run up2date to make sure it's, well, up to date :)

then try again

bugsbunny 01-30-2003 03:01 PM

Hello,
I was wondering if I installed the correct packahe for the kernel-source. I bought the redhat 8 box set. From the 2nd installation cd I used the command :
rpm --install kernel-source-2.4.18-14.i386.rpm

Is the package installed by the above command the right one ?

when I tried the us up2date, it tried to connect to the internet which is not working yet.

Thanks.

mhearn 01-30-2003 05:50 PM

You should normally install them using the gui. That looks ok yes, check to see if the header file is actually there.

You can use

find | grep -i foo

to find files named foo (not case sensitive) from the current directory down.

bugsbunny 01-31-2003 12:48 AM

Thanx for your help so far.

I was able to find the missing file and proceeded. But I.m now stuck along the line.

I think the "make" command went well b'cos i checked the dir /home/napoleon/pctel-0.9.6/modules and i found the files pctel.o and ptserial.o with the right creation date.
When I type make install from the same path, i see series of entering ... then the message
Nothing to be done for "install-exec-am" . Is this a problem ?

anyway after that I su to root and from the dir
[root@localhost pctel-0.9.6]# i type insmod pctel the insmod ptserial. Both command result in the message

bash: insmod: command not found.

Help me please

thanx

bugsbunny 01-31-2003 10:19 AM

hello,

I have this problem with my attempt to compile the pctel-0.9.6 driver for redhat 8. I get the following error when I type the command :
[root@localhost pctel-0.9.6]# i type insmod pctel

error bash: insmod: command not found.

Thanx

Darin 01-31-2003 10:36 AM

Quote:

Originally posted by bugsbunny
hello,

I have this problem with my attempt to compile the pctel-0.9.6 driver for redhat 8. I get the following error when I type the command :
[root@localhost pctel-0.9.6]# i type insmod pctel

error bash: insmod: command not found.

Thanx

are you the root user when you try that?

also you can use modprobe, it does basically the same thing but is more thorough:

modprobe pctel

bugsbunny 01-31-2003 12:57 PM

Yes i used su to change to root before typing the insmode pctel command. The two pctel.o and ptserial.o are in /lib/modules/"your-kernel-number"/misc/. I tried the modeprobe command with the same error mesage : command not found.

Help pleaseee.

Thanx

mhearn 01-31-2003 01:16 PM

If you did make install as root, then try

depmod -a

then do modprobe


All times are GMT -5. The time now is 11:38 AM.