../../src/gcc/gthr-posix.h:37:21: pthread.h: No such file or directory???
Spencer Marshall
gdsmarshall@hotmail.com
Fri Apr 19 05:40:00 GMT 2002
Hi,
I tried that, and had a little more progress, should sys-include be native
sparc-sun-solaris headers? I get the error
In file included from /sun/sparc-sun-solaris2/sys-include/pthread.h:15,
from ../../src/gcc/gthr-posix.h:38,
from gthr-default.h:2,
from ../../src/gcc/gthr.h:99,
from ../../src/gcc/libgcc2.c:2978:
/sun/sparc-sun-solaris2/sys-include/sched.h:52: warning: `struct timespec'
declared inside parameter list
/sun/sparc-sun-solaris2/sys-include/sched.h:52: warning: its scope is only
this definition or declaration, which is probably not what you want.
In file included from ../../src/gcc/gthr-posix.h:38,
from gthr-default.h:2,
from ../../src/gcc/gthr.h:99,
from ../../src/gcc/libgcc2.c:2978:
/sun/sparc-sun-solaris2/sys-include/pthread.h:109: parse error before
`uintptr_t'
and loads more too.
Many thanks,
Spencer
>From: Momchil Velikov <velco@fadata.bg>
>To: "Spencer Marshall" <gdsmarshall@hotmail.com>
>CC: gcc-help@gcc.gnu.org
>Subject: Re: ../../src/gcc/gthr-posix.h:37:21: pthread.h: No such file or
>directory???
>Date: 19 Apr 2002 14:43:42 +0300
>
> >>>>> "Spencer" == Spencer Marshall <gdsmarshall@hotmail.com> writes:
>
>Spencer> I know I am missing pthread.h from the include path, I have a
>Spencer> pthread.h in /usr/include,
>
>This is the GNU/Linux's pthread.h, ...
>
>Spencer> would someone advise me on how to fix
>this
>Spencer> problem.
>
>... you need the solaris one in $prefix/sparc-sun-solaris2/sys-include.
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
More information about the Gcc-help
mailing list