On 09/15/2015 02:10 PM, Stefan Weil wrote: >> >> CC qga/commands-win32.o >>> qga/commands-win32.c: In function ‘qmp_guest_set_user_password’: >>> qga/commands-win32.c:1254:55: warning: passing argument 2 of >>> ‘g_base64_decode’ from incompatible pointer type >>> rawpasswddata = (char *)g_base64_decode(password, &rawpasswdlen); >>> ^
Ugh. Compiling for cygwin should favor POSIX interfaces, not commands-win32. The build is failing because it isn't even correctly deciding which files it should be compiling. > compiling with cygwin is unsupported. I suggest using MinGW-w64 > (which also works for cross compilations under Linux). Remember, cygwin is itself an emulation layer - you are emulating POSIX interfaces on top of Windows; which, while making the environment easier to port to, also makes the environment slower. qemu targets mingw and not cygwin because qemu is an emulator and already slow enough, without needing another layer of emulation thrown in the mix. That said, if you want to port qemu to cygwin and supply patches, I'm more than willing to help review them. It's just that right now, it's not my personal itch to write such patches, and that the qemu community currently favors mingw rather than cygwin. Also, cygwin comes with cross-compilers, so you can still use your cygwin setup to compile qemu for mingw (although doing the cross-compile on a true Linux box will be faster). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature