[libvirt] Compile v0.8.0 under fedora 12 / mingw

Eric Blake eblake at redhat.com
Wed Jun 2 22:14:56 UTC 2010


Hello Arnaud,

On 05/12/2010 07:36 PM, Eric Blake wrote:
> On 04/27/2010 05:42 AM, Dev.Atom wrote:
> 
> [Sorry for the delayed reply]

[and another delayed response]

> 
>> Hi there,
>>
>> I'm trying to compile the libvirt from git (today).
>>
>> I use these configure parameters :
>>
>> ./configure --prefix=/usr/i686-pc-mingw32/sys-root/mingw/ --host=i686-pc-mingw32 --without-xen --without-xen-inotify --without-umlt --without-openvz --without-phyp --without-xenapi --without-vbox --without-lxc --without-one --without-esx --without-libvirtd --without-sasl --without-yajl --without-polkit --without-avahi --without-selinux --without-secdriver-selinux --without-apparmor --without-capng --without-netcf --without-python --without-xen-proxy --without-hal --without-udev
>>
>>
>> And make crash in this way :
>>
>> make[3]: Entering directory `/home/arnaud/Bureau/MingWinProjects/libvirt/git20102704/libvirt/src'
>>   CC     libvirt_util_la-authhelper.lo
>>   CC     libvirt_util_la-buf.lo
>>   CC     libvirt_util_la-conf.lo
>>   CC     libvirt_util_la-cgroup.lo
>>   CC     libvirt_util_la-event.lo
>>   CC     libvirt_util_la-hash.lo
>>   CC     libvirt_util_la-hooks.lo
>> In file included from ../src/util/threads-pthread.h:24,
>>                  from ../src/util/threads.h:65,
>>                  from ./conf/domain_conf.h:36,
>>                  from util/hooks.c:38:
>> /usr/i686-pc-mingw32/sys-root/mingw/include/pthread.h:307: error: redefinition of 'struct rpl_timespec'
>> make[3]: *** [libvirt_util_la-hooks.lo] Error 1
> 
> Is this still an issue for you?  If so, we may be running into a gnulib
> problem that might need some upstream work.  Also, since you wrote your
> mail, I figured out how to get my F13 cross-build to mingw working, at
> least insofar as ./autobuild.sh sets things.  If you are still having
> problems, then I can probably help compare how our two environments differ.

I think I found the root cause:
https://bugzilla.redhat.com/show_bug.cgi?id=599227

And the workaround:
https://www.redhat.com/archives/libvir-list/2010-June/msg00048.html

Would you mind giving it a spin, to double check?

-- 
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: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100602/8176918e/attachment-0001.sig>


More information about the libvir-list mailing list