unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* ERROR: In procedure scm_i_lreadparen: #<unknown port>:1:7: end of  file
@ 2009-03-18 16:43 Andrius Burokas (javamustang)
  2009-03-24 20:38 ` Neil Jerram
  0 siblings, 1 reply; 4+ messages in thread
From: Andrius Burokas (javamustang) @ 2009-03-18 16:43 UTC (permalink / raw)
  To: bug-guile

[-- Attachment #1: Type: text/plain, Size: 3624 bytes --]

Hello,

  I'm having troubles to compile guile from source (guile-1.8.6). I am
getting these errors:

make[3]: Entering directory `/home/Andrius/guile-1.8.6/libguile'
cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc
continuations.doc debug.doc deprecation.doc deprecated.doc discouraged.doc
dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc
extensions.doc feature.doc fluids.doc fports.doc futures.doc gc.doc
goops.doc gsubr.doc gc-mark.doc gc-segment.doc gc-malloc.doc gc-card.doc
guardians.doc hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc
keywords.doc lang.doc list.doc load.doc macros.doc mallocs.doc modules.doc
numbers.doc objects.doc objprop.doc options.doc pairs.doc ports.doc
print.doc procprop.doc procs.doc properties.doc random.doc rdelim.doc
read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc
srcprop.doc stackchk.doc stacks.doc stime.doc strings.doc srfi-4.doc
srfi-13.doc srfi-14.doc strorder.doc strports.doc struct.doc symbols.doc
threads.doc throw.doc values.doc variable.doc vectors.doc version.doc
vports.doc weaks.doc ramap.doc unif.doc dynl.doc filesys.doc posix.doc
net_db.doc socket.doc win32-uname.doc win32-dirent.doc win32-socket.doc
inet_aton.doc mkstemp.doc | GUILE="/home/Andrius/guile-1.8.6/pre-inst-guile"
../scripts/snarf-check-and-output-texi          > guile-procedures.texi || {
rm guile-procedures.texi; false; }
ERROR: In procedure scm_i_lreadparen:
ERROR: #<unknown port>:1:7: end of file
make[3]: *** [guile-procedures.texi] Error 1

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.

[-- Attachment #2: Type: text/html, Size: 3926 bytes --]

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

end of thread, other threads:[~2009-10-18 21:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-18 16:43 ERROR: In procedure scm_i_lreadparen: #<unknown port>:1:7: end of file Andrius Burokas (javamustang)
2009-03-24 20:38 ` Neil Jerram
2009-03-30  9:07   ` Andrius Burokas (javamustang)
2009-10-18 21:41     ` Neil Jerram

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).