LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-30-2003, 10:19 AM   #1
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Rep: Reputation: 15
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
 
Old 01-30-2003, 11:54 AM   #2
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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
 
Old 01-30-2003, 02:01 PM   #3
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Original Poster
Rep: Reputation: 15
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.
 
Old 01-30-2003, 04:50 PM   #4
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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.
 
Old 01-30-2003, 11:48 PM   #5
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Original Poster
Rep: Reputation: 15
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
 
Old 01-31-2003, 09:19 AM   #6
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Original Poster
Rep: Reputation: 15
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
 
Old 01-31-2003, 09:36 AM   #7
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
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
 
Old 01-31-2003, 11:57 AM   #8
bugsbunny
Member
 
Registered: Jan 2003
Location: London/UK
Distribution: Slackware 9.1
Posts: 111

Original Poster
Rep: Reputation: 15
Red face

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
 
Old 01-31-2003, 12:16 PM   #9
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
If you did make install as root, then try

depmod -a

then do modprobe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ftape missing modversions.h compile error. RRolleston Debian 4 11-15-2005 12:29 AM
modem driver installation gives the error modversions.h not found gajaykrishnan Suse/Novell 3 06-05-2005 06:43 AM
modem: missing modversions.h pimpinella Linux - Hardware 1 03-05-2005 03:05 AM
Trying to install linmodemn driver but missing file modversions.h jimdaworm Slackware 9 02-24-2004 11:25 AM
Configuring modem - modversions.h is missing drcyber Linux - Newbie 15 11-02-2003 09:50 AM


All times are GMT -5. The time now is 08:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration