libtool
[Top][All Lists]
Advanced

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

libtool on darwin #2


From: Christoph Egger
Subject: libtool on darwin #2
Date: Tue, 22 Oct 2002 15:43:47 +0200 (MEST)

uhmm... sorry for the resend.
I forgot to mention to CC me, as I am NOT subscribed on this list.



Hi!

I have found yet another libtool bug.
I am using autoconf 2.52, automake 1.6.1 and libtool (latest CVS version of
branch-1-4).

Short bug description: I can't link against a framework, because libtool
throughs the needed -framework param away.

Long description:

/bin/sh ../../libtool --mode=link gcc  -g -O2
-I/Users/christop/devel/ggiroot/include -D_REENTRANT -D_THREAD_SAFE -g -Wall
-framework ApplicationServices
-L/Users/christop/devel/ggiroot/lib -o quartz.la -rpath
/Users/christop/devel/ggiroot/lib/ggi/display  -module -no-undefined
-avoid-version
-export-symbols ./EXPSYMS mode.lo visual.lo ../../ggi/libggi.la -lgii -lgg 
mkdir .libs
rm -fr .libs/quartz.la .libs/quartz.* .libs/quartz.*
(cd . && ln -s mode.lo mode.o)
(cd . && ln -s visual.lo visual.o)

Up to here, everything is correct. Note the present -framework
ApplicationServices here.

gcc -r -keep_private_externs -nostdlib -o .libs/quartz.so-master.o  mode.lo
visual.lo && gcc -bundle  -o .libs/quartz.so .libs/quartz.so-master.o 
-L/Users/christop/devel/ggiroot/lib -L../../ggi/.libs -lggi -lgii -lgg -lc 

And here it is away! That leads to the following linking breakage:

ld: Undefined symbols:
_CGDisplayAvailableModes
_CGDisplayBestModeForParameters
_CGDisplayCurrentMode
_CGDisplayRelease
_CGDisplaySwitchToMode
_CGMainDisplayID
_CGPaletteCreateDefaultColorPalette
_CGPaletteRelease


Has anyone an idea, what's going wrong in libtool?


-- 
CU,

Christoph Egger
E-Mail: address@hidden

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!





reply via email to

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