On 12/08/2011 11:57 AM, Darrell Anderson wrote: >> 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 > > This build is on a new install of arch linux on a command line interface. Clean with nothing else installed. This machine did not have a desktop gui installed at all only a CLI interface, so not qt etc. During the build it pulls in the dependencies from arch which the build needs like libpng etc. This is how my build sequence is ( which is scripted of course) unpack tarball do the configure&&make&& makeinstall thing, which it will puke because it is missing libraries fixup the build script for the libs the package needs run the script again which does the compile thing after successful build install check the package for errors and all libraries and depenedent packages, make a list of all the installed files, then install package. rinse and repeat for the list of packages in the hot to build document. The qt3 was the qt3-3.3.8d tarball I am using the trinity 3.5 13 tarballs as downloaded from the trinity site. I built, debuged and installed them in the following order qt3 tqtinterface arts dbus-tqt dbus-1-tqt kdelibs kdebase Those all built successfully and installed trinity would then run, kdm barfs on login so I can't use it right now. then I tried to build kdeaccessibility kdeutils kdemultimedia kdewebdev All of them barfed then I was able to build kdepim kdevelop both which worked as you see I can only build the cmake ones and I can not build any of the autotool ones. Thankyou for your help.