logo       

Can't compile with uclibc-0.9.15 by using gcc-3.2: msg#00136

lib.uclibc.general

Subject: Can't compile with uclibc-0.9.15 by using gcc-3.2

Hi.

I can't compile the following programs in redhat-8.0. gcc-3.2 is installed
only
and uClibc-0.9.15 is installed by myself.

#include <pthread.h>

int main(void) {
return 0;
}

the following error generated:
In file included from pthread.c:1:
/usr/i386-linux-uclibc/include/pthread.h:163: parse error before "__thread"
/usr/i386-linux-uclibc/include/pthread.h:165: 'pthread_create' declared as
function returnning a function
/usr/i386-linux-uclibc/include/pthread.h:166: parse error before "void"
/usr/i386-linux-uclibc/include/pthread.h:591: storage class specified for
parameter "type name"
In file included from /usr/i386-linux-uclibc/include/pthread.h:655:
from pthread.c:1:
/usr/i386-linux-uclibc/include/bits/sigthread.h:36: storage class specified
for paramter 'type name'

What's wrong with it?

And the following simple program can't to be compiled too.
#include <signal.h>

int main(void) {
return 0;
}

The following error generated:
In file included from /usr//i386-linux-uclibc/icnlude/signal.h:358,
from signal.c:1:
/usr/i386-linux-uclibc/include/bits/sigthread.h:36: storage class specified
for parameter 'type name'

I think the reasons of the two previous error is same....

Does anyone has encounter this error?

Charles October 17.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise