This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.0 build error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]