Hi,

I'm trying to build a native toolchain for x86 uclibc-nptl, using
firmwarelinux.

So for I have needed to disable the rpc stuff in uclibc and mount in
busybox to be able to build it.

However, during linking phase, I get this error:

==========
archival/lib.a(bbunzip.o): In function `bbunpack':
archival/bbunzip.c:116: warning: the use of OBSOLESCENT `utime' is discouraged, 
use `utimes'
networking/lib.a(ipcalc.o): In function `ipcalc_main':
networking/ipcalc.c:179: warning: gethostbyaddr is obsolescent, use 
getaddrinfo() instead.
libbb/lib.a(inet_common.o): In function `INET_resolve':
libbb/inet_common.c:68: warning: gethostbyname is obsolescent, use 
getnameinfo() instead.
/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'
make: *** [busybox_unstripped] Error 1

I get same error with toybox.

If i force it to link dynamic it works.

-nc

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to