Re: [libvirt] Libvirt 0.7.7 compile under mingw

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

 



2010/3/10 Dev.Atom <arnaud.champion@xxxxxxxxxx>:
> 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]