unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* mingw patch
@ 2005-04-27 22:06 Jan Nieuwenhuizen
  2005-04-29 23:54 ` Kevin Ryde
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Nieuwenhuizen @ 2005-04-27 22:06 UTC (permalink / raw)
  Cc: Han-Wen Nienhuys


To compile guile-CVS for mingw today, I needed the patch below.

Jan.

Index: configure.in
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/configure.in,v
retrieving revision 1.265
diff -p -u -r1.265 configure.in
--- configure.in	13 Mar 2005 00:36:50 -0000	1.265
+++ configure.in	27 Apr 2005 20:41:59 -0000
@@ -1096,7 +1096,7 @@ esac
 ##
 ## Remove fileblocks.o from the object list.  This file gets added by
 ## the Autoconf macro AC_STRUCT_ST_BLOCKS.  But there is no need.
-#LIBOBJS="`echo ${LIBOBJS} | sed 's/fileblocks\.o//g'`"
+LIBOBJS="`echo ${LIBOBJS} | sed 's/fileblocks\.o//g'`"
 
 ## If we're creating a shared library (using libtool!), then we'll
 ## need to generate a list of .lo files corresponding to the .o files
Index: libguile/ChangeLog
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/ChangeLog,v
retrieving revision 1.2265
diff -p -u -r1.2265 ChangeLog
--- libguile/ChangeLog	25 Apr 2005 00:04:02 -0000	1.2265
+++ libguile/ChangeLog	27 Apr 2005 20:42:01 -0000
@@ -1,3 +1,18 @@
+2005-04-26  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+	* socket.c (socklen_t)[__MINGW32__]: Use int.
+	(s_scm_setsockopt)[__MINGW32__]: Do not use ip_mreq code.
+
+	* numbers.h (isnan)[__MINGW32__]: Remove.
+
+	* Makefile.am (gen_scmconfig_SOURCES): Bugfix: Add
+	DEFAULT_INCLUDES when cross compiling.
+
+	* threads.c (ETIMEDOUT, pipe)[__MINGW32__]: Add defines.
+
+	* stime.c (s_scm_strftime)[!HAVE_TM_ZONE]: Use scm_vector_elements
+	instead of SCM_VELTS.
+
 2005-04-25  Kevin Ryde  <user42@zip.com.au>
 
 	* ramap.c (scm_array_map_x): Allow no source args, add num args checks
Index: libguile/Makefile.am
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/Makefile.am,v
retrieving revision 1.202
diff -p -u -r1.202 Makefile.am
--- libguile/Makefile.am	8 Mar 2005 00:53:21 -0000	1.202
+++ libguile/Makefile.am	27 Apr 2005 20:42:01 -0000
@@ -42,7 +42,7 @@ gen_scmconfig_SOURCES = gen-scmconfig.c
 ## For some reason, OBJEXT does not include the dot
 gen-scmconfig.$(OBJEXT): gen-scmconfig.c
 	if [ "$(cross_compiling)" = "yes" ]; then \
-		$(CC_FOR_BUILD) $(DEFS) $(INCLUDES) -c -o $@ $<; \
+		$(CC_FOR_BUILD) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ $<; \
 	else \
 		$(COMPILE) -c -o $@ $<; \
 	fi
Index: libguile/guile.c
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/guile.c,v
retrieving revision 1.18
diff -p -u -r1.18 guile.c
--- libguile/guile.c	22 Oct 2004 13:01:59 -0000	1.18
+++ libguile/guile.c	27 Apr 2005 20:42:01 -0000
@@ -66,7 +66,7 @@ inner_main (void *closure SCM_UNUSED, in
 int
 main (int argc, char **argv)
 {
-#if !defined (__MINGW32__)
+#ifdef __MINGW32__
   /* libtool automagically inserts this variable into your executable... */
   extern const lt_dlsymlist lt_preloaded_symbols[];
   lt_dlpreload_default (lt_preloaded_symbols);
Index: libguile/numbers.h
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/numbers.h,v
retrieving revision 1.99
diff -p -u -r1.99 numbers.h
--- libguile/numbers.h	14 Apr 2005 00:35:50 -0000	1.99
+++ libguile/numbers.h	27 Apr 2005 20:42:01 -0000
@@ -92,7 +92,6 @@
 #  include <float.h>
 #  ifdef __MINGW32__
 #   define copysign _copysign
-#   define isnan _isnan
 #   define finite _finite
 #  endif /* __MINGW32__ */
 # endif /* ndef GO32 */
Index: libguile/socket.c
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/socket.c,v
retrieving revision 1.112
diff -p -u -r1.112 socket.c
--- libguile/socket.c	27 Feb 2005 23:50:30 -0000	1.112
+++ libguile/socket.c	27 Apr 2005 20:42:02 -0000
@@ -37,6 +37,7 @@
 #include "libguile/socket.h"
 
 #ifdef __MINGW32__
+#define socklen_t int
 #include "win32-socket.h"
 #endif
 
@@ -550,7 +551,10 @@ SCM_DEFINE (scm_setsockopt, "setsockopt"
 #ifdef HAVE_STRUCT_LINGER
   struct linger opt_linger;
 #endif
+
+#ifndef __MINGW32__
   struct ip_mreq opt_mreq;
+#endif
 
   const void *optval = NULL;
   socklen_t optlen = 0;
@@ -602,6 +606,7 @@ SCM_DEFINE (scm_setsockopt, "setsockopt"
 	  }
     }
 
+#ifndef __MINGW32__
   if (ilevel == IPPROTO_IP &&
       (ioptname == IP_ADD_MEMBERSHIP || ioptname == IP_DROP_MEMBERSHIP))
     {
@@ -612,6 +617,7 @@ SCM_DEFINE (scm_setsockopt, "setsockopt"
       optlen = sizeof (opt_mreq);
       optval = &opt_mreq;
     }
+#endif
 
   if (optval == NULL)
     {
Index: libguile/stime.c
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/stime.c,v
retrieving revision 1.102
diff -p -u -r1.102 stime.c
--- libguile/stime.c	7 Mar 2005 21:42:02 -0000	1.102
+++ libguile/stime.c	27 Apr 2005 20:42:02 -0000
@@ -653,7 +653,10 @@ SCM_DEFINE (scm_strftime, "strftime", 2,
        environment.  interrupts and thread switching must be deferred
        until TZ is restored.  */
     char **oldenv = NULL;
-    SCM *velts = (SCM *) SCM_VELTS (stime);
+    scm_t_array_handle handle;
+    size_t len;
+    ssize_t inc;
+    SCM *velts = scm_vector_elements (stime, &handle, &len, &inc);
     int have_zone = 0;
 
     if (scm_is_true (velts[10]) && *SCM_STRING_CHARS (velts[10]) != 0)
Index: libguile/threads.c
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/threads.c,v
retrieving revision 1.78
diff -p -u -r1.78 threads.c
--- libguile/threads.c	24 Mar 2005 10:21:22 -0000	1.78
+++ libguile/threads.c	27 Apr 2005 20:42:02 -0000
@@ -43,6 +43,15 @@
 #include "libguile/continuations.h"
 #include "libguile/init.h"
 
+#ifdef __MINGW32__
+#ifndef ETIMEDOUT
+# define ETIMEDOUT       WSAETIMEDOUT
+#endif
+# include <fcntl.h>
+# include <process.h>
+# define pipe(fd) _pipe (fd, 256, O_BINARY)
+#endif /* __MINGW32__ */
+
 /*** Queues */
 
 /* Make an empty queue data structure.

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mingw patch
  2005-04-27 22:06 mingw patch Jan Nieuwenhuizen
@ 2005-04-29 23:54 ` Kevin Ryde
  2005-05-02 18:51   ` Jan Nieuwenhuizen
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Ryde @ 2005-04-29 23:54 UTC (permalink / raw)
  Cc: Han-Wen Nienhuys, guile-devel

Jan Nieuwenhuizen <janneke@gnu.org> writes:
>
>  #ifdef __MINGW32__
> +#define socklen_t int

That'd be better as a HAVE_SOCKLEN_T.

> +#ifndef __MINGW32__
>    struct ip_mreq opt_mreq;

And this would definitely be better as a HAVE_STRUCT_IP_MREQ or
whatever.

Testing for features rather than system names means you don't have to
keep adapting to each new system, and if mingw or whatever gains some
features in the future then they're automatically used.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mingw patch
  2005-04-29 23:54 ` Kevin Ryde
@ 2005-05-02 18:51   ` Jan Nieuwenhuizen
  2005-05-18  8:00     ` heromyth
  2005-06-05 18:29     ` Marius Vollmer
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Nieuwenhuizen @ 2005-05-02 18:51 UTC (permalink / raw)
  Cc: Han-Wen Nienhuys

Kevin Ryde writes:

> That'd be better as a HAVE_SOCKLEN_T.
> And this would definitely be better as a HAVE_STRUCT_IP_MREQ or
> whatever.

Ok, better version below.

Jan.

Index: ChangeLog
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/ChangeLog,v
retrieving revision 1.463
diff -p -u -r1.463 ChangeLog
--- ChangeLog	13 Mar 2005 00:37:33 -0000	1.463
+++ ChangeLog	2 May 2005 13:23:36 -0000
@@ -1,3 +1,7 @@
+2005-05-02  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+	* configure.in: Add tests for socklen_t and ip_mreq.
+
 2005-03-13  Kevin Ryde  <user42@zip.com.au>
 
 	* configure.in, GUILE-VERSION (LIBGUILE_SRFI_SRFI_60): New defines.
Index: configure.in
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/configure.in,v
retrieving revision 1.265
diff -p -u -r1.265 configure.in
--- configure.in	13 Mar 2005 00:36:50 -0000	1.265
+++ configure.in	2 May 2005 13:23:37 -0000
@@ -520,6 +520,9 @@ AC_SUBST([SCM_I_GSC_T_UINTMAX])
 AC_SUBST([SCM_I_GSC_NEEDS_STDINT_H])
 AC_SUBST([SCM_I_GSC_NEEDS_INTTYPES_H])
 
+AC_CHECK_TYPE(socklen_t, int)
+AC_CHECK_TYPE(struct ip_mreq)
+
 AC_HEADER_STDC
 AC_HEADER_DIRENT
 AC_HEADER_TIME
Index: libguile/ChangeLog
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/ChangeLog,v
retrieving revision 1.2268
diff -p -u -r1.2268 ChangeLog
--- libguile/ChangeLog	30 Apr 2005 20:54:35 -0000	1.2268
+++ libguile/ChangeLog	2 May 2005 13:23:38 -0000
@@ -1,3 +1,20 @@
+2005-05-02  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+	* hashtab.h: Bugfix: use SCM_API (WAS: extern).
+
+	* socket.c: Remove obsolete comment about socklen_t.
+	(s_scm_setsockopt)[!HAVE_IP_MREQ]: Do not use ip_mreq code.
+
+	* numbers.h (isnan)[__MINGW32__]: Remove.
+
+	* Makefile.am (gen_scmconfig_SOURCES): Bugfix: Add
+	DEFAULT_INCLUDES when cross compiling.
+
+	* threads.c (ETIMEDOUT, pipe)[__MINGW32__]: Add defines.
+
+	* stime.c (s_scm_strftime)[!HAVE_TM_ZONE]: Use scm_vector_elements
+	instead of SCM_VELTS.
+
 2005-04-30  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
 	* list.h: remove scm_list()
Index: libguile/Makefile.am
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/Makefile.am,v
retrieving revision 1.202
diff -p -u -r1.202 Makefile.am
--- libguile/Makefile.am	8 Mar 2005 00:53:21 -0000	1.202
+++ libguile/Makefile.am	2 May 2005 13:23:38 -0000
@@ -42,7 +42,7 @@ gen_scmconfig_SOURCES = gen-scmconfig.c
 ## For some reason, OBJEXT does not include the dot
 gen-scmconfig.$(OBJEXT): gen-scmconfig.c
 	if [ "$(cross_compiling)" = "yes" ]; then \
-		$(CC_FOR_BUILD) $(DEFS) $(INCLUDES) -c -o $@ $<; \
+		$(CC_FOR_BUILD) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ $<; \
 	else \
 		$(COMPILE) -c -o $@ $<; \
 	fi
Index: libguile/hashtab.h
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/hashtab.h,v
retrieving revision 1.30
diff -p -u -r1.30 hashtab.h
--- libguile/hashtab.h	4 Apr 2005 14:53:27 -0000	1.30
+++ libguile/hashtab.h	2 May 2005 13:23:38 -0000
@@ -31,7 +31,7 @@
 #define SCM_HASHTABLEF_WEAK_CAR SCM_WVECTF_WEAK_KEY
 #define SCM_HASHTABLEF_WEAK_CDR SCM_WVECTF_WEAK_VALUE
 
-extern scm_t_bits scm_tc16_hashtable;
+SCM_API scm_t_bits scm_tc16_hashtable;
 
 #define SCM_HASHTABLE_P(x)	   SCM_SMOB_PREDICATE (scm_tc16_hashtable, x)
 #define SCM_VALIDATE_HASHTABLE(pos, arg) \
Index: libguile/numbers.h
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/numbers.h,v
retrieving revision 1.99
diff -p -u -r1.99 numbers.h
--- libguile/numbers.h	14 Apr 2005 00:35:50 -0000	1.99
+++ libguile/numbers.h	2 May 2005 13:23:38 -0000
@@ -92,7 +92,6 @@
 #  include <float.h>
 #  ifdef __MINGW32__
 #   define copysign _copysign
-#   define isnan _isnan
 #   define finite _finite
 #  endif /* __MINGW32__ */
 # endif /* ndef GO32 */
Index: libguile/socket.c
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/socket.c,v
retrieving revision 1.112
diff -p -u -r1.112 socket.c
--- libguile/socket.c	27 Feb 2005 23:50:30 -0000	1.112
+++ libguile/socket.c	2 May 2005 13:23:39 -0000
@@ -67,10 +67,6 @@
 		      + strlen ((ptr)->sun_path))
 #endif
 
-/* we are not currently using socklen_t.  it's not defined on all systems,
-   so would need to be checked by configure.  in the meantime, plain
-   int is the best alternative.  */
-
 \f
 
 SCM_DEFINE (scm_htons, "htons", 1, 0, 0, 
@@ -550,7 +546,10 @@ SCM_DEFINE (scm_setsockopt, "setsockopt"
 #ifdef HAVE_STRUCT_LINGER
   struct linger opt_linger;
 #endif
+
+#if HAVE_STRUCT_IP_MREQ
   struct ip_mreq opt_mreq;
+#endif
 
   const void *optval = NULL;
   socklen_t optlen = 0;
@@ -602,6 +601,7 @@ SCM_DEFINE (scm_setsockopt, "setsockopt"
 	  }
     }
 
+#if HAVE_STRUCT_IP_MREQ
   if (ilevel == IPPROTO_IP &&
       (ioptname == IP_ADD_MEMBERSHIP || ioptname == IP_DROP_MEMBERSHIP))
     {
@@ -612,6 +612,7 @@ SCM_DEFINE (scm_setsockopt, "setsockopt"
       optlen = sizeof (opt_mreq);
       optval = &opt_mreq;
     }
+#endif
 
   if (optval == NULL)
     {
Index: libguile/stime.c
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/stime.c,v
retrieving revision 1.102
diff -p -u -r1.102 stime.c
--- libguile/stime.c	7 Mar 2005 21:42:02 -0000	1.102
+++ libguile/stime.c	2 May 2005 13:23:39 -0000
@@ -653,7 +653,10 @@ SCM_DEFINE (scm_strftime, "strftime", 2,
        environment.  interrupts and thread switching must be deferred
        until TZ is restored.  */
     char **oldenv = NULL;
-    SCM *velts = (SCM *) SCM_VELTS (stime);
+    scm_t_array_handle handle;
+    size_t len;
+    ssize_t inc;
+    SCM *velts = scm_vector_elements (stime, &handle, &len, &inc);
     int have_zone = 0;
 
     if (scm_is_true (velts[10]) && *SCM_STRING_CHARS (velts[10]) != 0)
Index: libguile/threads.c
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/libguile/threads.c,v
retrieving revision 1.78
diff -p -u -r1.78 threads.c
--- libguile/threads.c	24 Mar 2005 10:21:22 -0000	1.78
+++ libguile/threads.c	2 May 2005 13:23:39 -0000
@@ -43,6 +43,15 @@
 #include "libguile/continuations.h"
 #include "libguile/init.h"
 
+#ifdef __MINGW32__
+#ifndef ETIMEDOUT
+# define ETIMEDOUT       WSAETIMEDOUT
+#endif
+# include <fcntl.h>
+# include <process.h>
+# define pipe(fd) _pipe (fd, 256, O_BINARY)
+#endif /* __MINGW32__ */
+
 /*** Queues */
 
 /* Make an empty queue data structure.


-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mingw patch
  2005-05-02 18:51   ` Jan Nieuwenhuizen
@ 2005-05-18  8:00     ` heromyth
  2005-06-05 18:29     ` Marius Vollmer
  1 sibling, 0 replies; 6+ messages in thread
From: heromyth @ 2005-05-18  8:00 UTC (permalink / raw)


Than you for your patch. After I patched, I can't link some files yet. 
Below is my steps and some messages which is caused by the steps:

$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I guile-config --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: configure.in: tracing
configure.in:56: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:393: AC_MINGW32 is expanded from...
configure.in:56: the top level
autoreconf: configure.in: subdirectory guile-readline to autoreconf
autoreconf: Entering directory `guile-readline'
autoreconf: running: aclocal  --output=aclocal.m4t
configure.in:19: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:363: AC_CYGWIN is expanded from...
configure.in:19: the top level
configure.in:20: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:393: AC_MINGW32 is expanded from...
configure.in:20: the top level
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --force
configure.in:19: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:363: AC_CYGWIN is expanded from...
configure.in:19: the top level
configure.in:20: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:393: AC_MINGW32 is expanded from...
configure.in:20: the top level
autoreconf: configure.in: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.in:19: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:363: AC_CYGWIN is expanded from...
configure.in:19: the top level
configure.in:20: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:393: AC_MINGW32 is expanded from...
configure.in:20: the top level
autoreconf: Leaving directory `guile-readline'
autoreconf: configure.in: AM_GNU_GETTEXT is used, but not 
AM_GNU_GETTEXT_VERSION
configure.in:56: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:393: AC_MINGW32 is expanded from...
configure.in:56: the top level
autoreconf: running: /usr/bin/autoheader --force
configure.in:56: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:393: AC_MINGW32 is expanded from...
configure.in:56: the top level
configure.in:56: warning: AC_CANONICAL_HOST invoked multiple times
autoconf/specific.m4:393: AC_MINGW32 is expanded from...
configure.in:56: the top level
Makefile.am:26: AM_GNU_GETTEXT used but `po' not in SUBDIRS
autoreconf: automake failed with exit status: 1


$ ../guile/guile-core/configure --prefix=/mingw --disable-shared 
--disable-error-on-warning
$ make.exe CFLAGS="-O3 -Wall -Wmissing-prototypes"

/bin/sh ../libtool --mode=link gcc  -O3 -Wall -Wmissing-prototypes    -o 
guile.exe -dlpreopen force  guile-guile.o libguile.la -lgmp -lws2_32 -lltdl
libtool: link: warning: library `/mingw/lib//libgmp.la' was moved.
libtool: link: warning: library `/mingw/lib//libgmp.la' was moved.
rm -f .libs/guile.exe.nm .libs/guile.exe.nmS .libs/guile.exe.nmT
creating .libs/guile.exeS.c
(cd .libs && gcc -c -fno-builtin "guile.exeS.c")
rm -f .libs/guile.exeS.c .libs/guile.exe.nm .libs/guile.exe.nmS 
.libs/guile.exe.nmT
gcc -O3 -Wall -Wmissing-prototypes -o guile.exe .libs/guile.exeS.o 
guile-guile.o -Wl,--export-dynamic  ./.libs/libguile.a 
/mingw/lib//libgmp.a -lws2_32 /usr/lib/libltdl.dll.a
guile-guile.o:guile.c:(.text+0x21): undefined reference to 
`_imp__gdb_options'
guile-guile.o:guile.c:(.text+0x2a): undefined reference to 
`_imp__gdb_language'
guile-guile.o:guile.c:(.text+0x2f): undefined reference to 
`_imp__gdb_result'
guile-guile.o:guile.c:(.text+0x3b): undefined reference to 
`_imp__gdb_output'
guile-guile.o:guile.c:(.text+0x47): undefined reference to 
`_imp__gdb_output_length'
guile-guile.o:guile.c:(.text+0x51): undefined reference to 
`_imp__gdb_maybe_valid_type_p'
guile-guile.o:guile.c:(.text+0x5d): undefined reference to `_imp__gdb_read'
guile-guile.o:guile.c:(.text+0x69): undefined reference to `_imp__gdb_eval'
guile-guile.o:guile.c:(.text+0x73): undefined reference to `_imp__gdb_print'
guile-guile.o:guile.c:(.text+0x7f): undefined reference to 
`_imp__gdb_binding'
guile-guile.o:guile.c:(.text+0xa3): undefined reference to `_imp__scm_shell'
guile-guile.o:guile.c:(.text+0xe6): undefined reference to 
`_imp__scm_boot_guile'
collect2: ld returned 1 exit status
rm -f .libs/guile.exeS.o
make.exe[2]: *** [guile.exe] Error 1

I have checked the source code of guile.c, but I didn't find what's 
wrong with anything. All the codes is downloaded from CVS. Can you give 
me some advices. Than you!





_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mingw patch
  2005-05-02 18:51   ` Jan Nieuwenhuizen
  2005-05-18  8:00     ` heromyth
@ 2005-06-05 18:29     ` Marius Vollmer
  2005-06-10 12:59       ` Jan Nieuwenhuizen
  1 sibling, 1 reply; 6+ messages in thread
From: Marius Vollmer @ 2005-06-05 18:29 UTC (permalink / raw)
  Cc: Han-Wen Nienhuys, guile-devel

Jan Nieuwenhuizen <janneke@gnu.org> writes:

> Ok, better version below.

Thanks, I applied it with a few changes to strftime.c.  Please check.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mingw patch
  2005-06-05 18:29     ` Marius Vollmer
@ 2005-06-10 12:59       ` Jan Nieuwenhuizen
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Nieuwenhuizen @ 2005-06-10 12:59 UTC (permalink / raw)
  Cc: Han-Wen Nienhuys, guile-devel

Marius Vollmer writes:

> Thanks, I applied it with a few changes to strftime.c.  Please check.

Yes, it's fine.  Thanks.

Jan.

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-06-10 12:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27 22:06 mingw patch Jan Nieuwenhuizen
2005-04-29 23:54 ` Kevin Ryde
2005-05-02 18:51   ` Jan Nieuwenhuizen
2005-05-18  8:00     ` heromyth
2005-06-05 18:29     ` Marius Vollmer
2005-06-10 12:59       ` Jan Nieuwenhuizen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).