trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2011

Re: [trinity-devel] Building tde 3.5.13

From: Darrell Anderson <humanreadable@...>
Date: Thu, 8 Dec 2011 08:57:18 -0800 (PST)
> I am having mucho trouble compiling TDE-3.5.13 non cmake
> packages
> 
> I am getting things like the following (from kdemultimedia
> for example)
> 
> I think I have a path incorrect or something so....
> How do you "lookup" where these references are found (like
> which library file 
> etc) ?
> 
> .libs/kmixapplet.o: In function `KMixApplet::reportBug()':
> kmixapplet.cpp:(.text+0x21c): undefined reference to
> `QDialog::exec()'
> .libs/kmixapplet.o: In function
> `KMixApplet::resizeEvent(QResizeEvent*)':
> kmixapplet.cpp:(.text+0x312): undefined reference to 
> `QWidget::updateGeometry()'
> .libs/kmixapplet.o: In function
> `KMixApplet::staticMetaObject()':
> kmixapplet.cpp:(.text+0x465): undefined reference to 
> `QMetaObject::new_metaobject(char const*, QMetaObject*,
> QMetaData const*, 
> int, QMetaData const*, int, QMetaProperty const*, int,
> QMetaEnum const*, int, 
> QClassInfo const*, int)'
> kmixapplet.cpp:(.text+0x479): undefined reference to 
> `QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
> .libs/kmixapplet.o: In function
> `AppletConfigDialog::staticMetaObject()':
> kmixapplet.cpp:(.text+0x527): undefined reference to 
> `QMetaObject::new_metaobject(char const*, QMetaObject*,
> QMetaData const*, 
> int, QMetaData const*, int, QMetaProperty const*, int,
> QMetaEnum const*, int, 
> QClassInfo const*, int)'
> kmixapplet.cpp:(.text+0x53b): undefined reference to 
> `QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
> .libs/kmixapplet.o: In function `KMixApplet::about()':
> kmixapplet.cpp:(.text+0x647): undefined reference to
> `QDialog::exec()'
> .libs/kmixapplet.o: In function
> `AppletConfigDialog::activeColors(QColor&, 
> QColor&, QColor&) const':
> kmixapplet.cpp:(.text+0x81b): undefined reference to
> `QColor::QColor(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x82f): undefined reference to
> `QColor::operator=(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x84c): undefined reference to
> `QColor::QColor(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x85c): undefined reference to
> `QColor::operator=(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x87a): undefined reference to
> `QColor::QColor(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x88a): undefined reference to
> `QColor::operator=(QColor 
> const&)'
> .libs/kmixapplet.o: In function
> `AppletConfigDialog::mutedColors(QColor&, 
> QColor&, QColor&) const':
> kmixapplet.cpp:(.text+0x95b): undefined reference to
> `QColor::QColor(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x96f): undefined reference to
> `QColor::operator=(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x98c): undefined reference to
> `QColor::QColor(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x99c): undefined reference to
> `QColor::operator=(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x9bd): undefined reference to
> `QColor::QColor(QColor 
> const&)'
> kmixapplet.cpp:(.text+0x9cd): undefined reference to
> `QColor::operator=(QColor 
> const&)'
> .libs/kmixapplet.o: In function 
> `AppletConfigDialog::AppletConfigDialog(QWidget*, char
> const*)':
> kmixapplet.cpp:(.text+0xa9f): undefined reference to
> `QString::shared_null'
> kmixapplet.cpp:(.text+0xb23): undefined reference to
> `QString::shared_null'
> kmixapplet.cpp:(.text+0xb2f): undefined reference to 
> `QStringData::deleteSelf()'
> kmixapplet.cpp:(.text+0xb74): undefined reference to
> `i18n(char const*)'

Just my guess: I notice the calls to Qt3 are not through the TQt layer but directly to Qt3. For example, QStringData rather than TQStringData, QColor rather than TQColor, etc.

Make sure you rebuild Qt3 from the Trinity sources (Qt3-3.3.8.d), TQt, and are using the 3.5.13 tarballs. Make sure you are not building to the same PREFIX as KDE4 or KDE3.

Darrell