__UCLIBC_HAS_THREADS__ is not defined ???

Khem Raj raj.khem at gmail.com
Thu Jul 22 23:35:01 UTC 2010


On Thu, Jul 22, 2010 at 4:18 PM, Kevin Day <thekevinday at gmail.com> wrote:
> I currently have the following in my .config file:
> UCLIBC_HAS_THREADS_NATIVE=y
> UCLIBC_HAS_THREADS=y
> UCLIBC_HAS_TLS=y
>
> With one of the more recent checkouts, namely:
> 48fb264beaac8114e5ac3e80e70dda473fbce96d, I came across a link error
> complaining about __lll_unlock_wake_private not being found.
> (specifically with: libc/misc/ttyent/getttyent.c)
>
> Looking into the problem revealed that:
> #ifdef __UCLIBC_HAS_THREADS__
> # include <pthread.h>
> #endif

you should check why include/bits/uClibc_config.h is not being included
in the file which is failing to compile.

-Khem


More information about the uClibc mailing list