linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Problems with linking of 2.4.19-5um (elf-init.o symbols missing during final link)
@ 2003-09-06 14:32 Jason Johnson
  2003-09-13 18:08 ` BlaisorBlade
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Johnson @ 2003-09-06 14:32 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: jsjohn2000

I have been experimenting with user mode linux and
when I tried compiling against the 2.4.19 kernel I
received the following link error

gcc -Wl,-T,arch/um/link.ld  -Wl,--wrap,malloc
-Wl,--wrap,free -Wl,--wrap,calloc \
        -o linux -static arch/um/main.o vmlinux.o
-L/usr/lib -lutil
/usr/lib/libc.a(elf-init.o)(.text+0x2): In function
`__libc_csu_init':
: undefined reference to `__preinit_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x9): In function
`__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x23): In function
`__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x34): In function
`__libc_csu_init':
: undefined reference to `__init_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x39): In function
`__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x49): In function
`__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x61): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x67): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x84): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_start'
collect2: ld returned 1 exit status
make: *** [linux] Error 1

I applied the 2.4.19-5um patch to my kernel source
tree.  Does anyone have any ideas on how to fix this
problem.

I tried compiling a new version of glibc, but the when
I did a objdump -t libc.a symbols mentioned above do
not appear.

Thanks for the help.


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-13 18:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-06 14:32 [uml-devel] Problems with linking of 2.4.19-5um (elf-init.o symbols missing during final link) Jason Johnson
2003-09-13 18:08 ` BlaisorBlade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox