LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   error when compiling 2.4 version of kernel from 2.6 version in fedora core (https://www.linuxquestions.org/questions/linux-kernel-70/error-when-compiling-2-4-version-of-kernel-from-2-6-version-in-fedora-core-550083/)

mshenbagaraj 04-30-2007 04:44 AM

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 .....

Mara 04-30-2007 03:31 PM

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.


All times are GMT -5. The time now is 11:50 PM.