libtool
[Top][All Lists]
Advanced

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

Re: autogen on macosx/darwin


From: Bruce Korb
Subject: Re: autogen on macosx/darwin
Date: Sat, 03 Nov 2001 16:08:16 -0800

Todd Gureckis wrote:

A libtool question:

> > which should work correctly and always give _STR something
> > to stringify.
> 
> okay that worked...
> now:
> 
> /bin/sh ../libtool --mode=link cc  -g -O2   -o libopts.la -rpath
> /usr/local/lib -version-info 11:0:2 autoopts.lo boolean.lo
> enumeration.lo makeshell.lo numeric.lo pgusage.lo putshell.lo save.lo
> stack.lo streqvcmp.lo usage.lo version.lo
> ../snprintfv/snprintfv/libsnprintfvc.la
> rm -fr .libs/libopts.la .libs/libopts.* .libs/libopts.*
> cc -dynamiclib -undefined suppress -o .libs/libopts.9.2.0.dylib
> autoopts.lo boolean.lo enumeration.lo makeshell.lo numeric.lo pgusage.lo
> putshell.lo save.lo stack.lo streqvcmp.lo usage.lo version.lo -all_load
> ../snprintfv/snprintfv/.libs/libsnprintfvc.al
> ../snprintfv/snprintfv/.libs/libsnprintfvc.al -lc -install_name
> /usr/local/lib/libopts.9.dylib -compatibility_version 12
> -current_version 12.0
> ld: -undefined error must be used when -twolevel_namespace is in effect
> /usr/bin/libtool: internal link edit command failed
> make[3]: *** [libopts.la] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> i tried two versions of libtool (libtool14 and the 1.3.5-8 version)
> becuase libtool14 is in the unstable tree of the
> fink/apt-get darwin stuff.  is it asking to add a flag -undefined error
> to the cc command?

Replace "-undefined suppress" with "-undefined error"
That is a libtool question.  Again, my version, not yours:

> $ libtool --version
> ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)



reply via email to

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