Version: (using KDE Devel) Installed from: Compiled sources Compiler: Target: i486-slackware-linux OS: Linux (i686) release 2.6.23.12-smp I try to compile kdebase from svn,error at 80-88% [ 80%] [ 80%] [ 80%] [ 80%] Built target handbook Built target handbook Built target handbook Built target handbook [ 80%] Built target handbook [ 80%] Built target kdm_config [ 80%] Built target genkdmconf [ 80%] Built target kdmctl [ 80%] [ 80%] Built target kuiserver Generating kdm_greet_automoc.cpp [ 81%] [ 81%] Built target khelpcenter Built target krootimage [ 82%] Built target kdm [ 82%] [ 82%] Built target kcmshell4 Built target kwrite Scanning dependencies of target kdm_greet Linking CXX shared module ../../../../lib/plasma_engine_powermanagement.so [ 84%] Built target dolphinprivate [ 84%] Built target kfmclient [ 85%] Built target kdeinit_keditbookmarks [ 85%] Built target konq_sidebar [ 85%] Built target konqsidebar_tree [ 87%] Built target kdeinit_konqueror [ 87%] Built target kcm_history [ 87%] Built target konq_sidebartree_dirtree Scanning dependencies of target konq_sidebartree_bookmarks Scanning dependencies of target konqsidebar_web [ 87%] [ 88%] Building CXX object workspace/kdm/kfrontend/CMakeFiles/kdm_greet.dir/kdm_greet_automoc.o Built target konq_sidebartree_history [ 88%] Building CXX object workspace/kdm/kfrontend/CMakeFiles/kdm_greet.dir/themer/kdmitem.o Linking CXX executable kinfocenter [ 88%] Building CXX object apps/konqueror/sidebar/web_module/CMakeFiles/konqsidebar_web.dir/web_module.o [ 88%] Built target plasma_engine_powermanagement [ 88%] Building CXX object apps/konqueror/sidebar/web_module/CMakeFiles/konqsidebar_web.dir/favicon_interface.o [ 88%] Building CXX object apps/konqueror/sidebar/trees/bookmark_module/CMakeFiles/konq_sidebartree_bookmarks.dir/bookmark_module.o Linking CXX shared module ../../../../lib/plasma_applet_battery.so /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp:420:2: warning: #warning newTab hack, must be done otherwise /usr/src/kde4/kdebase/workspace/kdm/kfrontend/themer/kdmitem.cpp: In member function ‘void KdmItem::showStructure(const QString&)’: /usr/src/kde4/kdebase/workspace/kdm/kfrontend/themer/kdmitem.cpp:600: error: expected primary-expression before ‘if’ /usr/src/kde4/kdebase/workspace/kdm/kfrontend/themer/kdmitem.cpp:600: error: expected ‘,’ or ‘;’ before ‘if’ /usr/src/kde4/kdebase/workspace/kdm/kfrontend/themer/kdmitem.cpp:600: error: expected primary-expression before ‘else’ /usr/src/kde4/kdebase/workspace/kdm/kfrontend/themer/kdmitem.cpp:600: error: expected `;' before ‘else’ [ 88%] Built target kinfocenter Linking CXX executable konsole make[2]: *** [workspace/kdm/kfrontend/CMakeFiles/kdm_greet.dir/themer/kdmitem.o] Error 1 make[1]: *** [workspace/kdm/kfrontend/CMakeFiles/kdm_greet.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 88%] Building CXX object apps/konqueror/sidebar/trees/bookmark_module/CMakeFiles/konq_sidebartree_bookmarks.dir/bookmark_item.o Scanning dependencies of target solidcontrol [ 88%] Built target plasma_applet_battery [ 88%] Building CXX object apps/konqueror/sidebar/trees/bookmark_module/CMakeFiles/konq_sidebartree_bookmarks.dir/usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/konq_sidebartree.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/frontendobject.o /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/konq_sidebartree.cpp:457:2: warning: #warning TODO port to QDrag (only possible once porting away from Q3ListView?) /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/konq_sidebartree.cpp:903:2: warning: #warning newTab call via DCOP, must be reworked /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/konq_sidebartree.cpp:1058:2: warning: #warning newTab call via DCOP, must be reworked /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/konq_sidebartree.cpp:1077:2: warning: #warning KonqSidebarTreeToolTip removed, must implemented in event() function [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/managerbase.o [ 88%] Built target konsole [ 88%] Building CXX object apps/konqueror/sidebar/trees/bookmark_module/CMakeFiles/konq_sidebartree_bookmarks.dir/usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/konq_sidebartreeitem.o /usr/src/kde4/kdebase/workspace/libs/solid/control/managerbase.cpp: In member function ‘void Solid::Control::ManagerBasePrivate::loadBackend(const QString&, const char*, const char*)’: /usr/src/kde4/kdebase/workspace/libs/solid/control/managerbase.cpp:55: warning: ‘createInstance’ is deprecated (declared at /opt/kde4/include/kservice.h:541) /opt/kde4/include/kservice.h: In static member function ‘static T* KService::createInstance(const KSharedPtr<KService>&, QObject*, const QStringList&, int*) [with T = QObject]’: /usr/src/kde4/kdebase/workspace/libs/solid/control/managerbase.cpp:55: instantiated from here /opt/kde4/include/kservice.h:550: warning: ‘createInstance’ is deprecated (declared at /opt/kde4/include/klibloader.h:241) /opt/kde4/include/klibloader.h: In static member function ‘static T* KLibLoader::createInstance(const QString&, QObject*, const QStringList&, int*) [with T = QObject]’: /opt/kde4/include/kservice.h:550: instantiated from ‘static T* KService::createInstance(const KSharedPtr<KService>&, QObject*, const QStringList&, int*) [with T = QObject]’ /usr/src/kde4/kdebase/workspace/libs/solid/control/managerbase.cpp:55: instantiated from here /opt/kde4/include/klibloader.h:243: warning: ‘self’ is deprecated (declared at /opt/kde4/include/klibloader.h:136) /opt/kde4/include/klibloader.h:250: warning: ‘factory’ is deprecated (declared at /opt/kde4/include/klibrary.h:57) /opt/kde4/include/kservice.h:550: instantiated from ‘static T* KService::createInstance(const KSharedPtr<KService>&, QObject*, const QStringList&, int*) [with T = QObject]’ /usr/src/kde4/kdebase/workspace/libs/solid/control/managerbase.cpp:55: instantiated from here /opt/kde4/include/klibloader.h:258: warning: ‘create’ is deprecated (declared at /opt/kde4/include/kpluginfactory.h:332) /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp: In member function ‘void KonqSidebarBookmarkModule::slotMoved(Q3ListViewItem*, Q3ListViewItem*, Q3ListViewItem*)’: /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp:219: warning: ‘moveItem’ is deprecated (declared at /opt/kde4/include/kbookmark.h:373) /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp: In member function ‘void KonqSidebarBookmarkModule::slotDropped(K3ListView*, QDropEvent*, Q3ListViewItem*, Q3ListViewItem*)’: /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp:295: warning: ‘moveItem’ is deprecated (declared at /opt/kde4/include/kbookmark.h:373) /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp: In member function ‘void KonqSidebarBookmarkModule::slotCreateFolder()’: /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp:321: warning: ‘moveItem’ is deprecated (declared at /opt/kde4/include/kbookmark.h:373) [ 88%] [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/powermanager.o Building CXX object apps/konqueror/sidebar/trees/bookmark_module/CMakeFiles/konq_sidebartree_bookmarks.dir/usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/konq_sidebartreetoplevelitem.o Linking CXX shared module ../../../../lib/konqsidebar_web.so /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/konq_sidebartree.cpp: In member function ‘KonqSidebarTreeModule* (* KonqSidebarTree::getPluginFactory(const QString&))(KonqSidebarTree*, bool)’: /usr/src/kde4/kdebase/apps/konqueror/sidebar/trees/konq_sidebartree.cpp:64: warning: ‘self’ is deprecated (declared at /opt/kde4/include/klibloader.h:136) [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/networkmanager.o [ 88%] Built target konqsidebar_web [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/networkinterface.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/network.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/wirelessnetwork.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/authentication.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/bluetoothinterface.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/bluetoothmanager.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/bluetoothremotedevice.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/bluetoothinputdevice.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/bluetoothsecurity.o /usr/src/kde4/kdebase/workspace/libs/solid/control/bluetoothsecurity.cpp:86: warning: unused parameter ‘interface’ [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/networking.o [ 88%] Building CXX object workspace/libs/solid/control/CMakeFiles/solidcontrol.dir/org_kde_solid_networking.o Linking CXX shared library ../../../../lib/libsolidcontrol.so Linking CXX shared module ../../../../../lib/konq_sidebartree_bookmarks.so [ 88%] Built target solidcontrol [ 88%] Built target konq_sidebartree_bookmarks make: *** [all] Error 2 Slackware-current cmake 2.4.7 gcc 4.1.2 qt-4.3.3
same as BUG 154435 : you certainly build your packages in release mode. For the moment it only compile in Debug/RelWithDebugInfo mode (for cmake). The most simple IMO would be to compile in debug mode ( though you could need to compile qt in debug mode also ) or in the bug you will find some simple change ( in you only want kdebase there's only 3 lines to change in KdmItemp.cpp to make it compiles but you will need to reapply this until a correct/approved solution is found). I have apply this change on my kdebase package and everything is fine but i'm not a kde hacker nor a C++ developper at all so i could be wrong.
*** This bug has been marked as a duplicate of 154435 ***