Download your favorite Linux distribution at LQ ISO.
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 09-28-2003, 02:47 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
GCC version in kernel compilation

I was wondering how I could change the version of GCC used when I compile my kernel. I've been having problems compiling and I'm using gcc 3 but I want to know how to use 2.96. I'm running red hat 9 and am using gmake 3.79.1. I've tried searching the red hat manual pages, and anything I could get on google but nothing has helped please help. thank you.
Old 09-28-2003, 03:13 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
AFAIK you don't need gcc to compile or recompile your kernel. The version you use to compile your kernel shouldn't matter really.
Old 09-29-2003, 07:05 PM   #3
LQ Newbie
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Then could it be that I'm using grub? I'm trying to figure out why my kernel would panic at boot up with a message similar to this : "VFS error unresolved symbol, error in "root=" unknown symbol "LABEL=" please append with correct argument cannot mount '0 0'. "? Again I am using Red Hat 9.
Old 09-29-2003, 11:39 PM   #4
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I think you don't have filesystem compiled into the kernel. You might have compiled it as a module and you forgot to include the module when you make a ramdisk image. Also you did not run grub installer to refresh itself.


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
kernel version mixup for driver compilation takatam Mandriva 3 01-17-2005 04:48 AM
should I use gcc-2.95.3 for kernel compilation shanenin Linux From Scratch 9 07-25-2004 10:24 PM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 08:17 PM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 01:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:57 AM.

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