Hi there!

I’m building libvirt-1.1.4 on Tizen. I had to modify the spec file:

1.       Comment out requirements: xhtml1, scrub, shadow-utils

2.       Added defines:

%define _without_selinux 1

%define _without_hal 1

%define _without_libnl 1

%define _without_macvtap 1

%define _without_storage_fs 1

%define _without_network 1

%define _without_sasl 1

%define _without_qemu 1

%define _without_storage_lvm 1

%define _without_storage_iscsi 1

%define _without_storage_disk 1

%define _without_storage_mpath 1

%define _without_nwfilter 1

%define _without_libssh2 1

%define _without_hyperv 1

%define _without_phyp 1

%define dist tizen

 

(I build with Tizen’s GBS and I had a problem with passing arguments to rpmbuild, so I just added those defines)

 

My problem is a undefined reference to virAtomicLock:

[  227s] ../src/.libs/libvirt-setuid-rpc-client.a(libvirt_setuid_rpc_client_la-virobject.o): In function `virClassNew':

[  227s] /home/abuild/rpmbuild/BUILD/libvirt-1.1.4/src/util/virobject.c:132: undefined reference to `virAtomicLock'

[  227s] ../src/.libs/libvirt-setuid-rpc-client.a(libvirt_setuid_rpc_client_la-virobject.o): In function `virObjectNew':

[  227s] /home/abuild/rpmbuild/BUILD/libvirt-1.1.4/src/util/virobject.c:202: undefined reference to `virAtomicLock'

[  227s] ../src/.libs/libvirt-setuid-rpc-client.a(libvirt_setuid_rpc_client_la-virobject.o): In function `virObjectUnref':

[  227s] /home/abuild/rpmbuild/BUILD/libvirt-1.1.4/src/util/virobject.c:270: undefined reference to `virAtomicLock'

[  227s] ../src/.libs/libvirt-setuid-rpc-client.a(libvirt_setuid_rpc_client_la-virobject.o): In function `virObjectRef':

[  227s] /home/abuild/rpmbuild/BUILD/libvirt-1.1.4/src/util/virobject.c:295: undefined reference to `virAtomicLock'

 

Any ideas?

 

Thanks!

Jan