lkml.org 
[lkml]   [1996]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectELF and a.out as modules in 1.3.85
Is there any reason that 'make config' allows you to compile kernel support for ELF and
a.out as modules? I've tried this, and when building the kernel there are errors finding
the _start symbol in a couple of objects.

When it first builds vmlinux (before linking with misc.o, etc) it says:

ld: waring: cannot find entry symbol _start; defaulting to 000fffe0

and when it tries to link to misc.o with
'ld -qmagic -Ttext 0xfe0 -o vmlinux head.o misc.o piggy.o'

I get

ld: warning: cannot find enrty symbol _start; defaulting to 00000fe0
misc.o(.text+0x1ebc): undefined reference to 'input_data'
misc.o(.text+0x1ec1): undefined reference to 'input_len'
misc.o(.text+0x1ed7): undefined reference to 'input_data'

and then make stops with an error.

-Corey


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.057 / U:1.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site