Re: [PATCH] build: port qemu to cygwin

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]