Compile errors, Cygwin issue or gcc?

Gerrit P. Haase gerrit@familiehaase.de
Wed Jun 22 14:52:00 GMT 2005


RebirthSeph wrote:

> Gerrit P. Haase wrote:
> 
>> 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
> 
> 
> I'm actually just building a source, attempting to port it to another 
> platform. Those files are simply includes in the header files of the 
> source I am trying to compile.

Sorry, I cannot support this as long as I don't know what 'psp-gcc' is.

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