* fink guile make error
@ 2003-12-05 4:28 Chris Beamis
2003-12-05 8:17 ` Thien-Thi Nguyen
0 siblings, 1 reply; 2+ messages in thread
From: Chris Beamis @ 2003-12-05 4:28 UTC (permalink / raw)
Hi, I hope someone can help me with this.
I've been trying to update a fink installation on my Mac running OS X
10.2.8, but it stops with errors when compiling guile. This is the
message I get, including stuff preceding where it bombs is:
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -I/sw/include -g -O2 -Wall
-Wmissing-prototypes -c posix.c -o posix.o >/dev/null 2>&1
mv -f .libs/posix.lo posix.lo
PATH=.:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
./guile-doc-snarf net_db.c -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl
-I/sw/include -g -O2 -Wall -Wmissing-prototypes net_db.c > net_db.x \
|| { rm net_db.x; false; }
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.. -I./..
-I../libltdl -I/sw/include -g -O2 -Wall -Wmissing-prototypes -c
net_db.c
rm -f .libs/net_db.lo
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -I/sw/include -g -O2 -Wall
-Wmissing-prototypes -c net_db.c -fno-common -DPIC -o .libs/net_db.lo
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -I/sw/include -g -O2 -Wall
-Wmissing-prototypes -c net_db.c -o net_db.o >/dev/null 2>&1
mv -f .libs/net_db.lo net_db.lo
PATH=.:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
./guile-doc-snarf socket.c -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl
-I/sw/include -g -O2 -Wall -Wmissing-prototypes socket.c > socket.x \
|| { rm socket.x; false; }
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.. -I./..
-I../libltdl -I/sw/include -g -O2 -Wall -Wmissing-prototypes -c
socket.c
rm -f .libs/socket.lo
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -I/sw/include -g -O2 -Wall
-Wmissing-prototypes -c socket.c -fno-common -DPIC -o .libs/socket.lo
socket.c: In function `scm_getsockopt':
socket.c:242: warning: passing arg 5 of `getsockopt' from incompatible
pointer type
socket.c: In function `scm_accept':
socket.c:627: warning: passing arg 3 of `accept' from incompatible
pointer type
socket.c: In function `scm_getsockname':
socket.c:652: warning: passing arg 3 of `getsockname' from incompatible
pointer type
socket.c: In function `scm_getpeername':
socket.c:677: warning: passing arg 3 of `getpeername' from incompatible
pointer type
socket.c: In function `scm_recvfrom':
socket.c:812: warning: passing arg 6 of `recvfrom' from incompatible
pointer type
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -I/sw/include -g -O2 -Wall
-Wmissing-prototypes -c socket.c -o socket.o >/dev/null 2>&1
mv -f .libs/socket.lo socket.lo
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Wmissing-prototypes
-L/sw/lib -o libguile.la -rpath /sw/lib -version-info 9:0:0
-export-dynamic alist.lo arbiters.lo async.lo backtrace.lo boolean.lo
chars.lo continuations.lo debug.lo dynl.lo dynwind.lo eq.lo error.lo
eval.lo evalext.lo feature.lo fluids.lo fports.lo gc.lo gdbint.lo
gh_data.lo gh_eval.lo gh_funcs.lo gh_init.lo gh_io.lo gh_list.lo
gh_predicates.lo gsubr.lo guardians.lo hash.lo hashtab.lo hooks.lo
init.lo ioext.lo iselect.lo keywords.lo lang.lo list.lo load.lo
macros.lo mallocs.lo modules.lo numbers.lo objects.lo objprop.lo
options.lo pairs.lo ports.lo print.lo procprop.lo procs.lo random.lo
read.lo root.lo scmsigs.lo script.lo simpos.lo smob.lo sort.lo
srcprop.lo stackchk.lo stacks.lo stime.lo strings.lo strop.lo
strorder.lo strports.lo struct.lo symbols.lo tag.lo throw.lo
variable.lo vectors.lo version.lo vports.lo weaks.lo regex-posix.lo
ramap.lo unif.lo filesys.lo posix.lo net_db.lo socket.lo
../libltdl/libltdlc.la -lm
rm -fr .libs/libguile.la .libs/libguile.* .libs/libguile.*
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libguile.9.0.0.dylib alist.lo arbiters.lo async.lo backtrace.lo
boolean.lo chars.lo continuations.lo debug.lo dynl.lo dynwind.lo eq.lo
error.lo eval.lo evalext.lo feature.lo fluids.lo fports.lo gc.lo
gdbint.lo gh_data.lo gh_eval.lo gh_funcs.lo gh_init.lo gh_io.lo
gh_list.lo gh_predicates.lo gsubr.lo guardians.lo hash.lo hashtab.lo
hooks.lo init.lo ioext.lo iselect.lo keywords.lo lang.lo list.lo
load.lo macros.lo mallocs.lo modules.lo numbers.lo objects.lo
objprop.lo options.lo pairs.lo ports.lo print.lo procprop.lo procs.lo
random.lo read.lo root.lo scmsigs.lo script.lo simpos.lo smob.lo
sort.lo srcprop.lo stackchk.lo stacks.lo stime.lo strings.lo strop.lo
strorder.lo strports.lo struct.lo symbols.lo tag.lo throw.lo
variable.lo vectors.lo version.lo vports.lo weaks.lo regex-posix.lo
ramap.lo unif.lo filesys.lo posix.lo net_db.lo socket.lo -all_load
../libltdl/.libs/libltdlc.al -L/sw/lib -ldl -lm -lc -install_name
/sw/lib/libguile.9.dylib -compatibility_version 10 -current_version 10.0
ld: warning -dylib_install_name /sw/lib/libguile.9.dylib not found in
segment address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table
ld: warning -undefined suppress disables -prebind
(cd .libs && rm -f libguile.9.dylib && ln -s libguile.9.0.0.dylib
libguile.9.dylib)
(cd .libs && rm -f libguile.dylib && ln -s libguile.9.0.0.dylib
libguile.dylib)
rm -fr .libs/libguile.lax
mkdir .libs/libguile.lax
rm -fr .libs/libguile.lax/libltdlc.al
mkdir .libs/libguile.lax/libltdlc.al
(cd .libs/libguile.lax/libltdlc.al && ar x
/sw/src/guile-1.4-16/guile-1.4/libguile/../libltdl/.libs/libltdlc.al)
ar cru .libs/libguile.a alist.o arbiters.o async.o backtrace.o
boolean.o chars.o continuations.o debug.o dynl.o dynwind.o eq.o error.o
eval.o evalext.o feature.o fluids.o fports.o gc.o gdbint.o gh_data.o
gh_eval.o gh_funcs.o gh_init.o gh_io.o gh_list.o gh_predicates.o
gsubr.o guardians.o hash.o hashtab.o hooks.o init.o ioext.o iselect.o
keywords.o lang.o list.o load.o macros.o mallocs.o modules.o numbers.o
objects.o objprop.o options.o pairs.o ports.o print.o procprop.o
procs.o random.o read.o root.o scmsigs.o script.o simpos.o smob.o
sort.o srcprop.o stackchk.o stacks.o stime.o strings.o strop.o
strorder.o strports.o struct.o symbols.o tag.o throw.o variable.o
vectors.o version.o vports.o weaks.o regex-posix.o ramap.o unif.o
filesys.o posix.o net_db.o socket.o
.libs/libguile.lax/libltdlc.al/ltdl.lo
ranlib .libs/libguile.a
rm -fr .libs/libguile.lax
creating libguile.la
(cd .libs && rm -f libguile.la && ln -s ../libguile.la libguile.la)
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -I/sw/include -g -O2
-Wall -Wmissing-prototypes -c guile.c
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Wmissing-prototypes
-L/sw/lib -o guile -dlpreopen force guile.o libguile.la -lm
rm -f .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
creating .libs/guileS.c
(cd .libs && gcc -c -fno-builtin "guileS.c")
rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
gcc -g -O2 -Wall -Wmissing-prototypes -L/sw/lib -o .libs/guile
.libs/guileS.o guile.o -L.libs -lguile -ldl -lm -lm
ld: warning prebinding disabled because dependent library:
/sw/lib/libguile.12.dylib is not prebound
ld: warning multiple definitions of symbol _environ
/usr/lib/crt1.o definition of _environ in section (__DATA,__data)
/sw/lib/libguile.dylib(libguile.12.3.0.dylib-master.o) definition of
_environ
ld: Undefined symbols:
_lt_dlpreload_default
make[1]: *** [guile] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2
Failed: compiling guile-1.4-16 failed
I asked about this on the Fink Beginners list but no one was able to
help.
Thanks,
Chris
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fink guile make error
2003-12-05 4:28 fink guile make error Chris Beamis
@ 2003-12-05 8:17 ` Thien-Thi Nguyen
0 siblings, 0 replies; 2+ messages in thread
From: Thien-Thi Nguyen @ 2003-12-05 8:17 UTC (permalink / raw)
Cc: bug-guile
From: Chris Beamis <beamis@drizzle.com>
Date: Thu, 4 Dec 2003 20:28:16 -0800
[...]
ld: warning -dylib_install_name /sw/lib/libguile.9.dylib not found in
segment address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table
ld: warning -undefined suppress disables -prebind
i don't undertstand these warnings.
[...]
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Wmissing-prototypes
-L/sw/lib -o guile -dlpreopen force guile.o libguile.la -lm
rm -f .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
creating .libs/guileS.c
(cd .libs && gcc -c -fno-builtin "guileS.c")
rm -f .libs/guileS.c .libs/guile.nm .libs/guile.nmS .libs/guile.nmT
gcc -g -O2 -Wall -Wmissing-prototypes -L/sw/lib -o .libs/guile
.libs/guileS.o guile.o -L.libs -lguile -ldl -lm -lm
ld: warning prebinding disabled because dependent library:
/sw/lib/libguile.12.dylib is not prebound
ld: warning multiple definitions of symbol _environ
/usr/lib/crt1.o definition of _environ in section (__DATA,__data)
/sw/lib/libguile.dylib(libguile.12.3.0.dylib-master.o) definition of
_environ
ld: Undefined symbols:
_lt_dlpreload_default
to fix the lt_dlpreload_default problem probably requires that you
determine whether or not that symbol is available in the libltdl
installed on your system. i don't know how to go about that remotely,
but if you give me an account on your machine i can try to look into it.
(ping me off-list if you are amenable. same goes for any osx users
reading this. gpg key: <http://www.glug.org/people/ttn/gpg-key.txt>)
to fix the "environ" problem, change the naked "extern char **environ;"
in posix.c to read like so:
#ifdef __APPLE__
#include <crt_externs.h>
__private_extern__ char **environ;
#else
extern char **environ;
#endif
you can hint the guile-w/-fink maintainer to look at:
http://www.glug.org/snap/core-1-4/libguile/posix.c
where one can see this change applied in guile-1.4.x (in cvs), including
an informative comment by Aurelien Chanudet. also fyi, this change made
it into guile 1.4.1.97, available at: <http://www.glug.org/alt/>. since
you are already brave enough to build from source, i recommend grabbing
1.4.1.97 and giving it a try. IIRC there are some other osx-specific
modifications already applied in that version.
thi
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-05 8:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-05 4:28 fink guile make error Chris Beamis
2003-12-05 8:17 ` Thien-Thi Nguyen
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).