| Summary: | kdebase-3.5.13.1 linking ERROR ? | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Jay <linuxkid> |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, linuxkid, michele.calgaro |
| Priority: | P5 | ||
| Version: | 3.5.13 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
tdebase currently builds fine (as per latest sources). |
Using Kernel-2.6.34, GCC-4.3.6, Glibc-2.10.1, cmake-2.8.10.2, libtool-1.5.26 (its old I just noticed) anyhow, I built in order TDE v3.5.13.1 qt3, tqyinterface, arts, dbus-tqt, dbus-1-tqt, libart-lgpl, avahi-tqt, tdelibs without to much hassle, as I'm new to cmake, so now onto tdebase.. I get my first error shown below at the very beginning of the build and I can only think, maybe I need to upgrade GCC ? is this a GCC error? I found one other person who had the same error, but nobody replied so I wasn't able to fix this on my own *yet*. Any help would be appreciated. I'm really excited about using KDE3 again : ) but cmake is a learning curve so far. Build options used: mkdir %name-%summary-%version cd %name-%summary-%version cmake .. \ -DUSE_QT3=ON \ -DCMAKE_C_FLAGS:STRING="$CFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \ -DCMAKE_INSTALL_PREFIX=/opt/kde \ -DSYSCONF_INSTALL_DIR=/opt/kde/share \ -DMAN_INSTALL_DIR=/usr/man \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_ALL=ON make Linking CXX static library libkcmbgnd.a [ 6%] Built target kcmbgnd-static [ 6%] Generating main.moc Scanning dependencies of target kcm_background-module [ 6%] Building CXX object kcontrol/background/CMakeFiles/kcm_background-module.dir/main.cpp.o Linking CXX shared module kcm_background.so libkcmbgnd.a(bgdialog.cpp.o): In function `BGDialog::~BGDialog()': bgdialog.cpp:(.text+0x487c): undefined reference to `BGDialog_UI::~BGDialog_UI()' bgdialog.cpp:(.text+0x489a): undefined reference to `BGDialog_UI::~BGDialog_UI()' libkcmbgnd.a(bgdialog.cpp.o): In function `BGDialog::~BGDialog()': bgdialog.cpp:(.text+0x496c): undefined reference to `BGDialog_UI::~BGDialog_UI()' bgdialog.cpp:(.text+0x4982): undefined reference to `BGDialog_UI::~BGDialog_UI()' libkcmbgnd.a(bgdialog.cpp.o): In function `BGDialog::~BGDialog()': bgdialog.cpp:(.text+0x4a4c): undefined reference to `BGDialog_UI::~BGDialog_UI()' libkcmbgnd.a(bgdialog.cpp.o):bgdialog.cpp:(.text+0x4a62): more undefined references to `BGDialog_UI::~BGDialog_UI()' follow libkcmbgnd.a(bgdialog.cpp.o): In function `BGDialog::BGDialog(QWidget*, KConfig*, bool)': bgdialog.cpp:(.text+0x4a9f): undefined reference to `BGDialog_UI::BGDialog_UI(QWidget*, char const*, unsigned int)' bgdialog.cpp:(.text+0x5682): undefined reference to `BGDialog_UI::~BGDialog_UI()' libkcmbgnd.a(bgdialog.cpp.o): In function `BGDialog::BGDialog(QWidget*, KConfig*, bool)': bgdialog.cpp:(.text+0x56bf): undefined reference to `BGDialog_UI::BGDialog_UI(QWidget*, char const*, unsigned int)' bgdialog.cpp:(.text+0x62a2): undefined reference to `BGDialog_UI::~BGDialog_UI()' libkcmbgnd.a(bgdialog.cpp.o):(.data.rel.ro._ZTV8BGDialog[vtable for BGDialog]+0x1c0): undefined reference to `BGDialog_UI::languageChange()' libkcmbgnd.a(bgdialog_ui.cpp.o):(.data.rel.ro._ZTV11BGDialog_UI[vtable for BGDialog_UI]+0x20): undefined reference to `BGDialog_UI::~BGDialog_UI()' libkcmbgnd.a(bgdialog_ui.cpp.o):(.data.rel.ro._ZTV11BGDialog_UI[vtable for BGDialog_UI]+0x24): undefined reference to `BGDialog_UI::~BGDialog_UI()' libkcmbgnd.a(bgdialog_ui.cpp.o):(.data.rel.ro._ZTV11BGDialog_UI[vtable for BGDialog_UI]+0x1c0): undefined reference to `BGDialog_UI::languageChange()' libkcmbgnd.a(bgdialog_ui.cpp.o):(.data.rel.ro._ZTV11BGDialog_UI[vtable for BGDialog_UI]+0x1cc): undefined reference to `non-virtual thunk to BGDialog_UI::~BGDialog_UI()' libkcmbgnd.a(bgdialog_ui.cpp.o):(.data.rel.ro._ZTV11BGDialog_UI[vtable for BGDialog_UI]+0x1d0): undefined reference to `non-virtual thunk to BGDialog_UI::~BGDialog_UI()' libkcmbgnd.a(bgwallpaper.cpp.o): In function `BGMultiWallpaperDialog::BGMultiWallpaperDialog(KBackgroundSettings*, QWidget*, char const*)': bgwallpaper.cpp:(.text+0x908): undefined reference to `BGMultiWallpaperBase::BGMultiWallpaperBase(QWidget*, char const*, unsigned int)' libkcmbgnd.a(bgwallpaper.cpp.o): In function `BGMultiWallpaperDialog::BGMultiWallpaperDialog(KBackgroundSettings*, QWidget*, char const*)': bgwallpaper.cpp:(.text+0xcba): undefined reference to `BGMultiWallpaperBase::BGMultiWallpaperBase(QWidget*, char const*, unsigned int)' libkcmbgnd.a(bgadvanced.cpp.o): In function `BGAdvancedDialog::BGAdvancedDialog(KBackgroundRenderer*, QWidget*, bool)': bgadvanced.cpp:(.text+0x3001): undefined reference to `BGAdvancedBase::BGAdvancedBase(QWidget*, char const*, unsigned int)' libkcmbgnd.a(bgadvanced.cpp.o): In function `BGAdvancedDialog::BGAdvancedDialog(KBackgroundRenderer*, QWidget*, bool)': bgadvanced.cpp:(.text+0x3643): undefined reference to `BGAdvancedBase::BGAdvancedBase(QWidget*, char const*, unsigned int)' collect2: ld returned 1 exit status make[2]: *** [kcontrol/background/kcm_background.so] Error 1 make[1]: *** [kcontrol/background/CMakeFiles/kcm_background-module.dir/all] Error 2 make: *** [all] Error 2