From kde-devel Mon Feb 18 16:39:52 2008 From: Giovanni Venturi Date: Mon, 18 Feb 2008 16:39:52 +0000 To: kde-devel Subject: linking problem with Qt trunk and other questions Message-Id: <200802181740.00264.giovanni () ksniffer ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=120335285918639 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============2021630304==" --===============2021630304== Content-Type: multipart/signed; boundary="nextPart5567695.VuHdkj5pL4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart5567695.VuHdkj5pL4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I was trying to compile qt-copy trunk... but I discovered Qt4.4 doesn't lik= e=20 gcc 4.1.2: -no-xmlpatterns..... Do not build the QtXmlPatterns module. + -xmlpatterns........ Build the QtXmlPatterns module. QtXmlPatterns is built if a decent C++ compiler is used and exceptions are enabled. /home/devel/kde4-sources/qt-copy/bin/rcc -name recipes=20 recipes.qrc -o .rcc/release-shared/qrc_recipes.cpp g++ -c -march=3Dpentium-m -O2 -pipe -mmmx -msse -fomit-frame-pointer -g -fn= o-exceptions -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_S= OURCE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SH= ARED -I../../../mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../= include/QtCore -I../../../include/QtGui -I../../../include/QtGui -I../../..= /include/QtXmlPatterns -I../../../include/QtXmlPatterns -I../../../include = =2DI.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qrc_re= cipes.o .rcc/release-shared/qrc_recipes.cpp g++ -Wl,--no-undefined -fno-exceptions -Wl,-rpath,/opt/qt4-dev/lib -Wl,-rpa= th,/opt/qt4-dev/lib -o=20 recipes .obj/release-shared/main.o .obj/release-shared/querymainwindow.o .o= bj/release-shared/moc_querymainwindow.o .obj/release-shared/qrc_recipes.o = -L/home/devel/kde4-sources/qt-copy/lib -lQtXmlPatterns -L/home/devel/kde4= =2Dsources/qt-copy/lib -lQtNetwork -pthread -pthread -pthread -pthread -pth= read -lQtGui -L/usr/X11R6/lib -lpng -lSM -lICE -pthread -pthread -lXi -lXre= nder -lXrandr -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthrea= d -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bi= n/ld:=20 cannot find -lQtXmlPatterns collect2: ld returned 1 exit status make[3]: *** [recipes] Error 1 make[3]: Leaving directory=20 `/home/devel/kde4-sources/qt-copy/examples/xmlpatterns/recipes' make[2]: *** [sub-recipes-make_default] Error 2 make[2]: Leaving directory=20 `/home/devel/kde4-sources/qt-copy/examples/xmlpatterns' make[1]: *** [sub-xmlpatterns-make_default] Error 2 make[1]: Leaving directory `/home/devel/kde4-sources/qt-copy/examples' make: *** [sub-examples-make_default-ordered] Error 2 I also disabled the QtXmlPatterns module: =2E/configure -qt-gif -no-exceptions -fast -prefix=20 $QTDIR -confirm-license -no-xmlpatterns during a normal configure of Qt4.4 (a configure without any options) I got= =20 directly: =2E.. QtXmlPatterns module no Phonon module ....... no =2E.. So If it disables the QtXmlPatterns why then it wants to link against it? Was this bug known? Will be fixed in the next snapshots versions, won't it? And Phonon... I have not installed gstreamer so I can understand it's been= =20 disabled, but I've got xine installed with all xine libs includes... Phonon= =20 wasn't based on xine backend too? Giovanni =2D-=20 A KDE Italian translator and KSniffer core developer Slackware GNU/Linux current version - kernel 2.6.24.2 KSniffer Project - http://www.ksniffer.org/ --nextPart5567695.VuHdkj5pL4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHubTZSs75tfejQJoRAtCWAKClK3WW+8T1g1k6ZkRMzoNQlL9vSgCfe9a+ 5EvA4hPC9Z8w5YGZn+xBniY= =tyZu -----END PGP SIGNATURE----- --nextPart5567695.VuHdkj5pL4-- --===============2021630304== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============2021630304==--