[Buildroot] undefined _dl_app_init_array and _dl_app_fini_array

Thiago A. Corrêa thiago.correa at gmail.com
Tue Oct 23 20:07:39 UTC 2007


Nope, it wasn't that I had another toochain installed... I'm still
getting that link error after removing the toolchain. Even using the
atngw100-defconfig :(

./libtool --mode=link
/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc
-Os -pipe  -I/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/usr/include
-I/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/include
-msoft-float  -o cjpeg cjpeg.lo rdppm.lo rdgif.lo rdtarga.lo rdrle.lo
rdbmp.lo rdswitch.lo cdjpeg.lo libjpeg.la
/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc
-Os -pipe -I/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/usr/include
-I/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/include
-msoft-float -o .libs/cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o
rdbmp.o rdswitch.o cdjpeg.o -Wl,--rpath -Wl,/lib .libs/libjpeg.so
/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/lib/libc.so.0:
undefined reference to `_dl_app_init_array'
/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/lib/libc.so.0:
undefined reference to `_dl_app_fini_array'
collect2: ld returned 1 exit status
make[1]: *** [cjpeg] Error 1
make[1]: Leaving directory
`/root/novacomm/buildroot/buildroot-original/build_avr32/jpeg-6b'
make: *** [/root/novacomm/buildroot/buildroot-original/build_avr32/jpeg-6b/.libs/libjpeg.a]
Error 2


On 10/23/07, Ulf Samuelsson <ulf at atmel.com> wrote:
> > Hmmm well, I noticed that on my custom package at the linking stage it
> > was for some reason using the avr32 compiler instaled on my system
> > (4.0.99), so I removed that and I'm rebuilding to see what gives....
> > hopefully that's the problem :)
>
> > Strangely, I know I'm not the only one who have noticed that issue...
> > some others have mentioned that at the avrfreaks.com forums.
>
> It is not unlikely that they have the same problem then.
> If you indeed verify this, then pls inform them at the AVRfreaks forum.
>
> Best Regards
> Ulf Samuelsson
>
>



More information about the buildroot mailing list