GCC 4.0 build error

Ian Lance Taylor ian@airs.com
Fri Feb 11 14:16:00 GMT 2005


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



More information about the Gcc-help mailing list