[libvirt] [PATCH 1/6] Add virObject and virAtomic.

Eric Blake eblake at redhat.com
Wed Apr 20 20:53:56 UTC 2011


On 04/07/2011 01:49 AM, Hu Tao wrote:
>>
>>> +virObjectInit;
>>> +virObjectRef;
>>> +virObjectUnref;
>>
>> Missing exports from viratomic.h.
> 
> Why the linker doesn't complain about this this time?

Because you didn't run configure (via ./autogen.sh) with the
--with-driver-modules option.  Missing exports don't bite until you are
forcing dlopen() interaction between the various libraries, rather than
linking them into one giant executable.  (Which reminds me, I need to
revive my patch to make ./autobuild.sh enable that option, to increase
its test coverage).

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110420/389f77ce/attachment-0001.sig>


More information about the libvir-list mailing list