compile linux kernel 2.6.0 failed

richard -rw- weinberger richard.weinberger at gmail.com
Thu Jan 3 05:11:56 EST 2013


On Thu, Jan 3, 2013 at 5:43 AM, horseriver <horserivers at gmail.com> wrote:
> hi:
>    I am compiling 2.6.0 kernel with gcc 4.4.5 and link with ld 2.20 version.

2.6.0, SRSLY?!

>     my host os is 2.6.32 kernel .
>
>    when linking .so , output this error :
>
>    /usr/bin/ld: arch/i386/kernel/vsyscall-int80.so: Not enough room for program headers, try linking with -N
>
>    does gcc generate the program headers ? why not enough room for it ?
>
>    I guess it is because gcc version is not compitable with ld version
>
>    is there some advice ?

Kernel source too old, GCC too new :-)

-- 
Thanks,
//richard



More information about the Kernelnewbies mailing list