Compile problem with kde4's kdebase svn

Marco Napetti marco.napetti at linux.it
Mon Aug 13 23:46:09 BST 2007


Hello everybody.
I hope this is the right place where to make this report...

I'm trying to build kde4 using svn sources and compilation fails with:

Scanning dependencies of target kioexec
[  1%] Building CXX object
runtime/kioexec/CMakeFiles/kioexec.dir/kioexec_automoc.o
[  1%] Building CXX object runtime/kioexec/CMakeFiles/kioexec.dir/main.o
[  1%] Building CXX object
runtime/khelpcenter/CMakeFiles/kdeinit_khelpcenter.dir/kdeinit_khelpcenter_automoc.o
[  1%] Building CXX object
runtime/khelpcenter/CMakeFiles/kdeinit_khelpcenter.dir/navigator.o
Linking CXX executable kioexec
[  1%] Built target kioexec
[  1%] Building CXX object
runtime/khelpcenter/CMakeFiles/kdeinit_khelpcenter.dir/navigatoritem.o
[  1%] Building CXX object
runtime/khelpcenter/CMakeFiles/kdeinit_khelpcenter.dir/navigatorappitem.o
/var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/runtime/khelpcenter/mainwindow.h:57:
error: expected unqualified-id before ‘&’ token
/var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/runtime/khelpcenter/mainwindow.h:57:
error: expected ‘,’ or ‘...’ before ‘&’ token
/var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/runtime/khelpcenter/mainwindow.h:58:
error: ISO C++ forbids declaration of ‘parameter’ with no type
/var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/runtime/khelpcenter/mainwindow.h:82:
error: expected unqualified-id before ‘&’ token
/var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/runtime/khelpcenter/mainwindow.h:82:
error: expected ‘,’ or ‘...’ before ‘&’ token
/var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/runtime/khelpcenter/mainwindow.h:83:
error: ISO C++ forbids declaration of ‘parameter’ with no type
make[2]: ***
[runtime/khelpcenter/CMakeFiles/kdeinit_khelpcenter.dir/navigator.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[  1%] Generating kio_about_automoc.cpp
Scanning dependencies of target kio_about
make[1]: ***
[runtime/khelpcenter/CMakeFiles/kdeinit_khelpcenter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  1%] Building CXX object
runtime/kioslave/about/CMakeFiles/kio_about.dir/kio_about_automoc.o
[  1%] Building CXX object
runtime/kioslave/about/CMakeFiles/kio_about.dir/kio_about.o
Linking CXX shared module ../../../lib/kio_about.so
[  1%] Built target kio_about
make: *** [all] Error 2

There is something wrong on my system or is the code buggy?
Marco




More information about the kde-core-devel mailing list