[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    linking problem with Qt trunk and other questions
From:       Giovanni Venturi <giovanni () ksniffer ! org>
Date:       2008-02-18 16:39:52
Message-ID: 200802181740.00264.giovanni () ksniffer ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hello,
I was trying to compile qt-copy trunk... but I discovered Qt4.4 doesn't like 
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 
recipes.qrc -o .rcc/release-shared/qrc_recipes.cpp
g++ -c -march=pentium-m -O2 -pipe -mmmx -msse -fomit-frame-pointer -g -fno-exceptions \
-O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG \
-DQT_XMLPATTERNS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED \
-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 -I.moc/release-shared \
-I.uic/release-shared -o .obj/release-shared/qrc_recipes.o \
.rcc/release-shared/qrc_recipes.cpp g++ -Wl,--no-undefined -fno-exceptions \
-Wl,-rpath,/opt/qt4-dev/lib -Wl,-rpath,/opt/qt4-dev/lib -o  recipes \
.obj/release-shared/main.o .obj/release-shared/querymainwindow.o \
.obj/release-shared/moc_querymainwindow.o .obj/release-shared/qrc_recipes.o    \
-L/home/devel/kde4-sources/qt-copy/lib -lQtXmlPatterns \
-L/home/devel/kde4-sources/qt-copy/lib -lQtNetwork -pthread -pthread -pthread \
-pthread -pthread -lQtGui -L/usr/X11R6/lib -lpng -lSM -lICE -pthread -pthread -lXi \
-lXrender -lXrandr -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread \
                -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld: 
cannot find -lQtXmlPatterns
collect2: ld returned 1 exit status
make[3]: *** [recipes] Error 1
make[3]: Leaving directory 
`/home/devel/kde4-sources/qt-copy/examples/xmlpatterns/recipes'
make[2]: *** [sub-recipes-make_default] Error 2
make[2]: Leaving directory 
`/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:

./configure -qt-gif -no-exceptions -fast -prefix 
$QTDIR -confirm-license -no-xmlpatterns

during a normal configure of Qt4.4 (a configure without any options) I got 
directly:
...
QtXmlPatterns module  no
Phonon module ....... no
...

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 
disabled, but I've got xine installed with all xine libs includes... Phonon 
wasn't based on xine backend too?

Giovanni

-- 
A KDE Italian translator and KSniffer core developer
Slackware GNU/Linux current version - kernel 2.6.24.2
KSniffer Project - http://www.ksniffer.org/


["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic