On Mon, Apr 06, 2020 at 01:26:02PM +0200, Rafael Fonseca wrote: > On Fri, Apr 3, 2020 at 5:16 PM Rafael Fonseca <r4f4rfs@xxxxxxxxx> wrote: > > virDomain is still WIP because it causes some linking problem I am still > > investigating. > > Gonna ask here since you guys might have some idea from the top of > your heads to help me. > > I converted virDomain to GObject. However, when linking I get the > following error: > > CC libvirt_lxc_la-libvirt-lxc.lo > CCLD libvirt-lxc.la > CC libvirt_qemu_la-libvirt-qemu.lo > CCLD libvirt-qemu.la > CCLD virtvboxd > /usr/bin/ld: ./.libs/libvirt-lxc.so: undefined reference to > `vir_domain_get_type' > collect2: error: ld returned 1 exit status You'll need to add the vir_$OBJECT_get_type methods to the file src/libvirt_private.syms as you convert each type/ Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|