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


  Search this Thread
Old 04-30-2007, 05:44 AM   #1
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 now i was in linux version
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, 04:31 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,547

Rep: Reputation: 160Reputation: 160
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.


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 03:54 PM
Gcc version for compiling kernel 2.6.18 TemplaraPheonix Linux - Kernel 3 10-02-2006 07:20 PM
2 differen kernel version when Installing the same Fedora core 3 anh Red Hat 1 03-20-2006 04:05 PM
2 differen kernel version when Installing the same Fedora core 3 anh Red Hat 1 03-20-2006 10: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 09:17 PM

All times are GMT -5. The time now is 01:36 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