building arm toolchain with buildroot
Peter S. Mazinger
ps.m at gmx.net
Wed Jan 11 14:03:03 UTC 2006
On Wed, 11 Jan 2006, Itzhak Ben-Akiva wrote:
> Hi everybody,
>
> I'm having some troubles building a proper arm toolchain with buildroot
> for some days already. The compilation goes well, except for the missing
> pthreadtypes.h file that I have to copy manually to the right place, but
> the compilation ends successfully.
>
> However, whenever I try compile my project and link it statically to
> pthread library (--static -lm -lpthread), I get the following error:
>
> ../arm-linux-uclibc/lib/libpthread.a(pthread.os): In function
> `__pthread_initialize_minimal': undefined reference to
> `__libc_pthread_init
>
> Thus, I would ask you all, who has an ARM toolchain successfully
> compiled and working properly, to send me the .config file of your
> buildroot.
>
> Many thanks in advance for your help.
>
> cheers,
> Itzhak
Mike, This could to be caused by not adding libc_pthread_init to libc.a
(as done in glibc, forward.c stays only in libc.so)
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list