Skip to contentSkip to conversation

what is SYSCALL in arch/i386/kernel/Makefile

DISCUSSION horseriver 2 participants 4 messages Jan 5, 2013 – Jan 6, 2013

lore
Share & tools
lore

horseriver

author
#0 lore raw

hi:

In arch/i386/kernel/Makefile , there is a SYSCALL , what is it ?

thank!

#1 lore raw
Quoted 3 lines · horseriver

hi:

In arch/i386/kernel/Makefile , there is a SYSCALL , what is it ?

Nobody can help you without providing more information. Current kernels don't have arch/i386/kernel/Makefile. i386 and x86_64 got merged a long time ago....

Signature · 2 lines
Thanks,
//richard
author
#2 lore raw
Quoted 9 lines · richard -rw- weinberger
Quoted 3 lines · horseriver

hi:

In arch/i386/kernel/Makefile , there is a SYSCALL , what is it ?

Nobody can help you without providing more information. Current kernels don't have arch/i386/kernel/Makefile. i386 and x86_64 got merged a long time ago....

thanks !

when make in my arch/i386/kernel dir , gcc need to build a .so file ,
it calls ld to link ,but failed with this error :

not enough room for program headers ,I know it is due to SIZEOF_HEADER buidin function,

but I do not know how to fix it

ld has been told to link with specilized ld-script ,which not use SIZEOF_HEADER.

so I feel it is confusing

appreciate for helps!

Quoted 3 lines
Signature · 2 lines
Thanks,
//richard
#3 lore raw
Quoted 6 lines · horseriver

when make in my arch/i386/kernel dir , gcc need to build a .so file ,
it calls ld to link ,but failed with this error :

not enough room for program headers ,I know it is due to SIZEOF_HEADER buidin function,

but I do not know how to fix it

The fix is to use a supported and not horrible outdated Linux version. Otherwise you are on your own.

Signature · 2 lines
Thanks,
//richard