[libvirt] Libvirt 0.7.7 compile under mingw

Dev.Atom arnaud.champion at devatom.fr
Wed Mar 10 21:35:24 UTC 2010


Okay, so I will wait for these patches, to continue

From: "Matthias Bolte" <matthias.bolte at googlemail.com>
Sent: Wednesday, March 10, 2010 10:01 PM
To: "Dev.Atom" <arnaud.champion at devatom.fr>
Cc: <libvirt-list at redhat.com>
Subject: Re: [libvirt] Libvirt 0.7.7 compile under mingw

> 2010/3/10 Dev.Atom <arnaud.champion at devatom.fr>:
>> Hi,
>> I'm trying to compile 0.7.7 under XP/mingw and I have this issue :
>> In file included from util/conf.c:24:
>> util/util.h:119: error: syntax error before "uid_t"
>> util/util.h:121: warning: function declaration isn't a prototype
>> util/util.h:129: error: syntax error before "uid_t"
>> util/util.h:130: warning: function declaration isn't a prototype
>> I have configure in this way (msys based path) :
>> ./configure --host=i686-pc-mingw32 --without-sasl --without-avahi
>> --without-polkit --without-python --without-xen --without-qemu --without-lxc
>> --without-openvz --without-libvirtd  --without-phyp --without-vbox
>> --prefix=/mingw/
>> Any help ?
>> Best reagards
>> Arnaud Champion
> I have some patches and setup instructions lying around to make
> libvirt compilable on Windows using MinGW/MSYS. I think I should clean
> them up and get them upstream.
> Regarding the uid_t issue: IIRC there is no numeric user ID on
> Windows, so all uid_t related code is basically a noop on Windows.
> What's missing here is the definition of the uid_t type, this is fixed
> in my patches.
> There are some other issues on Windows that I also fixed already. I
> think I can get the fixes upstream this week.
> Matthias

More information about the libvir-list mailing list