| delorie.com/archives/browse.cgi | search |
Jason Tishler wrote:
>
> After doing a fresh checkout a few hours ago, I got the following build
> error:
>
> gcc ... ../../../src/libiberty/strerror.c
> ../../../src/libiberty/strerror.c:465: warning: static declaration for `sys_nerr' follows non-static
> ../../../src/libiberty/strerror.c:466: conflicting types for `sys_errlist'
> /home/jt/src/cygwin/src/newlib/libc/include/sys/errno.h:21: previous declaration of `sys_errlist'
> make[1]: *** [strerror.o] Error 1
> make[1]: Leaving directory `/home/jt/src/cygwin/build/i686-pc-cygwin/libiberty'
> make: *** [all-target-libiberty] Error 2
>
> I was able to workaround the above by applying the attached patch.
>
> Is this cockpit error? Or, does CVS currently not build?
>
> Thanks,
> Jason
>
> ------------------------------------------------------------------------
>
> error.h.diffName: error.h.diff
> Type: Plain Text (text/plain)
This is caused by the following patch. What's up Chris?
Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf AT cygnus DOT com>
* libc/include/sys/errno.h: Declare sys_errlist and sys_nerr,
under
Cygwin.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |