Hi, Rich I try to build on current libvirt on Windows. But failed in attached compilation message. I would be appreciate If you have any suggestions. My Instruction is follows. build cygwinenvironment. Install gettext-devel, gnutls, gnutls-devel additionally. install sunrpc-4.0-4 on / compile libvirt(current) and fails and get attached message. I have not added any additional patches to libvirt. Thanks Atsushi SAKAI
make all-recursive make[1]: Entering directory `/home/Administrator/libvirt' Making all in gnulib/lib make[2]: Entering directory `/home/Administrator/libvirt/gnulib/lib' make all-am make[3]: Entering directory `/home/Administrator/libvirt/gnulib/lib' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/Administrator/libvirt/gnulib/lib' make[2]: Leaving directory `/home/Administrator/libvirt/gnulib/lib' Making all in include make[2]: Entering directory `/home/Administrator/libvirt/include' Making all in libvirt make[3]: Entering directory `/home/Administrator/libvirt/include/libvirt' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/Administrator/libvirt/include/libvirt' make[3]: Entering directory `/home/Administrator/libvirt/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/Administrator/libvirt/include' make[2]: Leaving directory `/home/Administrator/libvirt/include' Making all in src make[2]: Entering directory `/home/Administrator/libvirt/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/include/libxml2 -DBINDIR=\""/usr/local/libexec"\" -DSBINDIR=\""/usr/local/sbin"\" -DSYSCONF_DIR="\"/usr/local/etc\"" -DLOCALEBASEDIR=\""/usr/local/share/locale"\" -DLOCAL_STATE_DIR=\""/usr/local/var"\" -DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -DWITH_TEST -DWITH_REMOTE -g -O2 -MT libvirt_la-libvirt.lo -MD -MP -MF .deps/libvirt_la-libvirt.Tpo -c -o libvirt_la-libvirt.lo `test -f 'libvirt.c' || echo './'`libvirt.c gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/include/libxml2 -DBINDIR=\"/usr/local/libexec\" -DSBINDIR=\"/usr/local/sbin\" -DSYSCONF_DIR=\"/usr/local/etc\" -DLOCALEBASEDIR=\"/usr/local/share/locale\" -DLOCAL_STATE_DIR=\"/usr/local/var\" -DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -DWITH_TEST -DWITH_REMOTE -g -O2 -MT libvirt_la-libvirt.lo -MD -MP -MF .deps/libvirt_la-libvirt.Tpo -c libvirt.c -DDLL_EXPORT -DPIC -o .libs/libvirt_la-libvirt.o In file included from libvirt.c:29: /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:103:2: warning: #warning "fd_set and associated macros have been defined in sys/types. This may cause runtime problems with W32 sockets" In file included from libvirt.c:29: /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:635: error: conflicting types for 'gethostname' /usr/include/sys/unistd.h:206: error: previous declaration of 'gethostname' was here /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:635: error: conflicting types for 'gethostname' /usr/include/sys/unistd.h:206: error: previous declaration of 'gethostname' was here make[2]: *** [libvirt_la-libvirt.lo] Error 1 make[2]: Leaving directory `/home/Administrator/libvirt/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Administrator/libvirt' make: *** [all] Error 2
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list