trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2011

Re: [trinity-devel] kdemultimedia SVN FTBFS

From: /dev/ammo42 <mickeytintincolle@...>
Date: Fri, 28 Oct 2011 12:53:39 +0200
Le Fri, 28 Oct 2011 06:42:41 +0200,
Francois Andriot <francois.andriot@...> a écrit :

> Hello, I get the following error both on RHEL6 and Fedora 15 while 
> compiling kdemultimedia SVN  1261048 :
> 
> ==============
> libtool: link: g++  -fPIC -DPIC -shared -nostdlib 
> /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/crti.o 
> /usr/lib/gcc/x86_64-redhat-linux/4.6.1/crtbeginS.o  .libs/kfile_m3u.o   
> -L/opt/trinity/lib64 -L/usr/lib64/qt-3.3/lib -L/usr/lib64 
> /opt/trinity/lib64/libkio.so -L/usr/lib/gcc/x86_64-redhat-linux/4.6.1 
> -L/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64 
> -L/lib/../lib64 -L/usr/lib/../lib64 
> -L/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../.. -lstdc++ -lm -lc 
> -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.6.1/crtendS.o 
> /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/crtn.o  -O2
> -O2 -m64 -mtune=generic -Wl,--as-needed -Wl,--enable-new-dtags 
> -Wl,--no-undefined -Wl,--allow-shlib-undefined   -Wl,-soname 
> -Wl,kfile_m3u.so -o .libs/kfile_m3u.so
> .libs/kfile_m3u.o: In function `KM3uPlugin::staticMetaObject()':
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.moc:63: 
> undefined reference to `QMetaObject::new_metaobject(char const*, 
> QMetaObject*, QMetaData const*, int, QMetaData const*, int, 
> QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*,
> int)' /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.moc:64: 
> undefined reference to
> `QMetaObjectCleanUp::setMetaObject(QMetaObject*&)' .libs/kfile_m3u.o:
> In function `~QString': /usr/lib64/qt-3.3/include/qstring.h:850:
> undefined reference to `QString::shared_null'
> /usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to 
> `QStringData::deleteSelf()'
> .libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&, 
> unsigned int)':
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:60: 
> undefined reference to `QFile::QFile(QString const&)'
> .libs/kfile_m3u.o: In function `~QString':
> /usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to 
> `QString::shared_null'
> /usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to 
> `QStringData::deleteSelf()'
> .libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&, 
> unsigned int)':
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:61: 
> undefined reference to `QFile::open(int)'
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:60: 
> undefined reference to `QFile::~QFile()'
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:62: 
> undefined reference to `QTextStream::QTextStream(QIODevice*)'
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:63: 
> undefined reference to
> `QTextStream::setEncoding(QTextStream::Encoding)' /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:66: 
> undefined reference to `QString::QString(char const*)'
> .libs/kfile_m3u.o: In function `~QString':
> /usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to 
> `QString::shared_null'
> /usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to 
> `QStringData::deleteSelf()'
> .libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&, 
> unsigned int)':
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:72: 
> undefined reference to `QTextStream::readLine()'
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:73: 
> undefined reference to `QString::QString(char const*)'
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:73: 
> undefined reference to `QString::startsWith(QString const&) const'
> .libs/kfile_m3u.o: In function `~QString':
> /usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to 
> `QString::shared_null'
> /usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to 
> `QStringData::deleteSelf()'
> /usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to 
> `QString::shared_null'
> /usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to 
> `QStringData::deleteSelf()'
> .libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&, 
> unsigned int)':
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:62: 
> undefined reference to `QTextStream::~QTextStream()'
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:75: 
> undefined reference to `QString::QString(char const*)'
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:75: 
> undefined reference to `QString::endsWith(QString const&) const'
> .libs/kfile_m3u.o: In function `~QString':
> /usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to 
> `QString::shared_null'
> /usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to 
> `QStringData::deleteSelf()'
> .libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&, 
> unsigned int)':
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:77: 
> undefined reference to `QString::stripWhiteSpace() const'
> .libs/kfile_m3u.o: In function `~QString':
> /usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to 
> `QString::shared_null'
> /usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to 
> `QStringData::deleteSelf()'
> .libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&, 
> unsigned int)':
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:78: 
> undefined reference to `QVariant::QVariant(QString const&)'
> /home/albator/rpmbuild/BUILD/kdemultimedia/kfile-plugins/m3u/kfile_m3u.cpp:78: 
> undefined reference to `i18n(char const*)'
> .libs/kfile_m3u.o: In function `QString::arg(int, int, int) const':
> /usr/lib64/qt-3.3/include/qstring.h:973: undefined reference to 
> `QString::arg(long long, int, int) const'
> .libs/kfile_m3u.o: In function `~QString':
> /usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to 
> `QString::shared_null'
> /usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to 
> `QStringData::deleteSelf()'
> /usr/lib64/qt-3.3/include/qstring.h:850: undefined reference to 
> `QString::shared_null'
> /usr/lib64/qt-3.3/include/qstring.h:851: undefined reference to 
> `QStringData::deleteSelf()'
> .libs/kfile_m3u.o: In function `KM3uPlugin::readInfo(KFileMetaInfo&, 
> unsigned int)':
> [...]
> and so on
> ==============
> 
> I do not understand where the problem come from... This is on my 
> reference configuration, on which other TDE packages compile
> correctly with the same environment and utilities.
> Any help appreciated !
You can check the libqt-mt.so library with the command
$ readelf --dyn-syms --wide /path/to/libqt-mt.so | c++filt
> 
> Thanks
> Francois Andriot
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-devel-unsubscribe@... For additional
> commands, e-mail: trinity-devel-help@... Read
> list messsages on the Web archive:
> http://trinity-devel.pearsoncomputing.net/ Please remember not to
> top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>