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

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

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:

And the workaround:

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

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

Attachment: signature.asc
Description: OpenPGP digital signature

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