This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /usr/include/sys/reent.h


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]