undefined reference to `_dl_app_init_array'
Hi all,
Something is wrong with a toolchain I recently built with buildroot:
To illustrate trying to compile:
main ()
{
return 0;
}
Fails with:
/lib/libc.so.0: undefined reference to `_dl_app_init_array'
/lib/libc.so.0: undefined reference to `_dl_app_fini_array'
collect2: ld returned 1 exit status
ldd tells me ld-uClibc-0.9.29.so is not a dynamic executable.
Buildroot used was snapshot 20071024
Anyone have any idea why this is happening? All binaries linked to it are functioning fine, so apparently the library does have the function, making me think this is a linker issue.
Regards,
Taylan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071101/e3e12aec/attachment.htm
I had the same thing both on my application and on libjpeg on AVR32. No idea what's wrong :(
Unfortunally I couldn't investigate it further (i'm working on a project that is already late), I'm sticking with a previously working revision.
Quoted 66 lines · Taylan Develioglu - DSV
Hi all,
Something is wrong with a toolchain I recently built with buildroot:
To illustrate trying to compile:
main ()
{
return 0;
}
Fails with:
/lib/libc.so.0: undefined reference to `_dl_app_init_array'
/lib/libc.so.0: undefined reference to `_dl_app_fini_array'collect2: ld returned 1 exit status
ldd tells me ld-uClibc-0.9.29.so is not a dynamic executable.
Buildroot used was snapshot 20071024
Anyone have any idea why this is happening? All binaries linked to it are functioning fine, so apparently the library does have the function, making me think this is a linker issue.
Regards,
Taylan
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot