Hi,
I downloaded libvirt-0.4.0 sources and patched it with libvirt-windows-20071129-2.patch.
I followed all the instructions from
http://libvirt.org/windows.html and experienced some
compilation problems which
Caused me to make the following changes.
1- For some reason Cygwin does not configure correctly the winsock2 usage, so after
running the configure
I had to go to the config.h file and manually comment out the HAVE_WINSOCK2 macro
declaration.
2- On file src/remote_internal.c :
1- Rename gnutls_cipher_algorithm_t to gnutls_cipher_algorithm
2- Add #include <sys/un.h>
3- On file qemud/qemud.c :
4- Remove include : #include "getaddrinfo.h"
(It was conflicting the include from ../src/getaddrinfo.h )
5- On file src/remote.c :
1- Rename gnutls_cipher_algorithm_t to gnutls_cipher_algorithm
2- Add #include "../src/getaddrinfo.h"
6- On tests folder added -lintl flag to the LIBS variable
Best Regards,
Gabriel Kaufmann
Software Engineer
Gabriel.Kaufmann@ericom.com<mailto:Gabriel.Kaufmann@ericom.com>
Ericom Software
Tel (Dir): +972 2 591 1700 Ext 754
Tel (Main): +972 2 591 1700
http://www.ericom.com
Access Done Right
Empower Enterprise-Wide Access to Microsoft(r) Terminal Server, Virtual Desktops and
Legacy Applications