Sorry, for the delay. Is this still an issue?
Eric Hanchrow <[EMAIL PROTECTED]> writes:
> Building Guile 1.4 on Cygwin fails:
>
> gcc -g -O2 -Wall -Wmissing-prototypes -o guile .libs/guileS.o guile.o
> .libs/libguile.a -Wl,--export-dynamic
> .libs/libguile.a(net_db.o): In function `scm_resolv_error':
> /usr/local/src/guile-1.4/libguile/net_db.c:195: undefined reference to
> `h_errno'
> collect2: ld returned 1 exit status
> rm -f .libs/guileS.o
> make[1]: *** [guile] Error 1
>
> It appears that Martin attempted a fix for this in the current CVS sources,
> but that fix doesn't work for me. Instead, I suggest going a little further
> than Martin did:
>
> cd d:/cygwin/usr/local/src/guile-1.4/libguile/
> /cygdrive/d/cygwin/bin/diff -wu
> "d:/cygwin/usr/local/src/guile-1.4/libguile/net_db.c~"
> "d:/cygwin/usr/local/src/guile-1.4/libguile/net_db.c"
> --- d:/cygwin/usr/local/src/guile-1.4/libguile/net_db.c~ Thu Aug 9
> 10:08:58 2001
> +++ d:/cygwin/usr/local/src/guile-1.4/libguile/net_db.c Thu Aug 9 10:21:12
> 2001
> @@ -72,7 +72,7 @@
>
> /* Some systems do not declare this. Some systems do declare it, as a
> macro. */
> -#if !defined (h_errno) && !defined (__MINGW32__)
> +#if !defined (h_errno) && !defined (__MINGW32__) && !defined (__CYGWIN__)
> extern int h_errno;
> #endif
>
>
> Diff finished at Thu Aug 09 10:23:59
_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile