Skip to contentSkip to conversation

compile linux kernel 2.6.0 failed

DISCUSSION horseriver 2 participants 2 messages Jan 3, 2013

lore
Share & tools
lore

horseriver

author
#0 lore raw

hi:
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/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 ?

thanks!

#1 lore raw
Quoted 2 lines · horseriver

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

2.6.0, SRSLY?!

Quoted 11 lines

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 :-)

Signature · 2 lines
Thanks,
//richard