pkgsrc-Users archive

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

x11/kdelibs fails to compile with sunpro on solaris



Hi,

I try to build x11/kdelibs from pkgsrc-2009Q2 on solaris 10 with the sunpro compiler. It fails while linking with not finding libraries:
--snip--
libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libICE.la' seems to be moved
Undefined                       first referenced
 symbol                             in file
send .libs/dcopserver.o (symbol belongs to implicit dependency /lib/libsocket.so.1) void QFile::close() .libs/dcopserver.o (symbol belongs to implicit dependency /nilfisk/pkgsrc-2009Q2/qt3/lib/libqt-mt.so.3)
--snip--
plus a lot other symbols from qt.

Calling the build process like this, helps a bit:
LIBS="-lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lsocket -lnsl -lSM -lICE -lpthread" bmake install
It compile longer, but stops then like this:

--snip--
source='kspellui.cpp' object='kspellui.lo' libtool=yes \
DEPDIR=.deps depmode=none /nilfisk/pkgsrc-2009Q2/bin/pdksh ../admin/depcomp \ /nilfisk/pkgsrc-2009Q2/bin/pdksh ../libtool --silent --tag=CXX --mode=compile CC -DHAVE_CONFIG_H -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kjs -I../kdefx -I../interfaces -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdecore/network -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/nilfisk/pkgsrc-2009Q2/qt3/include -I/nilfisk/pkgsrc-2009Q2/include -I/nilfisk/pkgsrc-2009Q2/include -I/nilfisk/pkgsrc-2009Q2/include -mt -DQT_THREAD_SUPPORT -I/nilfisk/pkgsrc-2009Q2/include/krb5 -I/nilfisk/pkgsrc-2009Q2/include -I/nilfisk/pkgsrc-2009Q2/include/db4 -I/usr/include -I/nilfisk/pkgsrc-2009Q2/qt3/include -I/nilfisk/pkgsrc-2009Q2/include/freetype2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -DNDEBUG -DNO_DEBUG -O -I/nilfisk/pkgsrc-2009Q2/include/krb5 -I/nilfisk/pkgsrc-2009Q2/include -I/nilfisk/pkgsrc-2009Q2/include/db4 -I/usr/include -I/nilfisk/pkgsrc-2009Q2/qt3/include -I/nilfisk/pkgsrc-2009Q2/include/freetype2 -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kspellui.lo kspellui.cpp /nilfisk/pkgsrc-2009Q2/bin/pdksh ../libtool --silent --tag=CXX --mode=link CC -DNDEBUG -DNO_DEBUG -O -I/nilfisk/pkgsrc-2009Q2/include/krb5 -I/nilfisk/pkgsrc-2009Q2/include -I/nilfisk/pkgsrc-2009Q2/include/db4 -I/usr/include -I/nilfisk/pkgsrc-2009Q2/qt3/include -I/nilfisk/pkgsrc-2009Q2/include/freetype2 -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -mt -no-undefined -version-info 6:0:2 -L/nilfisk/pkgsrc-2009Q2/qt3/lib -L/nilfisk/pkgsrc-2009Q2/lib -Wl,-R/nilfisk/pkgsrc-2009Q2/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/nilfisk/pkgsrc-2009Q2/qt3/lib -o libkdeui.la -rpath /nilfisk/pkgsrc-2009Q2/lib qxembed.lo ksharedpixmap.lo kpixmapio.lo kpopupmenu.lo ktoolbar.lo kaction.lo kstdaction.lo kactioncollection.lo kactionclasses.lo kurllabel.lo kmenubar.lo kinputdialog.lo knuminput.lo klineedit.lo klistview.lo kprogress.lo kcolordialog.lo kselect.lo kdatepicker.lo kdatetbl.lo kfontrequester.lo kfontdialog.lo ktabctl.lo kstatusbar.lo kmainwindow.lo keditlistbox.lo kscrollview.lo kseparator.lo krestrictedline.lo kcolorbutton.lo ksystemtray.lo kbuttonbox.lo keditcl1.lo keditcl2.lo kled.lo kshortcutdialog.lo kkeybutton.lo kkeydialog.lo kruler.lo kcursor.lo klineeditdlg.lo kcharselect.lo kcolordrag.lo knumvalidator.lo kdialog.lo kdialogbase.lo kjanuswidget.lo kaboutdialog.lo kauthicon.lo kmessagebox.lo kdualcolorbutton.lo ktoolbarradiogroup.lo ktoolbarbutton.lo ktextbrowser.lo khelpmenu.lo kswitchlanguagedialog.lo kcmenumngr.lo kpanelmenu.lo kiconview.lo klistbox.lo kwordwrap.lo kbugreport.lo kcombobox.lo kpassdlg.lo kxmlguiclient.lo kxmlguifactory.lo kxmlguifactory_p.lo kxmlguibuilder.lo kedittoolbar.lo kpanelappmenu.lo kdockwidget.lo kdockwidget_private.lo kanimwidget.lo krootpixmap.lo kaboutkde.lo kaboutapplication.lo kpanelapplet.lo kdcopactionproxy.lo kcolorcombo.lo kpushbutton.lo kpanelextension.lo kcompletionbox.lo ksqueezedtextlabel.lo kcmodule.lo kcommand.lo kwindowlistmenu.lo kfontcombo.lo ktip.lo kdatewidget.lo karrowbutton.lo kmainwindowiface.lo kguiitem.lo kstdguiitem.lo kstringvalidator.lo kactivelabel.lo kwindowinfo.lo ktextedit.lo kwizard.lo kpassivepopup.lo ktoolbarhandler.lo kdatetimewidget.lo ktimewidget.lo ktimezonewidget.lo ksconfig.lo kspelldlg.lo kspell.lo ksyntaxhighlighter.lo ktabbar.lo ktabwidget.lo ksplashscreen.lo kconfigdialog.lo kactionselector.lo klanguagebutton.lo klistviewsearchline.lo kpixmapregionselectorwidget.lo kpixmapregionselectordialog.lo kwhatsthismanager.lo kiconviewsearchline.lo ktoolbarlabelaction.lo kmainwindowiface_skel.lo kshortcutdialog_simple.lo kshortcutdialog_advanced.lo kspellui.lo ../kdecore/libkdecore.la -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lsocket -lnsl -lSM -lICE -lpthread -ldb4 libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libGL.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXmu.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXt.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXrandr.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXcursor.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXfixes.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXinerama.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXft.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libfontconfig.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libfreetype.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libexpat.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libiconv.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXau.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXdmcp.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libart_lgpl_2.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libidn.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXrender.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libpng.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libz.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXext.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libX11.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libSM.la' seems to be moved libtool: link: warning: `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libICE.la' seems to be moved libtool: link: warning: library `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libpng.la' was moved. libtool: link: warning: library `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libz.la' was moved. libtool: link: warning: library `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libXext.la' was moved. libtool: link: warning: library `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libX11.la' was moved. libtool: link: warning: library `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libSM.la' was moved. libtool: link: warning: library `/nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/.buildlink/lib/libICE.la' was moved.
Undefined                       first referenced
 symbol                             in file
void DCOPObject::virtual_hook(int,void*) .libs/kpanelappmenu.o (symbol belongs to implicit dependency /nilfisk/pkgsrc-2009Q2/usr/pkgsrc/x11/kdelibs3/work/kdelibs-3.5.10/dcop/.libs/libDCOP.so.4)
--snip--

If I add then -lDCOP and -lkdefx it works here. But I don't think thats the way to do it, or? It seems that there goes something wrong with adding the libraries.
Regards

Daniel


Home | Main Index | Thread Index | Old Index