[uClibc] Can't compile with dynamic library : "unable to resolve symbol __uClibc_start_main"
Guillaume Betous
guillaume at betous.fr.st
Fri Nov 14 09:03:52 UTC 2003
Hi all !
I'm trying to compile busybox with dynamic linking. Everything works
fine in static linking, but with dynamic linking I've a "unable to
resolve symbol __uClibc_start_main" error, during execution on the
target.
1) I'm cross compiling from an i686 to an i386 using the toolchain (BTW
: excellent automation tool !!!) => I've build uClibc with all these
default settings
2) here is the result of the busybox compilation :
/usr/local/uclibc/usr/bin/ldd busybox
libc.so.0 => /libc.so.0 (0x40006000)
ld-uClibc.so.0 => /usr/local/uclibc/lib/ld-uClibc.so.0
(0x40000000)
3) My target has the following /lib directory :
[root at coyote lib]# ll
total 18
-rwxr-xr-x 1 root root 16392 nov 12 19:49
ld-uClibc-0.9.21.so*
lrwxrwxrwx 1 root root 19 nov 12 16:57 ld-uClibc.so.0
-> ld-uClibc-0.9.21.so*
lrwxrwxrwx 1 root root 19 nov 12 16:58 libc.so.0 ->
ld-uClibc-0.9.21.so*
I've search in Google for 2 days now.. I can't find the solution.
Thank you very much for helping me !
Regards,
gUI
More information about the uClibc
mailing list