compile linux kernel 2.6.0 failed

horseriver horserivers at
Wed Jan 2 23:43:49 EST 2013

   I am compiling 2.6.0 kernel with gcc 4.4.5 and link with ld 2.20 version.

    my host os is 2.6.32 kernel .

   when linking .so , output this error :

   /usr/bin/ld: arch/i386/kernel/ 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 ?


More information about the Kernelnewbies mailing list