error: modversions.h missing
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.
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
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.
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.
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
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.
also you can use modprobe, it does basically the same thing but is more thorough:
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.
If you did make install as root, then try
then do modprobe
|All times are GMT -5. The time now is 05:44 PM.|