[packagekit] pk-network-stack-connman.c does not compile on 0.7.5

Pekka Lundström pekka.lundstrom at jollamobile.com
Fri Mar 22 01:03:56 PDT 2013


On 03/21/2013 06:16 PM, Richard Hughes wrote:
> On 21 March 2013 11:59, Pekka Lundström<pekka.lundstrom at jollamobile.com>  wrote:
>> pk-network-stack-connman.c does not even compile if connman is used.
> Eeek. Can you share the compile errors?
pk-network-stack-connman.c: In function 
'pk_network_stack_connman_state_changed':
pk-network-stack-connman.c:180:25: error: 'nstack_connman' redeclared as 
different kind of symbol
pk-network-stack-connman.c:176:64: note: previous definition of 
'nstack_connman' was here
pk-network-stack-connman.c:180:68: error: 'user_data' undeclared (first 
use in this function)
pk-network-stack-connman.c:180:68: note: each undeclared identifier is 
reported only once for each function it appears in
pk-network-stack-connman.c:188:19: error: 'property' undeclared (first 
use in this function)
pk-network-stack-connman.c:191:31: error: 'value' undeclared (first use 
in this function)
pk-network-stack-connman.c: In function 
'pk_network_stack_connman_dbus_signal_cb':
pk-network-stack-connman.c:214:2: warning: implicit declaration of 
function 'PK_IS_NETWORK_STACK_NM' [-Wimplicit-function-declaration]
pk-network-stack-connman.c:212:16: warning: unused variable 'state' 
[-Wunused-variable]
pk-network-stack-connman.c: In function 'pk_network_stack_connman_init':
pk-network-stack-connman.c:281:2: warning: implicit declaration of 
function 'dbus_g_object_register_marshaller' 
[-Wimplicit-function-declaration]
make[4]: *** [packagekitd-pk-network-stack-connman.o] Error 1
make[4]: *** Waiting for unfinished jobs....

>> I noticed that new 0.8.7 does not have those network stack files anymore.
>> Is it worth of providing patch to 0.7.5? Anyone interested of it?
> I think it should do -- are the files missing from the tarball?
>
> Richard.
> _

Oops, my bad. I had downloaded PackageKit-Qt package :)
Network files are still there and pk-network-stack-connman.c is same 
(does not compile).
I'll provide the patch.

t. Pekka



More information about the PackageKit mailing list