[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fink guile make error

From: Thien-Thi Nguyen
Subject: Re: fink guile make error
Date: Fri, 05 Dec 2003 03:17:39 -0500

   From: Chris Beamis <address@hidden>
   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 
   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 
   ld: Undefined symbols:

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;
extern char **environ;

you can hint the guile-w/-fink maintainer to look at:


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, available at: <http://www.glug.org/alt/>.  since
you are already brave enough to build from source, i recommend grabbing and giving it a try.  IIRC there are some other osx-specific
modifications already applied in that version.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]