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, 09:07 PM   #136
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30

This is the exact command i use. ln -sf /usr/src/linux-2.4.20-8 /usr/src/linux

Am i right??
 
Old 05-27-2003, 09:13 PM   #137
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yeah, I know, it's just wierd the errors you are getting from typing that in since it's the correct command... That's why it's confusing.

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

Original Poster
Rep: Reputation: 30
Do you think it's time to move on?? I'm going to leave it up to you. I'm ready when ever you are.
 
Old 05-27-2003, 09:41 PM   #139
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
I can't believe i almost had it the other day and now i'm back getting errors. That makes no sense. I don't know what else to do. I tryed the commands that masterc and whansard gave me. I still get error. From both of them. They gave me clear instructions.
 
Old 05-27-2003, 09:44 PM   #140
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well, we can move onto getting the older gcc on here and come back to this later. I've actually gotta get ready for work right now, but I'll post a lot of info tonight from work so you can have some things to do tomorrow (unless someone else picks up before then).

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

Original Poster
Rep: Reputation: 30
ok sounds cool. I work in the morning.
 
Old 05-27-2003, 09:50 PM   #142
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
./configure --with-hal=pct789 --with-kernel-includes=/usr/src/linux-2.4.20-8/include


derek, when you entered this command earlier, you
missed the dash between the kernel-includes

i entered it that way wrong the first time myself, and then
went back to edit my post.

also, the ln -sf doesn't delete a preexisting softlink.

i think derek accidently left a space in the command
when he first tried it, and now there's a softlink
called linux, and it's in the way.
so try again. rm /usr/src/linux
then redo ln -s /usr/src/linux-2.4.20-8 /usr/src/linux
 
Old 05-27-2003, 09:57 PM   #143
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
Whansard, I typed that before. rm /usr/src/linux. I got an error. That can't be right. I typed it exactly like that.
 
Old 05-27-2003, 09:58 PM   #144
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
typos again left out the d... go edit
 
Old 05-28-2003, 01:19 AM   #145
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You normally can remove a symlink with rm, however since your symlink isn't really pointing to anything good, let's just try to see if needs some quotes:
rm "/usr/src/linux"
And see what you get. Keep the quotes there, type it exactly like I have above, and see what happens. While we are at it, we need to remove other things in there, so type this as well, exactly:
rm "/usr/src/linux-2.4"
And then try again with the symlink:
ln -sf /usr/src/linux-2.4.20-8 /usr/src/linux
Exactly.

I'll post up more later...

Cool
 
Old 05-28-2003, 04:22 AM   #146
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
Hi MasterC. I made it past that kernel error. The only thing for me to do now is get the older version of gcc. I made it up to insmod pctel. Please tell me how to get the older version of gcc. Thanks.
 
Old 05-28-2003, 04:49 AM   #147
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
what do you think you did that finally got it?
was it just getting the symlink right, or
was it getting the full configure command correct.?
 
Old 05-28-2003, 06:00 AM   #148
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Cool, so here we go down the lonely road of gcc...

For ease, lets do this all via the command line, so open up your favorite terminal, su - to root, and 'begin we will, your Jedi training':
First, let's get the new one on there, better to have 2 versions than none at all. Gotta go lookup which version RH has...

Ok, so now I am even more confused. It appears that RH 9 ships with GCC-3.2 If that is so, then why is the kernel that comes with it compiled with GCC-2.x? Or am I missing something? Is this driver compiled with GCC-2.x and is complaining because your kernel was 3.2?
Ok, read back through the thread, and it's this post:
Quote:
This is what i tryed. insmod pctel. This is the message i got. The module you are trying to load (/lib/modules/2.4.20-8/misc/pctel.o) is compiled with a gcc version 2 compiler while the kernel you are running is compiled with gcc version 3 compiler. This is known to not work. Why did i get that message?? Thanks.
That started out the gcc ideas it appears. Ok, so I am going to have to disagree on the switching compilers bit. The module is more than likely a binary, and you are going to have to rebuild a kernel with the older compiler (and in turn break many other things) just to get this to work. Nah. I think instead you might find a source type package, or, as mentioned in a few other posts, an actual RPM/Source RPM that we could work with.

Downgrading from gcc-3.2.2 is really not a good idea anyway, and to break alot of other things on your system to do it, well that's just sounding like a bad idea to me.

If anyone has some thoughts on this, please post em.

Cool
 
Old 05-28-2003, 07:42 AM   #149
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
Is there a way to do this without getting an older version of gcc?? I don't know why i finally got it. If there is no other way to do this. How do i get an older version of gcc?? cool. Thanks.
 
Old 05-28-2003, 07:46 AM   #150
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
i can't believe i got that backwards. my brain switched the
2 gcc's on me. but that info he got from rpm -qa|grep gcc
showed that 3.2.2-5 is installed, not 2.9X. maybe last time
he got 2.9X installed after 3.2.2-5 and 2.9X became the
default.

so shouldn't the modules he just compiled and the current
kernel both be compiled with that same compiler?
maybe he's done now, but doesn't know it.

derek, what was the last error message you got,
when trying to
insmod pctel

it's possible you are done, but just don't realize it.
he could have just gotten a message about tainting
the kernel with non-gpl code or something like 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 12:05 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