[libvirt] [PATCH] build: port qemu to cygwin
Eric Blake
eblake at redhat.com
Thu May 30 17:26:02 UTC 2013
On 05/30/2013 06:39 AM, Eric Blake wrote:
>>> I'll wait for a review on this one, particularly since I'm still
>>> trying to solve another qemu failure on cygwin:
>>>
>>> qemu/qemu_monitor.c:418:9: error: passing argument 2 of 'sendmsg' from incompatible pointer type
>>> /usr/include/sys/socket.h:42:11: note: expected 'const struct msghdr *' but argument is of type 'struct msghdr *'
>
> As far as I can tell, this seems like a bug in cygwin's gcc (4.5.3);
> still no idea how I will work around that yet.
Found the root cause - a bug in cygwin's <sys/un.h> requires that
<sys/socket.h> be included first prior to any use of struct msghdr.
Patch coming up soon.
--
Eric Blake eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130530/8a33a9c0/attachment-0001.sig>
More information about the libvir-list
mailing list