Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-09-2003, 06:13 PM   #1
LQ Newbie
Registered: Oct 2003
Location: Stone Ridge, NY
Distribution: Red Hat 9.0
Posts: 5

Rep: Reputation: 0
need to upgrade gcc to install kernel-source?

i've got a new install of rh9, and have run into the nvidia driver hell that's all over these forums like a rash.

when i attempted to install the drivers i downloaded from nvidia, i got the message saying i needed to install the kernel-source first. checked my kernel and got this:

# uname -r

okay, fine. so i go and download the following:


and put it in /usr/src, and then i get this:

# rpm -ivh kernel-source-2.4.20-20.9.i386.rpm
error: Failed dependencies:
gcc >= 2.96-98 is needed by kernel-source-2.4.20-20.9

so now i guess i need to update gcc? here's where i gotta admit that the some total of my linux experience is about four days, and i've got no idea how to go about doing this.
Old 10-09-2003, 07:19 PM   #2
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Actually, you need an OLDER version of GCC.

redhat is all messed up in that respect.

You dont have to use an RPM for source.

Just go to and download the appropriate kernel source tarball. Then extract it to /usr/src/linux, like:

su -
[enter password]
cd /usr/src/linux
tar -xvjf /path/to/kernelsource.tar.bz2
Old 10-10-2003, 09:49 AM   #3
LQ Newbie
Registered: Oct 2003
Location: Stone Ridge, NY
Distribution: Red Hat 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
thanks! i'm at work right now, but i'll give it a try when i get home tonight.


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
Upgrade from working kernel-source-2.6.7-1 & -2 to kernel paniced -3 & -4 Outabux Debian 6 08-15-2004 01:36 PM
Current instructins to upgrade Kernel from source Ook Slackware 7 04-05-2004 02:19 AM
kernel source upgrade for mandrake straw Linux - Software 1 09-23-2003 09:43 PM
How do I upgrade kernel source? bigredgiant1 Red Hat 2 09-05-2003 02:39 AM
Kernel upgrade and PPP source files? ClawGhoul Linux - Networking 2 09-21-2002 07:34 AM > Forums > Linux Forums > Linux - Newbie

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

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