[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in guile-1.4-1
From: |
Gerrit P. Haase |
Subject: |
bug in guile-1.4-1 |
Date: |
Sun, 23 Sep 2001 09:19:06 +0200 |
Hi,
I found a bug in guile-1.4-1:
[...]
r.o ./out/volta-spanner.o ./out/warn.o ./out/lexer.o ./out/parser.o
./out/../../flower/out
/library.a -pg -lkpathsea -lintl -s -pg -L/usr/local/lib -lguile -lregex
-lm
/usr/local/lib/libguile.a(net_db.o): In function `scm_resolv_error':
/home/cygwin/cygwin-1.3.2/usr/src/guile-1.4-build/libguile/../../guile-1.4/libguile/net_db
.c:195: undefined reference to `h_errno'
collect2: ld returned 1 exit status
make[1]: *** [out/lilypond] Error 1
rm out/lexer.cc out/parser.cc
make[1]: Leaving directory `/perl/stuff/sound/lilybuild/lilypond-1.5.11/lily'
make: *** [all] Error 2
On cygwin, i cannot use the libguile to lionk against, because h_errno needs
is exported from cygwin1.dll and needs not to be defined.
Patch is attached.
Without this patch, libguile.a is of no use on cygwin.
Gerrit
--
=^..^=
diff -urbN guile-1.4-orig/libguile/net_db.c guile-1.4-2/libguile/net_db.c
--- guile-1.4-orig/libguile/net_db.c Wed Jun 14 02:26:05 2000
+++ guile-1.4-2/libguile/net_db.c Tue Sep 18 03:46:45 2001
@@ -72,8 +72,10 @@
/* Some systems do not declare this. Some systems do declare it, as a
macro. */
+#ifndef __CYGWIN__
#ifndef h_errno
extern int h_errno;
+#endif
#endif
==================ENDE
- bug in guile-1.4-1,
Gerrit P. Haase <=