Mail Archives: cygwin/2003/05/23/15:15:35
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/
- Raw text -