[uClibc]pthread_t

Tobias Anderberg tobias.anderberg at axis.com
Tue Mar 5 11:32:14 UTC 2002


Hi!

As far as I can tell pthread_t is defined in <bits/pthreadtypes.h>.
How does that relate to <bits/sigthread.h>? In sigthread.h there exist
a definition for, amonst others, pthread_kill (pthread_t __thread ..).
Though I don't see any include <bits/pthreadtypes.h> in there..

Ok, to the problem. The lib compiles perfectly for i386, but when I
try to compile it for my platform (which I intend to submit to back to
you! :-)), get the following error:

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

This happens because there's no definition for pthread_t, I guess. So,
what have I missed? :-)

/tobba




More information about the uClibc mailing list