Compile errors, Cygwin issue or gcc?
Gerrit P. Haase
gerrit@familiehaase.de
Tue Jun 21 09:32:00 GMT 2005
Rebirth Seph wrote:
> I'm getting these errors while compiling:
>
> $ make
> psp-gcc -c -Wall -pedantic socket.c
> In file included from /usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/in
> clude/sys/socket.h:15,
> from socket.c:10:
> /usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/include/cygwin/socket.h:
> 30: error: parse error before '__uid32_t'
> In file included from /usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/sy
> s-include/unistd.h:4,
> from socket.c:15:
> /usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/sys-include/sys/unistd.h
> : In function '__declspec':
> /usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/sys-include/sys/unistd.h
>
> Is this an issue with Cygwin since these are include files? Or is this
> a psp-gcc issue?
I'm sorry that I cannot help much here since I have no idea what PSP is.
I guess you are building a cross compiler? Is the target platfrom using
newlib as C runtime? Why should cygwin headers fit for your target
platform?
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list