Re: [PATCH 00/36] convert virObjects to GObject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux