
On Wed, Mar 10, 2010 at 10:01:55PM +0100, Matthias Bolte wrote:
2010/3/10 Dev.Atom <arnaud.champion@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.
That would be nice ! Thanks :-) Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/