Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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 <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: DEEPA SIVASANKARANE <aj9035@wayne.edu>
cc: cygwin@cygwin.com
Subject: Re: /usr/include/sys/reent.h
In-Reply-To: <12c2db7c.88a10b21.81e6c00@mirapointms2.wayne.edu>
Message-ID: <Pine.GSO.4.44.0305231454110.26092-100000@slinky.cs.nyu.edu>
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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/

