2009/3/24 Neil Jerram <n...@ossau.uklinux.net> > > "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? >
Sure: snarf_cookie brace_open (id . "cname") (id . "scm_acons") snarf_cookie (id . "fname") "acons" snarf_cookie (id . "type") (id . "primitive") ... but I guess Your question is whether the files libguile/*.doc are empty or not? Well, they are generated with content. Sure there may be problems with new line characters - I build on WinXP platform. > > 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. > Maybe, I just wanted to post the changes I made. > Thanks, > Neil -- Sincerely, Andrius Burokas +370 63196411 Vilnius