Redhat 9.0 /usr/src/linux-2.4.x won't compile

Ken Moffat kmoffat
Mon May 17 11:52:29 PDT 2004


James McDonald wrote:

>RedHatters,
>
>I have installed RH9.0 and the kernel-source*.rpm
>
>When I  cd into /usr/src/linux-2.4.x and run make oldconfig or cp
>/boot/config-2.4.x to /usr/src/linux-2.4.x/.config use `make xconfig' to
>add ntfs filesystem support and run `make dep bzImage modules' It fails
>every time with compile errors
>
>However downloading the latest 2.4.22 source and compiling it using the
>/boot/config-2.4.x file with just ntfs support enabled works.
>
>Can anyone tell me if they have successfully compiled the default RH
>source or is it just there to add 30MB+ to the system?
>
>  
>

I'd guess the compiler conflict is rearing it's ugly head. Maybe the 
stock source is for gcc-3.2 or 2.95, and the new source is compatible 
with 3.3, and you are using 3.3. Just a guess. I don't use redhat, but 
the kernel compile problems I've heard about lately have involved the 
compiler. You can change the link (/usr/bin/gcc) to point to an older 
one to compile older source.



More information about the Linux-users mailing list