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

Re: [libvirt] Libvirt 0.7.7 compile under mingw



Hi,

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

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

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.

Matthias



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