Re: Duplicate symbol error with 0.9.3 on OSX

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

 



2011/7/4 Justin Clift <jclift@xxxxxxxxxx>:
> Hi all,
>
> Just went to update the OSX libvirt build for 0.9.3, but it's
> giving a duplicate symbol error:
>
>  ld: duplicate symbol _virNetworkDNSHostsDef in ./.libs/libvirt_driver_test.a(libvirt_driver_test_la-test_driver.o) and ./.libs/libvirt_conf.a(libvirt_conf_la-network_conf.o)
>
> "virNetworkDNSHostsDef" is definitely in src/conf/network_conf.*,
> but not seeing it anywhere in src/test/test_driver.*.
>
> Anyone have suggestions on what to look at?
>
> Regards and best wishes,
>
> Justin Clift

The problem seems to the the struct A {} A; style. This looks bogus.
Here's a patch that might fix it.

-- 
Matthias Bolte
http://photron.blogspot.com

Attachment: 0003-conf-Fix-declaration-of-virNetworkDNS-Hosts-Def-stru.patch
Description: application/mbox

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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]