Hi Li, Right, that seems wrong, since -export-dynamic is a libtool flag, so that should be in LDFLAGS not in CFLAGS, and only if libtool is used for linking.
Please file a bug for this upstream and add the bugid in the patch comments. Thanks, Laca On Sat, 2008-02-02 at 17:42 +0800, Li Yuan wrote: > Hi Laca, > > Thanks for your comments. > > On ???, 2008-02-02 at 20:18 +1300, Laszlo (Laca) Peter wrote: > > > > > > --- mousetweaks-2.21.1/src/Makefile.in 2008-01-28 > > 02:08:35.000000000 > > > +0800 > > > +++ mousetweaks-2.21.1/src/Makefile.in.new 2008-01-31 > > > 16:30:47.273394000 +0800 > > > @@ -257,8 +257,7 @@ > > > AM_CFLAGS = \ > > > -DGLADEDIR=\"$(gladedir)\" \ > > > -DDATADIR=\"$(datadir)\" \ > > > - -DLOCALEDIR=\"$(localedir)\" \ > > > - -Wall -export-dynamic > > > + -DLOCALEDIR=\"$(localedir)\" > > > > > > @BUILD_PCA_TRUE at pca_bin = pointer-capture-applet > > > @BUILD_CTA_TRUE at cta_bin = dwell-click-applet > > > > The -Wall flag should be reported upstream. > > Why was -export-dynamic removed? > > I got an error here: > > pkgbuild: /ws/onnv-tools-prc/SUNWspro/SS11/bin/cc -DGLADEDIR= > \"/usr/share/mousetweaks\" -DDATADIR=\"/usr/share\" -DLOCALEDIR= > \"/usr/share/locale\" -export-dynamic -i -xO4 -xspace -xstrconst > -xpentium -mr -xregs=no%frameptr -R/usr/X11/lib -L/usr/X11/lib > -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lsocket -lnsl > -lgdk-x11-2.0 -lXi -lXext -lX11 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib > -lpangocairo-1.0 -lfontconfig -lXrandr -lXcursor -lXcomposite -lXdamage > -lpango-1.0 -lcairo -lXfixes -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 > -lcspi -lspi -lbonobo-2 -latk-1.0 -lbonobo-activation -lORBit-2 > -lgthread-2.0 -lpthread -lthread -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 > -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -R/usr/X11/lib > -L/usr/X11/lib -lgnomeui-2 -lSM -lICE -lsocket -lnsl -lbonoboui-2 > -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 > -lbonobo-activation -lart_lgpl_2 -lgailutil -lgtk-x11-2.0 -lgdk-x11-2.0 > -lXi -lXext -lX11 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 > -lfontconfig -lXrandr -lXcursor -lXcomposite -lXdamage -lpango-1.0 > -lcairo -lXfixes -lgconf-2 -lgmodule-2.0 -lORBit-2 -lgthread-2.0 > -lpthread -lthread -lgobject-2.0 -lglib-2.0 -R/usr/X11/lib > -L/usr/X11/lib -lXfixes -Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect -o > mousetweaks mt-main.o mt-common.o mt-session.o mt-pidfile.o mt-dbus.o > mt-ctw.o mt-timer.o > pkgbuild: ld: fatal: entry point symbol `xport-dynamic' is undefined > pkgbuild: make[2]: *** [mousetweaks] Error 1 > pkgbuild: make[2]: Leaving directory > `/export/home/liyuan/packages/BUILD/SUNWgnome-a11y-mousetweaks-2.21.90/mousetweaks-2.21.90/src' > pkgbuild: make[1]: *** [all-recursive] Error 1 > > So I removed them. Do you have any ideas? > > Li >
