kdebase build error in workspace/solid/solidshell/solid-bluetooth.cpp

Jason Stubbs jasonbstubbs at gmail.com
Mon Oct 13 09:36:37 BST 2008


Hi,

I'm getting a build error trying to compile revision 870695 of kdebase.
The first error to appear is:

[ 72%] Building CXX object 
workspace/solid/solidshell/CMakeFiles/solid-bluetooth.dir/solid-bluetooth.o
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothListAdapters()’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:381: 
error: conversion from ‘QStringList’ to non-scalar type ‘const 
Solid::Control::BluetoothInterfaceList’ requested


I've tried to reproduce everything that might be relevant below.




-- checking for one of the modules 'NetworkManager'
--   found NetworkManager, version 0.6.6
-- checking for one of the modules 'libnm-util'
--   found libnm-util, version 0.6.6
-- Found NetworkManager 0.6.6:
-- Found libnm-util:
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found BlueZ: /usr/lib/libbluetooth.so
-- Will build networkmanger-0.6





[ 71%] Generating ui_backendchooser.h
Generating backendchooser.moc
Generating kcmsolid.moc
Scanning dependencies of target kcm_solid
[ 71%] Building CXX object 
workspace/solid/kcm/CMakeFiles/kcm_solid.dir/kcm_solid_automoc.o
[ 71%] Building CXX object 
workspace/solid/kcm/CMakeFiles/kcm_solid.dir/kcmsolid.o
[ 72%] Building CXX object 
workspace/solid/kcm/CMakeFiles/kcm_solid.dir/backendchooser.o
Linking CXX shared module ../../../lib/kcm_solid.so
[ 72%] Built target kcm_solid
Generating halpower.moc
Generating halsuspendjob.moc
Scanning dependencies of target solid_hal_power
[ 72%] Building CXX object 
workspace/solid/hal/CMakeFiles/solid_hal_power.dir/solid_hal_power_automoc.o
[ 72%] Building CXX object 
workspace/solid/hal/CMakeFiles/solid_hal_power.dir/module_power.o
[ 72%] Building CXX object 
workspace/solid/hal/CMakeFiles/solid_hal_power.dir/halpower.o
[ 72%] Building CXX object 
workspace/solid/hal/CMakeFiles/solid_hal_power.dir/halsuspendjob.o
Linking CXX shared module ../../../lib/solid_hal_power.so
[ 72%] Built target solid_hal_power
Generating halpower.moc
Generating halsuspendjob.moc
Scanning dependencies of target solid_hal_power_static
[ 72%] Building CXX object 
workspace/solid/hal/CMakeFiles/solid_hal_power_static.dir/solid_hal_power_static_automoc.o
[ 72%] Building CXX object 
workspace/solid/hal/CMakeFiles/solid_hal_power_static.dir/halpower.o
[ 72%] Building CXX object 
workspace/solid/hal/CMakeFiles/solid_hal_power_static.dir/halsuspendjob.o
Linking CXX static library ../../../lib/libsolid_hal_power_static.a
[ 72%] Built target solid_hal_power_static
[ 72%] Generating clientadaptor.cpp, clientadaptor.h
[ 72%] Generating clientadaptor.moc
Generating networkstatus.moc
[ 72%] Generating serviceadaptor.cpp, serviceadaptor.h
[ 72%] Generating serviceadaptor.moc
Scanning dependencies of target kded_networkstatus
[ 72%] Building CXX object 
workspace/solid/networking/kded/CMakeFiles/kded_networkstatus.dir/kded_networkstatus_automoc.o
[ 72%] Building CXX object 
workspace/solid/networking/kded/CMakeFiles/kded_networkstatus.dir/networkstatus.o
[ 72%] Building CXX object 
workspace/solid/networking/kded/CMakeFiles/kded_networkstatus.dir/network.o
[ 72%] Building CXX object 
workspace/solid/networking/kded/CMakeFiles/kded_networkstatus.dir/serviceadaptor.o
[ 72%] Building CXX object 
workspace/solid/networking/kded/CMakeFiles/kded_networkstatus.dir/clientadaptor.o
Linking CXX shared module ../../../../lib/kded_networkstatus.so
[ 72%] Built target kded_networkstatus
[ 72%] Generating serviceinterface.cpp, serviceinterface.h
[ 72%] Generating serviceinterface.moc
Generating networkingservice.moc
[ 72%] Generating ui_networkingserviceview.h
Scanning dependencies of target networkingservice
[ 72%] Building CXX object 
workspace/solid/networking/tests/CMakeFiles/networkingservice.dir/networkingservice_automoc.o
[ 72%] Building CXX object 
workspace/solid/networking/tests/CMakeFiles/networkingservice.dir/networkingservice.o
[ 72%] Building CXX object 
workspace/solid/networking/tests/CMakeFiles/networkingservice.dir/serviceinterface.o
Linking CXX executable networkingservice
[ 72%] Built target networkingservice
Generating solid-bluetooth.moc
Scanning dependencies of target solid-bluetooth
[ 72%] Building CXX object 
workspace/solid/solidshell/CMakeFiles/solid-bluetooth.dir/solid-bluetooth_automoc.o
[ 72%] Building CXX object 
workspace/solid/solidshell/CMakeFiles/solid-bluetooth.dir/solid-bluetooth.o
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothListAdapters()’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:381: 
error: conversion from ‘QStringList’ to non-scalar type ‘const 
Solid::Control::BluetoothInterfaceList’ requested
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothGetRemoteName(const 
QString&, const QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:404: 
error: ‘class Solid::Control::BluetoothInterface’ has no member named 
‘getRemoteName’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothAdapterAddress(const 
QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:414: 
error: ‘class Solid::Control::BluetoothInterface’ has no member named 
‘address’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothAdapterName(const 
QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:424: 
error: ‘class Solid::Control::BluetoothInterface’ has no member named ‘name’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothAdapterSetName(const 
QString&, const QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:434: 
error: ‘class Solid::Control::BluetoothInterface’ has no member named 
‘setName’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothAdapterMode(const 
QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:444: 
error: ‘class Solid::Control::BluetoothInterface’ has no member named ‘mode’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothAdapterSetMode(const 
QString&, const QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:453: 
error: ‘Mode’ is not a member of ‘Solid::Control::BluetoothInterface’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:453: 
error: expected `;' before ‘modeEnum’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:456: 
error: ‘modeEnum’ was not declared in this scope
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:456: 
error: ‘Off’ is not a member of ‘Solid::Control::BluetoothInterface’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:460: 
error: ‘modeEnum’ was not declared in this scope
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:460: 
error: ‘Connectable’ is not a member of ‘Solid::Control::BluetoothInterface’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:464: 
error: ‘modeEnum’ was not declared in this scope
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:464: 
error: ‘Discoverable’ is not a member of 
‘Solid::Control::BluetoothInterface’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:466: 
error: ‘class Solid::Control::BluetoothInterface’ has no member named 
‘setMode’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:466: 
error: ‘modeEnum’ was not declared in this scope
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool 
SolidBluetooth::bluetoothAdapterListConnections(const QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:476: 
error: ‘class Solid::Control::BluetoothInterface’ has no member named 
‘listConnections’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool 
SolidBluetooth::bluetoothAdapterListBondings(const QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:491: 
error: ‘class Solid::Control::BluetoothInterface’ has no member named 
‘listBondings’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothAdapterScan(const 
QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:511: 
error: ‘class Solid::Control::BluetoothInterface’ has no member named 
‘discoverDevices’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothInputListDevices()’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:534: 
error: ‘class Solid::Control::BluetoothManager’ has no member 
named‘bluetoothInputDevices’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothInputSetup(const 
QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:547: 
error: ‘class Solid::Control::BluetoothManager’ has no member 
named‘setupInputDevice’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothInputRemoveSetup(const 
QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:573: 
error: ‘class Solid::Control::BluetoothManager’ has no member 
named‘removeInputDevice’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothInputConnect(const 
QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:581: 
error: ‘class Solid::Control::BluetoothManager’ has no member 
named‘findBluetoothInputDevice’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool 
SolidBluetooth::bluetoothInputDisconnect(constQString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:591: 
error: ‘class Solid::Control::BluetoothManager’ has no member 
named‘findBluetoothInputDevice’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool 
SolidBluetooth::bluetoothRemoteCreateBonding(const QString&, const 
QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:604: 
error: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named 
‘createBonding’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool 
SolidBluetooth::bluetoothRemoteRemoveBonding(const QString&, const 
QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:626: 
error: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named 
‘removeBonding’
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp: 
In member function ‘bool SolidBluetooth::bluetoothRemoteHasBonding(const 
QString&, const QString&)’:
/home/kde-devel/kde/src/KDE/kdebase/workspace/solid/solidshell/solid-bluetooth.cpp:637: 
error: ‘class Solid::Control::BluetoothRemoteDevice’ has no member named 
‘hasBonding’
make[2]: *** 
[workspace/solid/solidshell/CMakeFiles/solid-bluetooth.dir/solid-bluetooth.o] 
Error 1
make[1]: *** 
[workspace/solid/solidshell/CMakeFiles/solid-bluetooth.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/home/kde-devel/kde/build/KDE/kdebase'






More information about the kde-core-devel mailing list