This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.0 build error
- From: Ian Lance Taylor <ian at airs dot com>
- To: Stephen torri <storri at torri dot org>
- Cc: gcc help <gcc-help at gcc dot gnu dot org>
- Date: 10 Feb 2005 17:31:36 -0500
- Subject: Re: GCC 4.0 build error
- References: <1108066766.29573.6.camel@base.torri.org>
Stephen torri <storri@torri.org> writes:
> I am building GCC from CVS, so I am not expecting a compile to go
> without problems, which I have synced up this morning. This week I have
> been getting compile errors in phthread.h which I will attach.
>
> Any ideas on how to get by this?
> In file included from ../../gcc/gcc/gthr-posix.h:43,
> from ./gthr-default.h:1,
> from ../../gcc/gcc/gthr.h:114,
> from ../../gcc/gcc/unwind-dw2.c:42:
> /usr/include/pthread.h:660: error: array type has incomplete element
> type
Looks like there might be an issue with your /usr/include/pthread.h
file, which is not part of gcc.
What is at line 660 in /usr/include/pthread.h?
Ian