"Andrius Burokas (javamustang)" <javamust...@gmail.com> writes:
> Hello, > > I'm having troubles to compile guile from source (guile-1.8.6). I am getting > these errors: > ERROR: In procedure scm_i_lreadparen: > ERROR: #<unknown port>:1:7: end of file > make[3]: *** [guile-procedures.texi] Error 1 Can you post the first 10 lines of your libguile/alist.doc file? > 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. I would say those import errors are unconnected to the scm_i_lreadparen problem. Thanks, Neil