[libvirt] [PATCH libvirt 2/6] include winsock2.h before windows.h

Eric Blake eblake at redhat.com
Thu Jan 26 00:03:43 UTC 2012


On 01/25/2012 03:42 PM, Marc-André Lureau wrote:
> Hi
> 
> ----- Mensaje original -----
>> On 01/25/2012 03:16 PM, Marc-André Lureau wrote:
>>>
>>> Btw, I don't mind testing patches, but using mingw64 is almost a
>>> 'yum install' away :)
>>
>> What repo?  The mingw64 compiler isn't in Fedora 16 proper.
>>
> 
> The Fedora mingw64 project repo: http://build1.openftd.org/fedora-cross/fedora-cross.repo

Thanks; I've got the cross-compiler installed now, so I can at least
play with the gnulib fixes.  However, I'm running into:

$ sysroot=$HOME/builder/x86_64-w64-mingw32/sys-root
$ ../configure --build=x86_64-pc-linux --host=x86_64-w64-mingw32 \
 --prefix=$sysroot/mingw --enable-compile-warnings=error \
 --without-libvirtd --without-python \
 PKG_CONFIG_PATH=$sysroot/mingw/lib/pkgconfig
...
checking for xdrmem_create in -lportablexdr... no
checking for library containing xdrmem_create... no
configure: error: Cannot find a XDR library

that is, while there is mingw32-portablexdr in the fedora-cross repo,
there is no mingw64-portablexdr, which chokes up configure.  What
configure arguments are you using?

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120125/51bb2b79/attachment-0001.sig>


More information about the libvir-list mailing list