On Thu, Jan 3, 2013 at 5:43 AM, horseriver <horserivers@xxxxxxxxx> 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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies