building static busybox/toybox with uclibc-nptl

Austin Foxley austinf at cetoncorp.com
Wed Dec 2 14:30:08 UTC 2009


On 12/02/2009 12:58 AM, Natanael Copa wrote:
> /home/ncopa/src/firmware-0.9.8/build/root-filesystem-i586/usr/lib/libc.a(fork.os): In function `fork':
> fork.c:(.text.__libc_fork+0xf5): undefined reference to `pthread_mutexattr_init'
> fork.c:(.text.__libc_fork+0xfd): undefined reference to `pthread_mutexattr_settype'
> fork.c:(.text.__libc_fork+0x114): undefined reference to `pthread_mutex_init'
> fork.c:(.text.__libc_fork+0x125): undefined reference to `pthread_mutexattr_destroy'

Try turning on "Use stdio futexes". It's under string support for some reason. I 
was hoping to make that the default as it makes libc not need pthread_mutex.

-Austin




More information about the uClibc mailing list