LinuxQuestions.org
Help answer threads with 0 replies.
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 05-27-2003, 06:35 PM   #121
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30

ok guys take all the time you need. I know whansard said that i don't need to configure my kernel. MasterC said post all of my error messages. MasterC was also right don't rush people. It was mostly whansard i was rushing until he had to go. Then i try to get someone else. Whansard, I'm sorry if i rush you to get my modem working. Well this is the error message i'm getting.

This is what i typed.
./configure --with-hal=pct789. This is the message i'm getting. configure: error: modversions.h is missing-you should configure your kernel first!. There is the message. Thank You guys.
 
Old 05-27-2003, 06:38 PM   #122
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
now list specifically which command you
are trying to run, and what the error message is.

is it the error about the modules being compiled with
the gcc 3.X or about your kernel not being configured.
 
Old 05-27-2003, 06:44 PM   #123
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
It's about ./configure --with-hal=pct789

It's that message where it tells me to configure my kernel. configure: error: modversions.h is missing-you should configure you kernel first. Here are the steps i went. I started from the beginning.

ln -s /usr/src/linux/-2.4.20-8/usr/src/linux
ls -l /usr/src/
su -
mkdir /work
cp /mnt/cdrom/pctel-0.9.6.tar.gz /work
cd /work
tar zxvf pctel-0.9.6.tar.gz
cd pctel-0.9.6
./configure --with-hal=pct789
Again the same error. Thank You.
 
Old 05-27-2003, 06:57 PM   #124
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
from that listing of text in you gave under
ls -la /usr/src
i can see there is no directory called linux, which is
where that pctel configure command assumes the
linux kernel is.
you can either make what is called a softlink to the
linux source directory with
ln -s /usr/src/linux-2.4.20-8 /usr/src/linux
ln -s takes 2 arguments here the first is the
directory that currently exists, and the second is the
directory that we wish to exist that is just a "shortcut"
to the original.
which will make the linux source appear under
/usr/src/linux, like the pctel configure script wants,
or you can run the configure script with the exact location
of the kernel includes.
./configure --with-hal=pct789 --with-kernel-includes=/usr/src/linux-2.4.20-8/include

this is what you need to do, after you get the older gcc
installed. anyway in the post just before i noticed your
ln -s command is messed up.

i keep making little typos, and i have to go back and
edit.
i've got to quit here. master C will probably give you
clearer instructions later tonite.

Last edited by whansard; 05-27-2003 at 07:04 PM.
 
Old 05-27-2003, 07:20 PM   #125
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
That's ok but i got you on that. I said no way that has to be a d in there. Well this is what i typed.
./configure --with-hal=pct789 --with-kernelincludes=/usr/src/linux-2.4.20-8/include. I got the same error. I believe i only made it past this part once or twice. I still get the same message.
 
Old 05-27-2003, 07:38 PM   #126
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Hi
So let's create that symlink and see if it works:
ln -sf /usr/src/linux-2.4.20-8 /usr/src/linux
THEN to see if the symlink worked correctly:
ls -l /usr/src
And look for an entry that looks similar to this:
Code:
bash-2.05a$ ls -l /usr/src
total 33612
lrwxrwxrwx    1 root     root           16 Mar  1 10:15 linux -> linux-2.4.20-lq1
drwxr-xr-x   14 500      500          4096 May 17 13:25 linux-2.4.20-lq1
Which shows the symlink and where it's pointing to.

If that's setup correctly, then try again:
./configure --with-hal=pct789
Do not worry about the kernel includes yet...

Cool
 
Old 05-27-2003, 07:39 PM   #127
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
man i can't believe i still don't have these drivers installed. Why is it everything i want to do is always advance?? Let's say for an example. I want to write and program my own Redhat Linux without going to college for programming. Everything is advance for me. I had to edit typos.
 
Old 05-27-2003, 07:42 PM   #128
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
oh MasterC... I did that before. If you read the post after your post. I sent the results. cool. right??
 
Old 05-27-2003, 07:48 PM   #129
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
MasterC, Here are the results. For rpm -qa l grep gcc. gcc-3.2.2-5. grep-2.5.1-7

For rpm -qa l grep kernel. kernel-2.4.20-8. grep-2.5.1-7

For ls -la /usr/src

drwxr-xr-s 5 root root
drwxr-xr-x 15 root root
drwxr-xr-x 2 root root
0-8
drwxr-xr-x 7 root root
4096 May 26 19:19 .
4096 May26 18:39 ..
14 May 26 19:19 linux-2.4->linux-2.4.2

4096 May 26 19:18 linux-2.4.20-8
4096 May 26 19:17 redhat

Hope that helps.
 
Old 05-27-2003, 07:54 PM   #130
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yeah, the symlink isn't there though, it's not working out for some reason. Try typing it exactly like this:
ln -sf /usr/src/linux-2.4.20-8 /usr/src/linux
Notice the space in there:
ln <space> -sf <space> /usr/src/linux-2.4.20-8 <space> /usr/src/linux
Notice those are LN lowercase for LINK or symlink

Cool
 
Old 05-27-2003, 08:24 PM   #131
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
ok this is what i typed. ln -sf /usr/src/linux-2.4.20-8 /usr/src/linux.

ls -l /usr/src

total 12
drwxr-xr-x 2 root root
lrwxrwxrwx 1 root root
2.4.20-8
lrwxrwxrwx 1 root root
0-8
drwxr-xr-x 16 root root
drwxr-xr-x 7 root root
4096 Jan 24 18:52 debug
23 May 27 20:04 linux->/usr/src/linux-
14 May 26 19:19 linux-2.4->linux
2.4.2
4096 May 26 19:18 linux-2.4.20-8
4096 May 26 19:17 redhat

Is it there now?? Did i do it right??
 
Old 05-27-2003, 08:28 PM   #132
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
It really still doesn't look right.. I am not sure what you have done there, but let's do this:
rm /usr/src/linux
Be sure you type that exactly like that, then:
ln -sf /usr/src/linux-2.4.20-8 /usr/src/linux
Exactly like that. Like you have above, only the symlink looks wrong for some reason. Go ahead and just try it again, you eventually want to see:
Code:
lrwxrwxrwx    1 root     root           16 Mar  1 10:15 linux -> linux-2.4.20-8
drwxr-xr-x   14 500      500          4096 May 17 13:25 linux-2.4.20-8
It should look just like that, or very similar at least. This symlink is important otherwise I'd just move on.

So then post back again what you get from:
ls -l /usr/src

Cool
 
Old 05-27-2003, 08:49 PM   #133
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
ok MasterC. This is what i typed. rm /usr/src/linux. This is the error i got. rm: cannot remove /usr/src': permission denied. That is the exact error.
 
Old 05-27-2003, 08:56 PM   #134
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
WTF... Odd.

Ok, so then just create the symlink using the force option (-f)
ln -sf /usr/src/linux-2.4.20-8 /usr/src/linux

It does appear that you may not be typing the command EXACTLY like we are showing, I'm not saying that you aren't, that is just what it appears you are doing.

Cool
 
Old 05-27-2003, 09:00 PM   #135
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
I typed in correctly.. What i posted above that was the results i got. I can't do much more about that.
 
  


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
Modem Not responding in RedHat Linux 9.0 ukjairaj Linux - Hardware 6 07-04-2007 11:05 PM
conexant v.92 internal modem not detecting in redhat linux 9.0 supersac Linux - Newbie 9 11-30-2004 02:04 PM
redhat linux 8.0 modem problem!!!! linuxfan2 Linux - Software 7 05-10-2003 11:37 AM
Redhat Linux 8: Problem with Sound and Modem anjanmustafi Linux - Hardware 4 03-18-2003 03:07 PM
my modem is not detected in redhat linux 6.2 linux2cool Linux - Newbie 2 02-25-2001 03:48 PM


All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration