LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-30-2007, 04:44 AM   #1
mshenbagaraj
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Rep: Reputation: 0
Unhappy error when compiling 2.4 version of kernel from 2.6 version in fedora core


hi ,
i was just compiling linux kernel version 2.4.33.3. now i was in linux version 2.6.16.10.
but when i did make bzImage i got the following error

init/main.c:91:2: error: #error Sorry, your GCC is too recent for kernel 2.4


i would like to know whether is it possible to install 2.4 in my system...which is currently having 2.6 version..

if so how to get the backward compatability of gcc.

plesae respond me .....waiting .....
 
Old 04-30-2007, 03:31 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You would need to get older gcc (3.x series). If your distribution doesn't provide such package (it's worth checking, because it's the easiest solution) you can compile gcc from source and then use it. Having two gcc version in one system is possible.
 
  


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
Gcc version for compiling kernel 2.6.18 TemplaraPheonix Linux - Kernel 3 10-02-2006 06:20 PM
2 differen kernel version when Installing the same Fedora core 3 anh Red Hat 1 03-20-2006 03:05 PM
2 differen kernel version when Installing the same Fedora core 3 anh Red Hat 1 03-20-2006 09:25 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:38 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
Open Source Consulting | Domain Registration