On Wed, 22 Jan 2003, Ian Collier wrote: > On Wed, Jan 22, 2003 at 02:36:15PM +0100, Richard Röjfors wrote: > > I read some previous mails in the mailinglist and found that there is > > problems linking the gui against a static libstdc++, but that should work > > if I pass the -mimpure-text flag to libtool. > > Yes, that looks like exactly the problem you have. > But I see you passed that flag and still got the errors. > > Could you possibly find out what arguments libtool is passing to > the compiler? (I don't know libtool at all, but it seems to me > that deleting the --silent flag might achieve something... perhaps > add a -v too.) > You are right. The flag isn't passed to g++ by libtool.
The following command is ran: g++ -shared -nostdlib /usr/pd/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/crti.o /usr/ccs/lib/values-Xa.o /usr/pd/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/crtbegin.o .libs/adduserdlg.o .libs/authuserdlg.o .libs/awaymsgdlg.o .libs/refusedlg.o .libs/chatdlg.o .libs/editgrp.o .libs/editfile.o .libs/eventdesc.o .libs/ewidgets.o .libs/filedlg.o .libs/licqgui.o .libs/mainwin.o .libs/messagebox.o .libs/mledit.o .libs/mlview2.o .libs/mlview3.o .libs/optionsdlg.o .libs/outputwin.o .libs/plugindlg.o .libs/registeruser.o .libs/searchuserdlg.o .libs/securitydlg.o .libs/showawaymsgdlg.o .libs/sigman.o .libs/skin.o .libs/skinbrowser.o .libs/userbox.o .libs/utilitydlg.o .libs/wharf.o .libs/randomchatdlg.o .libs/forwarddlg.o .libs/chatjoin.o .libs/mmlistview.o .libs/mmsenddlg.o .libs/userinfodlg.o .libs/usereventdlg.o .libs/keyrequestdlg.o .libs/jfcstyle.o .libs/usercodec.o .libs/reqauthdlg.o .libs/licqdialog.o -Wl,-R -Wl,/usr/openwin/lib -Wl,-R -Wl,/usr/pd/X11/qt-2.2.1/lib -L/usr/openwin/lib -L/usr/pd/X11/qt-2.2.1/lib -lsocket -lnsl -lqt -lSM -lICE -lX11 -lXext -L/usr/pd/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/pd/gnu/lib -lstdc++ -lm -lgcc -lc /usr/pd/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/crtend.o /usr/pd/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/crtn.o -Wl,-h -Wl,licq_qt-gui.so -o .libs/licq_qt-gui.so When I run it with the -mimpure-text flag added it passes! I don't have the time to look at libtool myself, but now you know the problem :) /Richard ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Licq-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-devel