Problem to compile kdelibs
Marco Mangiante
marco.mangiante at gmail.com
Mon Sep 24 21:33:20 BST 2007
Hello,
this is the second day that I can't compile kdelibs. I see many
compilation error, but many times the compilation stops at this:
[ 23%] Building CXX object
solid/solid/CMakeFiles/solid_static.dir/org_kde_solid_networking_client.o
/usr/bin/c++ -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wformat-security -fno-exceptions -fno-check-new -fno-common
-fvisibility=hidden -g3 -fno-inline
-I/home/kde-devel/kde/build/KDE/kdelibs/solid/solid
-I/home/kde-devel/kde/src/KDE/kdelibs/solid/solid
-I/home/kde-devel/kde/src/KDE/kdelibs
-I/home/kde-devel/kde/build/KDE/kdelibs
-I/home/kde-devel/kde/src/KDE/kdelibs/interfaces
-I/home/kde-devel/kde/src/KDE/kdelibs/kdefx
-I/home/kde-devel/kde/src/KDE/kdelibs/solid
-I/home/kde-devel/kde/build/KDE/kdelibs/solid
-I/home/kde-devel/qt-copy/include -D_BSD_SOURCE -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII
-D_REENTRANT -DKDE_DEPRECATED_WARNINGS -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -o
solid/solid/CMakeFiles/solid_static.dir/org_kde_solid_networking_client.o
-c /home/kde-devel/kde/build/KDE/kdelibs/solid/solid/org_kde_solid_networking_client.cpp
Linking CXX static library ../../lib/libsolid_static.a
cd /home/kde-devel/kde/build/KDE/kdelibs/solid/solid && /usr/bin/cmake
-P CMakeFiles/solid_static.dir/cmake_clean_target.cmake
cd /home/kde-devel/kde/build/KDE/kdelibs/solid/solid && /usr/bin/cmake
-E cmake_link_script CMakeFiles/solid_static.dir/link.txt --verbose=1
/usr/bin/ar cr ../../lib/libsolid_static.a
"CMakeFiles/solid_static.dir/solid_static_automoc.o"
"CMakeFiles/solid_static.dir/solidnamespace.o"
"CMakeFiles/solid_static.dir/managerbase.o"
"CMakeFiles/solid_static.dir/device.o"
"CMakeFiles/solid_static.dir/devicemanager.o"
"CMakeFiles/solid_static.dir/deviceinterface.o"
"CMakeFiles/solid_static.dir/genericinterface.o"
"CMakeFiles/solid_static.dir/processor.o"
"CMakeFiles/solid_static.dir/block.o"
"CMakeFiles/solid_static.dir/storagedrive.o"
"CMakeFiles/solid_static.dir/opticaldrive.o"
"CMakeFiles/solid_static.dir/storagevolume.o"
"CMakeFiles/solid_static.dir/opticaldisc.o"
"CMakeFiles/solid_static.dir/storageaccess.o"
"CMakeFiles/solid_static.dir/camera.o"
"CMakeFiles/solid_static.dir/portablemediaplayer.o"
"CMakeFiles/solid_static.dir/networkinterface.o"
"CMakeFiles/solid_static.dir/acadapter.o"
"CMakeFiles/solid_static.dir/battery.o"
"CMakeFiles/solid_static.dir/button.o"
"CMakeFiles/solid_static.dir/audiointerface.o"
"CMakeFiles/solid_static.dir/dvbinterface.o"
"CMakeFiles/solid_static.dir/predicate.o"
"CMakeFiles/solid_static.dir/predicateparse.o"
"CMakeFiles/solid_static.dir/predicate_lexer.o"
"CMakeFiles/solid_static.dir/predicate_parser.o"
"CMakeFiles/solid_static.dir/powermanagement.o"
"CMakeFiles/solid_static.dir/networking.o"
"CMakeFiles/solid_static.dir/ifaces/acadapter.o"
"CMakeFiles/solid_static.dir/ifaces/audiointerface.o"
"CMakeFiles/solid_static.dir/ifaces/battery.o"
"CMakeFiles/solid_static.dir/ifaces/block.o"
"CMakeFiles/solid_static.dir/ifaces/button.o"
"CMakeFiles/solid_static.dir/ifaces/camera.o"
"CMakeFiles/solid_static.dir/ifaces/opticaldrive.o"
"CMakeFiles/solid_static.dir/ifaces/device.o"
"CMakeFiles/solid_static.dir/ifaces/deviceinterface.o"
"CMakeFiles/solid_static.dir/ifaces/devicemanager.o"
"CMakeFiles/solid_static.dir/ifaces/dvbinterface.o"
"CMakeFiles/solid_static.dir/ifaces/genericinterface.o"
"CMakeFiles/solid_static.dir/ifaces/networkinterface.o"
"CMakeFiles/solid_static.dir/ifaces/opticaldisc.o"
"CMakeFiles/solid_static.dir/ifaces/portablemediaplayer.o"
"CMakeFiles/solid_static.dir/ifaces/processor.o"
"CMakeFiles/solid_static.dir/ifaces/storagedrive.o"
"CMakeFiles/solid_static.dir/ifaces/storagevolume.o"
"CMakeFiles/solid_static.dir/ifaces/storageaccess.o"
"CMakeFiles/solid_static.dir/backends/hal/halacadapter.o"
"CMakeFiles/solid_static.dir/backends/hal/halaudiointerface.o"
"CMakeFiles/solid_static.dir/backends/hal/halbattery.o"
"CMakeFiles/solid_static.dir/backends/hal/halblock.o"
"CMakeFiles/solid_static.dir/backends/hal/halbutton.o"
"CMakeFiles/solid_static.dir/backends/hal/halcamera.o"
"CMakeFiles/solid_static.dir/backends/hal/halcdrom.o"
"CMakeFiles/solid_static.dir/backends/hal/haldeviceinterface.o"
"CMakeFiles/solid_static.dir/backends/hal/haldvbinterface.o"
"CMakeFiles/solid_static.dir/backends/hal/halgenericinterface.o"
"CMakeFiles/solid_static.dir/backends/hal/haldevice.o"
"CMakeFiles/solid_static.dir/backends/hal/halmanager.o"
"CMakeFiles/solid_static.dir/backends/hal/halnetworkinterface.o"
"CMakeFiles/solid_static.dir/backends/hal/halopticaldisc.o"
"CMakeFiles/solid_static.dir/backends/hal/halportablemediaplayer.o"
"CMakeFiles/solid_static.dir/backends/hal/halprocessor.o"
"CMakeFiles/solid_static.dir/backends/hal/halstorageaccess.o"
"CMakeFiles/solid_static.dir/backends/hal/halstorage.o"
"CMakeFiles/solid_static.dir/backends/hal/halvolume.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakeacadapter.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakeaudiointerface.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakebattery.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakeblock.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakebutton.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakecamera.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakecdrom.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakedevice.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakedeviceinterface.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakedvbinterface.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakegenericinterface.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakemanager.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakenetworkinterface.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakeopticaldisc.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakeportablemediaplayer.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakeprocessor.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakestorage.o"
"CMakeFiles/solid_static.dir/backends/fakehw/fakevolume.o"
"CMakeFiles/solid_static.dir/powermanagementinterface.o"
"CMakeFiles/solid_static.dir/inhibitinterface.o"
"CMakeFiles/solid_static.dir/org_kde_solid_networking_client.o"
/usr/bin/ranlib ../../lib/libsolid_static.a
make[2]: Leaving directory `/home/kde-devel/kde/build/KDE/kdelibs'
make[1]: Leaving directory `/home/kde-devel/kde/build/KDE/kdelibs'
make: *** [all] Error 2
Sincerely I don't know why: someone have an explanation?
Another error in compilation is this:
/home/kde-devel/kde/src/KDE/kdelibs/nepomuk/middleware/rdf/rdfdbus.cpp:
In function 'const QDBusArgument& operator>>(const QDBusArgument&,
Soprano::Node&)':
/home/kde-devel/kde/src/KDE/kdelibs/nepomuk/middleware/rdf/rdfdbus.cpp:64:
error: call of overloaded 'Node(QString&)' is ambiguous
/usr/include/soprano/node.h:75: note: candidates are:
Soprano::Node::Node(const Soprano::LiteralValue&, const QString&)
/usr/include/soprano/node.h:61: note:
Soprano::Node::Node(const QUrl&, Soprano::Node::Type)
make[2]: *** [nepomuk/middleware/CMakeFiles/nepomuk-middleware.dir/rdf/rdfdbus.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/kde-devel/kde/build/KDE/kdelibs'
make[1]: *** [nepomuk/middleware/CMakeFiles/nepomuk-middleware.dir/all] Error 2
make[1]: Leaving directory `/home/kde-devel/kde/build/KDE/kdelibs'
make: *** [all] Error 2
Thanks to everyone help me.
--
Regards,
Marco Mangiante
More information about the kde-core-devel
mailing list