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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 23 May 2003 14:56:46 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: DEEPA SIVASANKARANE cc: cygwin AT cygwin DOT com Subject: Re: /usr/include/sys/reent.h In-Reply-To: <12c2db7c.88a10b21.81e6c00@mirapointms2.wayne.edu> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Looks like you're using Cygwin headers to cross-compile apps for Linux. That's a no-no... Either your gcc include search path is screwed up, or you're missing a header file in /home/Administrator/uClinux-dist/linux-2.4.x/include/, so gcc finds it in /usr/include/. Igor On Fri, 23 May 2003, DEEPA SIVASANKARANE wrote: > Hi folks, > > On building linux in the CYGWIN env., I got a bunch of > these errors (below), which I could'nt figure out. > Any suggestions, please ? > > Thanx. > best regards, > Deepa > > In file included from /home/Administrator/uClinux-dist/linux-2.4.x/include/asm/string.h:15, > /usr/include/sys/reent.h: At top level: > /usr/include/sys/reent.h:172: parse error before '*' token > /usr/include/sys/reent.h:172: `__cdecl' declared as function returning a function > /usr/include/sys/reent.h:172: warning: function declaration isn't a prototype > /usr/include/sys/reent.h:172: field `__cdecl' declared as a function > /usr/include/sys/reent.h:173: parse error before '*' token > /usr/include/sys/reent.h:174: `__cdecl' declared as function returning a function > /usr/include/sys/reent.h:174: warning: function declaration isn't a prototype > /usr/include/sys/reent.h:174: field `__cdecl' declared as a function > /usr/include/sys/reent.h:175: parse error before '*' token > /usr/include/sys/reent.h:175: `__cdecl' declared as function returning a function > /usr/include/sys/reent.h:175: warning: function declaration isn't a prototype > /usr/include/sys/reent.h:175: field `__cdecl' declared as a function > /usr/include/sys/reent.h:176: parse error before '*' token > /usr/include/sys/reent.h:176: `__cdecl' declared as function returning a function > /usr/include/sys/reent.h:176: warning: function declaration isn't a prototype > /usr/include/sys/reent.h:176: field `__cdecl' declared as a function > /usr/include/sys/reent.h:174: duplicate member `__cdecl' > /usr/include/sys/reent.h:175: duplicate member `__cdecl' > /usr/include/sys/reent.h:176: duplicate member `__cdecl' > /usr/include/sys/reent.h:547: parse error before '*' token > /usr/include/sys/reent.h:547: `__cdecl' declared as function returning a function > /usr/include/sys/reent.h:547: warning: function declaration isn't a prototype > /usr/include/sys/reent.h:547: field `__cdecl' declared as a function -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/