solid/networkmanager compile problem

elkrammer elkrammer.kde at
Fri May 30 21:31:22 BST 2008

I can confirm this. I just tried a fresh build of kde svn, and kdebase failed
with the following error:

[ 45%] Built target kcm_solid
[ 45%] Building CXX object
Scanning dependencies of target solid_hal_power_static
[ 45%] Building CXX object
Linking CXX shared module ../../../lib/
[ 45%] Built target solid_hal_power
[ 45%] Building CXX object
Scanning dependencies of target networkingservice
[ 45%] Building CXX object
Linking CXX static library ../../../lib/libsolid_hal_power_static.a
[ 45%] Built target solid_hal_power_static
[ 45%] Building CXX object
Linking CXX executable networkingservice
Generating NetworkManager-networkinterface.moc
Generating NetworkManager-networkmanager.moc
Generating NetworkManager-wirednetwork.moc
Generating NetworkManager-wirelessaccesspoint.moc
Generating NetworkManager-wirelessnetwork.moc
Error: Undefined interface
Warning: Class NMNetworkInterface inherits from two QObject subclasses
QObject and Solid::Control::Ifaces::NetworkInterface. This is not supported!
automoc4: process for
failed: Unknown error
pid to wait for: 0
processes in queue: 6
returning failed..
make[2]: ***
Error 1
make[1]: ***
Error 2

I uploaded to the following generated automoc files:
solid_networkmanager_automoc.cpp.files =
solid_networkmanager_static_automoc.cpp.files =

I also tried to do the includes with double quotes instead of <> but I got
the same results...


Bugzilla from amantia at wrote:
> On Friday 30 May 2008, Joseph Wenninger wrote:
>> Still doesn't work, checkout from about 9 hours ago. I've moved my
>> old installation to another directory and now everything builds, so I
>> guess there is still a bug in automoc4. If you need me for testing, I
>> still have the old instalation directory around, just an
>> "mv-away(tm)"
> Can you try to replace < > with " " in the include paths for the solid 
> headers? For example in NetworkManager-networkmanager.h .	
> Of course after you moved back the conflicting headers to KDEDIR.
> If still does not work, post the *_automoc.cpp.files here, so we can look 
> at the include path order.
> Andras
> -- 
> Quanta Plus developer -
> K Desktop Environment -

View this message in context:
Sent from the kde-core-devel mailing list archive at

More information about the kde-core-devel mailing list