Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42B7DBAB.4040503@familiehaase.de> Date: Tue, 21 Jun 2005 11:19:39 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: Rebirth Seph CC: cygwin AT cygwin DOT com Subject: Re: Compile errors, Cygwin issue or gcc? References: <21116aa70506201907778df932 AT mail DOT gmail DOT com> In-Reply-To: <21116aa70506201907778df932@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/