[uClibc]pthread_t

Tobias Anderberg tobias.anderberg at axis.com
Wed Mar 6 09:24:07 UTC 2002


Stefan Soucek wrote:

>> linux -DNDEBUG  -c popen.c -o popen.o
>> In file included from ../../include/signal.h:358,
>>               from ../../include/sys/wait.h:30,
>>               from popen.c:12:
>> ../../include/bits/sigthread.h:36: parse error before `__thread'
>> make[2]: *** [popen.o] Error 1

> What platform is this? There are two places that need
> to have a bunch of platform-specific header files. One is in
> libc/sysdeps/<platform>/bits and the other one in the libpthreads
> hierarchy. The latter defines "overrides" in more specific
> subdirectories, so the order of the -I's on the gcc line is
> important. Check, if your platform uses the right directories.

Hm. My uClibc/libpthread/ only contains Makefile and pthread.c and
doesn't seem to contain any pthread definitions that override some
other definitions.



More information about the uClibc mailing list