My system is: WinXP with MinGW installed, also I have compiled and installed libtool-2.2.6 and gmp-4.2.4.
For the elimination of previous errors I modified the file /libguile/guile.c: Changed lines
#ifdef __MINGW32__ # define SCM_IMPORT 1 #endif
with
#ifdef __MINGW32__
# undef SCM_IMPORT
#endif
The purpose of this modification was to eliminate these undefined references:
make[3]: Entering directory `/home/Andrius/guile-1.8.6/libguile' /bin/sh ../libtool --tag=CC --mode=link gcc -D__MINGW32__ -Wall -Wmissing-prototypes -Werror -o guile.exe guile-guile.o libguile.la -lgmp -lws2_32 -lm -lltdl
libtool: link: gcc -D__MINGW32__ -Wall -Wmissing-prototypes -Werror -o .libs/guile.exe guile-guile.o ./.libs/libguile.a -lgmp -lws2_32 -lltdl guile-guile.o:guile.c:(.text+0x23): undefined reference to `_imp__gdb_options'
guile-guile.o:guile.c:(.text+0x2d): undefined reference to `_imp__gdb_language' guile-guile.o:guile.c:(.text+0x37): undefined reference to `_imp__gdb_result' guile-guile.o:guile.c:(.text+0x41): undefined reference to `_imp__gdb_output'
guile-guile.o:guile.c:(.text+0x4b): undefined reference to `_imp__gdb_output_length' guile-guile.o:guile.c:(.text+0x55): undefined reference to `_imp__gdb_maybe_valid_type_p' guile-guile.o:guile.c:(.text+0x5f): 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+0x7d): undefined reference to `_imp__gdb_binding'
guile-guile.o:guile.c:(.text+0x94): undefined reference to `_imp__scm_shell' guile-guile.o:guile.c:(.text+0xe9): undefined reference to `_imp__scm_boot_guile' collect2: ld returned 1 exit status make[3]: *** [guile.exe] Error 1
In either way, I can't finish building the package successfully. I don't know if the modification to guile.c causes the texi errors or not. But I'd appreciate some comments on my situation.
Thank You.
P.S. feel free to ask more questions on my used configuration or anything else.