Latest MinGW patch

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

 



There are still a few bits which don't work.

Also attached, the output of './configure --without-xen --without-qemu --without-sasl', and the output of 'make -k' after the second time it has run (so you just see which bits fail to compile).

Some tips:

* Install MinGW and MSYS. MSYS 1.0.10 under Vista has known problems (MinGW bug 1593268) so you'll also need to install the tech preview versions of: gcc, gdb, binutils, w32api.

* Build and install libxml2.

* Install gnutls.  There are binaries for Windows available on their site.

* Install SunRPC from http://www.plt.rwth-aachen.de/index.php?id=258.

* Get libvirt from CVS, apply the patch below, run ./bootstrap and ./autogen.sh (you'll have to do this from a Linux machine).

* Set the following environment variables under Windows:

  gnutls=/c/Users/rjones/Desktop/gnutls
  oncrpc=/c/oncrpc

  CC=gcc-sjlj
  CFLAGS="-I $gnutls/include -I $oncrpc"
  LDFLAGS="-L $gnutls/lib -L $oncrpc/bin"
  PATH=$oncrpc/bin:$PATH

  export CC CFLAGS LDFLAGS PATH

* Enable config.cache (./configure -C) because shell scripts under Windows are slooooooooow.

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
? gnulib/lib/.deps
? gnulib/lib/.libs
? gnulib/lib/Makefile
? gnulib/lib/Makefile.in
? gnulib/lib/asnprintf.lo
? gnulib/lib/dummy.lo
? gnulib/lib/libgnu.la
? gnulib/lib/physmem.lo
? gnulib/lib/printf-args.lo
? gnulib/lib/printf-parse.lo
? gnulib/lib/sys
? gnulib/lib/vasnprintf.lo
? gnulib/tests/Makefile
? gnulib/tests/Makefile.in
Index: bootstrap
===================================================================
RCS file: /data/cvs/libvirt/bootstrap,v
retrieving revision 1.1
diff -u -r1.1 bootstrap
--- bootstrap	5 Dec 2007 21:31:07 -0000	1.1
+++ bootstrap	6 Dec 2007 11:27:48 -0000
@@ -95,6 +95,7 @@
   --avoid=snprintf-tests
   --avoid=vasnprintf-tests
   --avoid=alloca-opt-tests
+  --avoid=vasprintf-tests
 '
 
 $gnulib_tool			\
@@ -104,7 +105,8 @@
   --m4-base=gnulib/m4		\
   --source-base=gnulib/lib	\
   --tests-base=gnulib/tests	\
-  --import physmem getaddrinfo
+  --import physmem getaddrinfo  \
+    sys_stat vasprintf strndup strsep poll
 
 rm -f				\
     .gitignore			\
Index: configure.in
===================================================================
RCS file: /data/cvs/libvirt/configure.in,v
retrieving revision 1.109
diff -u -r1.109 configure.in
--- configure.in	6 Dec 2007 10:24:52 -0000	1.109
+++ configure.in	6 Dec 2007 11:27:48 -0000
@@ -60,10 +60,10 @@
 LIBVIRT_COMPILE_WARNINGS(maximum)
 
 dnl Availability of various common functions (non-fatal if missing).
-AC_CHECK_FUNCS([regexec cfmakeraw])
+AC_CHECK_FUNCS([cfmakeraw regexec uname])
 
 dnl Availability of various common headers (non-fatal if missing).
-AC_CHECK_HEADERS([paths.h sys/syslimits.h])
+AC_CHECK_HEADERS(libintl.h pwd.h paths.h sys/syslimits.h sys/utsname.h sys/wait.h winsock.h)
 
 dnl Need -lrpc? (Cygwin needs this)
 AC_SEARCH_LIBS(xdrmem_create,rpc)
Index: docs/examples/Makefile.am
===================================================================
RCS file: /data/cvs/libvirt/docs/examples/Makefile.am,v
retrieving revision 1.12
diff -u -r1.12 Makefile.am
--- docs/examples/Makefile.am	15 Nov 2007 13:04:28 -0000	1.12
+++ docs/examples/Makefile.am	6 Dec 2007 11:27:48 -0000
@@ -3,7 +3,8 @@
 SUBDIRS=python
 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I@srcdir@/include
 DEPS = $(top_builddir)/src/libvirt.la
-LDADDS = @STATIC_BINARIES@ $(WARN_CFLAGS) $(top_builddir)/src/libvirt.la
+LDADDS = @STATIC_BINARIES@ $(WARN_CFLAGS) $(top_builddir)/src/libvirt.la \
+	$(top_builddir)/gnulib/lib/libgnu.la
 
 rebuild: examples.xml index.html
 
Index: docs/examples/index.py
===================================================================
RCS file: /data/cvs/libvirt/docs/examples/index.py,v
retrieving revision 1.6
diff -u -r1.6 index.py
--- docs/examples/index.py	15 Nov 2007 13:04:28 -0000	1.6
+++ docs/examples/index.py	6 Dec 2007 11:27:49 -0000
@@ -225,7 +225,8 @@
 SUBDIRS=python
 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I@srcdir@/include
 DEPS = $(top_builddir)/src/libvirt.la
-LDADDS = @STATIC_BINARIES@ $(WARN_CFLAGS) $(top_builddir)/src/libvirt.la
+LDADDS = @STATIC_BINARIES@ $(WARN_CFLAGS) $(top_builddir)/src/libvirt.la \\
+	$(top_builddir)/gnulib/lib/libgnu.la
 
 rebuild: examples.xml index.html
 
Index: gnulib/lib/.cvsignore
===================================================================
RCS file: /data/cvs/libvirt/gnulib/lib/.cvsignore,v
retrieving revision 1.1
diff -u -r1.1 .cvsignore
--- gnulib/lib/.cvsignore	5 Dec 2007 21:35:32 -0000	1.1
+++ gnulib/lib/.cvsignore	6 Dec 2007 11:27:49 -0000
@@ -1,11 +1,26 @@
 alloca.h
+asprintf.c
 float.h
 netinet_in.h
+poll.c
+poll.h
+poll.in.h
 stdbool.h
 stdint.h
 stdio.h
 stdlib.h
 string.h
+strndup.c
+strnlen.c
+strpbrk.c
+strsep.c
+sys_select.h
+sys_select.in.h
 sys_socket.h
+sys_stat.h
+sys_stat.in.h
+sys_time.h
+sys_time.in.h
 unistd.h
+vasprintf.c
 wchar.h
Index: gnulib/lib/Makefile.am
===================================================================
RCS file: /data/cvs/libvirt/gnulib/lib/Makefile.am,v
retrieving revision 1.1
diff -u -r1.1 Makefile.am
--- gnulib/lib/Makefile.am	5 Dec 2007 21:35:32 -0000	1.1
+++ gnulib/lib/Makefile.am	6 Dec 2007 11:27:49 -0000
@@ -9,7 +9,7 @@
 # the same distribution terms as the rest of that program.
 #
 # Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --aux-dir=build-aux --with-tests --avoid=alloca-opt-tests --avoid=snprintf-tests --avoid=vasnprintf-tests --lgpl --libtool --macro-prefix=gl getaddrinfo physmem
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --aux-dir=build-aux --with-tests --avoid=alloca-opt-tests --avoid=snprintf-tests --avoid=vasnprintf-tests --avoid=vasprintf-tests --lgpl --libtool --macro-prefix=gl getaddrinfo physmem poll strndup strsep sys_stat vasprintf
 
 AUTOMAKE_OPTIONS = 1.5 gnits
 
@@ -179,6 +179,25 @@
 
 ## end   gnulib module physmem
 
+## begin gnulib module poll
+
+BUILT_SOURCES += $(POLL_H)
+
+# We need the following in order to create <poll.h> when the system
+# doesn't have one.
+poll.h: poll.in.h
+	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+	  cat $(srcdir)/poll.in.h; \
+	} > $@-t
+	mv -f $@-t $@
+MOSTLYCLEANFILES += poll.h poll.h-t
+
+EXTRA_DIST += poll.c poll.in.h
+
+EXTRA_libgnu_la_SOURCES += poll.c
+
+## end   gnulib module poll
+
 ## begin gnulib module size_max
 
 libgnu_la_SOURCES += size_max.h
@@ -422,6 +441,65 @@
 
 ## end   gnulib module string
 
+## begin gnulib module strndup
+
+
+EXTRA_DIST += strndup.c
+
+EXTRA_libgnu_la_SOURCES += strndup.c
+
+## end   gnulib module strndup
+
+## begin gnulib module strnlen
+
+
+EXTRA_DIST += strnlen.c
+
+EXTRA_libgnu_la_SOURCES += strnlen.c
+
+## end   gnulib module strnlen
+
+## begin gnulib module strpbrk
+
+
+EXTRA_DIST += strpbrk.c
+
+EXTRA_libgnu_la_SOURCES += strpbrk.c
+
+## end   gnulib module strpbrk
+
+## begin gnulib module strsep
+
+
+EXTRA_DIST += strsep.c
+
+EXTRA_libgnu_la_SOURCES += strsep.c
+
+## end   gnulib module strsep
+
+## begin gnulib module sys_select
+
+BUILT_SOURCES += $(SYS_SELECT_H)
+
+# We need the following in order to create <sys/select.h> when the system
+# doesn't have one that works with the given compiler.
+sys/select.h: sys_select.in.h
+	@MKDIR_P@ sys
+	rm -f $@-t $@
+	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+	  sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+	      -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
+	      -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
+	      < $(srcdir)/sys_select.in.h; \
+	} > $@-t
+	mv $@-t $@
+MOSTLYCLEANFILES += sys/select.h sys/select.h-t
+MOSTLYCLEANDIRS += sys
+
+EXTRA_DIST += sys_select.in.h
+
+## end   gnulib module sys_select
+
 ## begin gnulib module sys_socket
 
 BUILT_SOURCES += $(SYS_SOCKET_H)
@@ -446,6 +524,55 @@
 
 ## end   gnulib module sys_socket
 
+## begin gnulib module sys_stat
+
+BUILT_SOURCES += $(SYS_STAT_H)
+
+# We need the following in order to create <sys/stat.h> when the system
+# has one that is incomplete.
+sys/stat.h: sys_stat.in.h
+	@MKDIR_P@ sys
+	rm -f $@-t $@
+	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+	  sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+	      -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
+	      -e 's|@''HAVE_IO_H''@|$(HAVE_IO_H)|g' \
+	      -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
+	      -e 's|@''HAVE_DECL_MKDIR''@|$(HAVE_DECL_MKDIR)|g' \
+	      < $(srcdir)/sys_stat.in.h; \
+	} > $@-t
+	mv $@-t $@
+MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
+MOSTLYCLEANDIRS += sys
+
+EXTRA_DIST += sys_stat.in.h
+
+## end   gnulib module sys_stat
+
+## begin gnulib module sys_time
+
+BUILT_SOURCES += $(SYS_TIME_H)
+
+# We need the following in order to create <sys/time.h> when the system
+# doesn't have one that works with the given compiler.
+sys/time.h: sys_time.in.h
+	@MKDIR_P@ sys
+	rm -f $@-t $@
+	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+	  sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
+	      -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+	      -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
+	      -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
+	      -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
+	      < $(srcdir)/sys_time.in.h; \
+	} > $@-t
+	mv $@-t $@
+MOSTLYCLEANFILES += sys/time.h sys/time.h-t
+
+EXTRA_DIST += sys_time.in.h
+
+## end   gnulib module sys_time
+
 ## begin gnulib module unistd
 
 BUILT_SOURCES += unistd.h
@@ -500,6 +627,15 @@
 
 ## end   gnulib module vasnprintf
 
+## begin gnulib module vasprintf
+
+
+EXTRA_DIST += asprintf.c vasprintf.c
+
+EXTRA_libgnu_la_SOURCES += asprintf.c vasprintf.c
+
+## end   gnulib module vasprintf
+
 ## begin gnulib module verify
 
 libgnu_la_SOURCES += verify.h
Index: gnulib/m4/.cvsignore
===================================================================
RCS file: gnulib/m4/.cvsignore
diff -N gnulib/m4/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnulib/m4/.cvsignore	6 Dec 2007 11:27:49 -0000
@@ -0,0 +1,11 @@
+.deps
+.dirstamp
+poll.m4
+strndup.m4
+strnlen.m4
+strpbrk.m4
+strsep.m4
+sys_select_h.m4
+sys_stat_h.m4
+sys_time_h.m4
+vasprintf.m4
Index: gnulib/m4/gnulib-cache.m4
===================================================================
RCS file: /data/cvs/libvirt/gnulib/m4/gnulib-cache.m4,v
retrieving revision 1.1
diff -u -r1.1 gnulib-cache.m4
--- gnulib/m4/gnulib-cache.m4	5 Dec 2007 21:35:32 -0000	1.1
+++ gnulib/m4/gnulib-cache.m4	6 Dec 2007 11:27:49 -0000
@@ -15,12 +15,12 @@
 
 
 # Specification in the form of a command-line invocation:
-#   gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --aux-dir=build-aux --with-tests --avoid=alloca-opt-tests --avoid=snprintf-tests --avoid=vasnprintf-tests --lgpl --libtool --macro-prefix=gl getaddrinfo physmem
+#   gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --aux-dir=build-aux --with-tests --avoid=alloca-opt-tests --avoid=snprintf-tests --avoid=vasnprintf-tests --avoid=vasprintf-tests --lgpl --libtool --macro-prefix=gl getaddrinfo physmem poll strndup strsep sys_stat vasprintf
 
 # Specification in the form of a few gnulib-tool.m4 macro invocations:
 gl_LOCAL_DIR([])
-gl_MODULES([getaddrinfo physmem])
-gl_AVOID([alloca-opt-tests snprintf-tests vasnprintf-tests])
+gl_MODULES([getaddrinfo physmem poll strndup strsep sys_stat vasprintf])
+gl_AVOID([alloca-opt-tests snprintf-tests vasnprintf-tests vasprintf-tests])
 gl_SOURCE_BASE([gnulib/lib])
 gl_M4_BASE([gnulib/m4])
 gl_PO_BASE([])
Index: gnulib/m4/gnulib-comp.m4
===================================================================
RCS file: /data/cvs/libvirt/gnulib/m4/gnulib-comp.m4,v
retrieving revision 1.1
diff -u -r1.1 gnulib-comp.m4
--- gnulib/m4/gnulib-comp.m4	5 Dec 2007 21:35:32 -0000	1.1
+++ gnulib/m4/gnulib-comp.m4	6 Dec 2007 11:27:49 -0000
@@ -51,6 +51,7 @@
   gl_HEADER_NETINET_IN
   AC_PROG_MKDIR_P
   gl_PHYSMEM
+  gl_FUNC_POLL
   gl_SIZE_MAX
   gl_FUNC_SNPRINTF
   gl_STDIO_MODULE_INDICATOR([snprintf])
@@ -64,11 +65,30 @@
   gl_FUNC_STRDUP
   gl_STRING_MODULE_INDICATOR([strdup])
   gl_HEADER_STRING_H
+  gl_FUNC_STRNDUP
+  gl_STRING_MODULE_INDICATOR([strndup])
+  gl_FUNC_STRNLEN
+  gl_STRING_MODULE_INDICATOR([strnlen])
+  gl_FUNC_STRPBRK
+  gl_STRING_MODULE_INDICATOR([strpbrk])
+  gl_FUNC_STRSEP
+  gl_STRING_MODULE_INDICATOR([strsep])
+  gl_HEADER_SYS_SELECT
+  AC_PROG_MKDIR_P
   gl_HEADER_SYS_SOCKET
   AC_PROG_MKDIR_P
   AC_CHECK_FUNCS([shutdown])
+  gl_HEADER_SYS_STAT_H
+  AC_PROG_MKDIR_P
+  gl_HEADER_SYS_TIME_H
+  AC_PROG_MKDIR_P
   gl_UNISTD_H
   gl_FUNC_VASNPRINTF
+  gl_FUNC_VASPRINTF
+  gl_STDIO_MODULE_INDICATOR([vasprintf])
+  m4_ifdef([AM_XGETTEXT_OPTION],
+    [AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format])
+     AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
   gl_WCHAR_H
   gl_XSIZE
   m4_popdef([AC_LIBSOURCES])
@@ -124,6 +144,7 @@
   build-aux/link-warning.h
   lib/alloca.in.h
   lib/asnprintf.c
+  lib/asprintf.c
   lib/dummy.c
   lib/float+.h
   lib/float.in.h
@@ -138,6 +159,8 @@
   lib/netinet_in.in.h
   lib/physmem.c
   lib/physmem.h
+  lib/poll.c
+  lib/poll.in.h
   lib/printf-args.c
   lib/printf-args.h
   lib/printf-parse.c
@@ -150,10 +173,18 @@
   lib/stdlib.in.h
   lib/strdup.c
   lib/string.in.h
+  lib/strndup.c
+  lib/strnlen.c
+  lib/strpbrk.c
+  lib/strsep.c
+  lib/sys_select.in.h
   lib/sys_socket.in.h
+  lib/sys_stat.in.h
+  lib/sys_time.in.h
   lib/unistd.in.h
   lib/vasnprintf.c
   lib/vasnprintf.h
+  lib/vasprintf.c
   lib/verify.h
   lib/wchar.in.h
   lib/xsize.h
@@ -174,6 +205,7 @@
   m4/netinet_in_h.m4
   m4/onceonly_2_57.m4
   m4/physmem.m4
+  m4/poll.m4
   m4/size_max.m4
   m4/snprintf.m4
   m4/socklen.m4
@@ -185,9 +217,17 @@
   m4/stdlib_h.m4
   m4/strdup.m4
   m4/string_h.m4
+  m4/strndup.m4
+  m4/strnlen.m4
+  m4/strpbrk.m4
+  m4/strsep.m4
+  m4/sys_select_h.m4
   m4/sys_socket_h.m4
+  m4/sys_stat_h.m4
+  m4/sys_time_h.m4
   m4/unistd_h.m4
   m4/vasnprintf.m4
+  m4/vasprintf.m4
   m4/wchar.m4
   m4/wchar_t.m4
   m4/wint_t.m4
@@ -200,7 +240,10 @@
   tests/test-stdio.c
   tests/test-stdlib.c
   tests/test-string.c
+  tests/test-sys_select.c
   tests/test-sys_socket.c
+  tests/test-sys_stat.c
+  tests/test-sys_time.c
   tests/test-unistd.c
   tests/test-wchar.c
 ])
Index: gnulib/m4/stdio_h.m4
===================================================================
RCS file: /data/cvs/libvirt/gnulib/m4/stdio_h.m4,v
retrieving revision 1.1
diff -u -r1.1 stdio_h.m4
--- gnulib/m4/stdio_h.m4	5 Dec 2007 21:35:32 -0000	1.1
+++ gnulib/m4/stdio_h.m4	6 Dec 2007 11:27:49 -0000
@@ -1,4 +1,4 @@
-# stdio_h.m4 serial 8
+# stdio_h.m4 serial 9
 dnl Copyright (C) 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -73,13 +73,10 @@
       [AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <stdio.h>],
 [#if defined __SL64 && defined __SCLE /* cygwin */
   /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making
-     fseeko/ftello needlessly fail.  This bug was fixed in 1.5.25, at the
-     same time that cygwin fixed the declaration of "long timezone" to no
-     longer be a macro, so we use that as a compile-time test for
-     cross-compiles rather than building a runtime test.  */
-# define timezonevar
-# include <sys/time.h>
-# ifdef timezone
+     fseeko/ftello needlessly fail.  This bug was fixed in 1.5.25, and
+     it is easier to do a version check than building a runtime test.  */
+# include <cygwin/version.h>
+# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25)
   choke me
 # endif
 #endif])],
Index: gnulib/tests/.cvsignore
===================================================================
RCS file: gnulib/tests/.cvsignore
diff -N gnulib/tests/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnulib/tests/.cvsignore	6 Dec 2007 11:27:49 -0000
@@ -0,0 +1,5 @@
+.deps
+.dirstamp
+test-sys_select.c
+test-sys_stat.c
+test-sys_time.c
Index: gnulib/tests/Makefile.am
===================================================================
RCS file: /data/cvs/libvirt/gnulib/tests/Makefile.am,v
retrieving revision 1.1
diff -u -r1.1 Makefile.am
--- gnulib/tests/Makefile.am	5 Dec 2007 21:35:32 -0000	1.1
+++ gnulib/tests/Makefile.am	6 Dec 2007 11:27:50 -0000
@@ -108,6 +108,15 @@
 
 ## end   gnulib module string-tests
 
+## begin gnulib module sys_select-tests
+
+TESTS += test-sys_select
+check_PROGRAMS += test-sys_select
+
+EXTRA_DIST += test-sys_select.c
+
+## end   gnulib module sys_select-tests
+
 ## begin gnulib module sys_socket-tests
 
 TESTS += test-sys_socket
@@ -117,6 +126,24 @@
 
 ## end   gnulib module sys_socket-tests
 
+## begin gnulib module sys_stat-tests
+
+TESTS += test-sys_stat
+check_PROGRAMS += test-sys_stat
+
+EXTRA_DIST += test-sys_stat.c
+
+## end   gnulib module sys_stat-tests
+
+## begin gnulib module sys_time-tests
+
+TESTS += test-sys_time
+check_PROGRAMS += test-sys_time
+
+EXTRA_DIST += test-sys_time.c
+
+## end   gnulib module sys_time-tests
+
 ## begin gnulib module unistd-tests
 
 TESTS += test-unistd
Index: proxy/libvirt_proxy.c
===================================================================
RCS file: /data/cvs/libvirt/proxy/libvirt_proxy.c,v
retrieving revision 1.21
diff -u -r1.21 libvirt_proxy.c
--- proxy/libvirt_proxy.c	5 Dec 2007 18:28:05 -0000	1.21
+++ proxy/libvirt_proxy.c	6 Dec 2007 11:27:50 -0000
@@ -9,6 +9,10 @@
  * Daniel Veillard <veillard@xxxxxxxxxx>
  */
 
+#include "config.h"
+
+#ifdef WITH_XEN
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -18,9 +22,9 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <locale.h>
+
 #include "internal.h"
 
-#ifdef WITH_XEN
 #include "proxy_internal.h"
 #include "xen_internal.h"
 #include "xend_internal.h"
Index: src/.cvsignore
===================================================================
RCS file: /data/cvs/libvirt/src/.cvsignore,v
retrieving revision 1.3
diff -u -r1.3 .cvsignore
--- src/.cvsignore	23 Feb 2007 17:15:42 -0000	1.3
+++ src/.cvsignore	6 Dec 2007 11:27:50 -0000
@@ -3,6 +3,7 @@
 .deps
 .libs
 *.lo
+*.loT
 *.la
 virsh
 *.gcda
Index: src/console.c
===================================================================
RCS file: /data/cvs/libvirt/src/console.c,v
retrieving revision 1.3
diff -u -r1.3 console.c
--- src/console.c	26 Nov 2007 12:14:32 -0000	1.3
+++ src/console.c	6 Dec 2007 11:27:50 -0000
@@ -22,6 +22,8 @@
 
 #include "config.h"
 
+#ifndef __MINGW32__
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -193,6 +195,8 @@
     return ret;
 }
 
+#endif /* !__MINGW32__ */
+
 /*
  * Local variables:
  *  indent-tabs-mode: nil
Index: src/console.h
===================================================================
RCS file: /data/cvs/libvirt/src/console.h,v
retrieving revision 1.2
diff -u -r1.2 console.h
--- src/console.h	28 Jan 2007 19:47:36 -0000	1.2
+++ src/console.h	6 Dec 2007 11:27:50 -0000
@@ -23,6 +23,8 @@
 #ifndef __VIR_CONSOLE_H__
 #define __VIR_CONSOLE_H__
 
+#ifndef __MINGW32__
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -33,6 +35,8 @@
 }
 #endif
 
+#endif /* !__MINGW32__ */
+
 #endif /* __VIR_CONSOLE_H__ */
 
 /*
Index: src/internal.h
===================================================================
RCS file: /data/cvs/libvirt/src/internal.h,v
retrieving revision 1.57
diff -u -r1.57 internal.h
--- src/internal.h	5 Dec 2007 18:55:04 -0000	1.57
+++ src/internal.h	6 Dec 2007 11:27:50 -0000
@@ -12,11 +12,14 @@
 #include <sys/syslimits.h>
 #endif
 
+#ifdef HAVE_LIBINTL_H
+#include <libintl.h>
+#endif
+
 #include "hash.h"
 #include "libvirt/libvirt.h"
 #include "libvirt/virterror.h"
 #include "driver.h"
-#include <libintl.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -36,8 +39,17 @@
 #define IF_NAMESIZE 16
 #endif
 
+#ifndef INET_ADDRSTRLEN
+#define INET_ADDRSTRLEN 16
+#endif
+
+#ifdef HAVE_LIBINTL_H
 #define _(str) dgettext(GETTEXT_PACKAGE, (str))
 #define N_(str) dgettext(GETTEXT_PACKAGE, (str))
+#else
+#define _(str) (str)
+#define N_(str) (str)
+#endif
 #define gettext_noop(str) (str)
 
 /* String equality tests, suggested by Jim Meyering. */
Index: src/iptables.c
===================================================================
RCS file: /data/cvs/libvirt/src/iptables.c,v
retrieving revision 1.3
diff -u -r1.3 iptables.c
--- src/iptables.c	1 Dec 2007 15:45:25 -0000	1.3
+++ src/iptables.c	6 Dec 2007 11:27:51 -0000
@@ -31,10 +31,16 @@
 #include <limits.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <paths.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+
+#ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
+#endif
+
+#ifdef HAVE_PATHS_H
+#include <paths.h>
+#endif
 
 #include "internal.h"
 
Index: src/libvirt.c
===================================================================
RCS file: /data/cvs/libvirt/src/libvirt.c,v
retrieving revision 1.108
diff -u -r1.108 libvirt.c
--- src/libvirt.c	5 Dec 2007 18:55:04 -0000	1.108
+++ src/libvirt.c	6 Dec 2007 11:27:53 -0000
@@ -161,8 +161,10 @@
         return(0);
     initialized = 1;
 
+#ifdef HAVE_LIBINTL_H
     if (!bindtextdomain(GETTEXT_PACKAGE, LOCALEBASEDIR))
         return (-1);
+#endif
 
     /*
      * Note that the order is important: the first ones have a higher
Index: src/nodeinfo.c
===================================================================
RCS file: /data/cvs/libvirt/src/nodeinfo.c,v
retrieving revision 1.4
diff -u -r1.4 nodeinfo.c
--- src/nodeinfo.c	5 Dec 2007 21:40:15 -0000	1.4
+++ src/nodeinfo.c	6 Dec 2007 11:27:53 -0000
@@ -26,10 +26,13 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include <sys/utsname.h>
 #include <errno.h>
 #include <ctype.h>
 
+#ifdef HAVE_SYS_UTSNAME_H
+#include <sys/utsname.h>
+#endif
+
 #include "nodeinfo.h"
 #include "physmem.h"
 
@@ -120,6 +123,7 @@
 
 int virNodeInfoPopulate(virConnectPtr conn,
                         virNodeInfoPtr nodeinfo) {
+#ifdef HAVE_UNAME
     struct utsname info;
 
     if (uname(&info) < 0) {
@@ -128,10 +132,15 @@
                         "cannot extract machine type %s", strerror(errno));
         return -1;
     }
-
     strncpy(nodeinfo->model, info.machine, sizeof(nodeinfo->model)-1);
     nodeinfo->model[sizeof(nodeinfo->model)-1] = '\0';
 
+#else /* !HAVE_UNAME */
+
+    nodeinfo->model[0] = '\0';
+
+#endif /* !HAVE_UNAME */
+
 #ifdef __linux__
     {
     int ret;
Index: src/proxy_internal.c
===================================================================
RCS file: /data/cvs/libvirt/src/proxy_internal.c,v
retrieving revision 1.39
diff -u -r1.39 proxy_internal.c
--- src/proxy_internal.c	5 Dec 2007 21:40:15 -0000	1.39
+++ src/proxy_internal.c	6 Dec 2007 11:27:54 -0000
@@ -8,6 +8,8 @@
  * Daniel Veillard <veillard@xxxxxxxxxx>
  */
 
+#ifdef WITH_XEN
+
 #include "config.h"
 
 #include <stdio.h>
@@ -1111,6 +1113,8 @@
     return(ostype);
 }
 
+#endif /* WITH_XEN */
+
 /*
  * vim: set tabstop=4:
  * vim: set shiftwidth=4:
Index: src/qemu_driver.c
===================================================================
RCS file: /data/cvs/libvirt/src/qemu_driver.c,v
retrieving revision 1.42
diff -u -r1.42 qemu_driver.c
--- src/qemu_driver.c	5 Dec 2007 21:31:07 -0000	1.42
+++ src/qemu_driver.c	6 Dec 2007 11:27:56 -0000
@@ -47,6 +47,10 @@
 #include <sys/wait.h>
 #include <libxml/uri.h>
 
+#ifdef __MINGW32__
+#include <basetyps.h>
+#endif
+
 #include "libvirt/virterror.h"
 
 #include "event.h"
Index: src/remote_internal.c
===================================================================
RCS file: /data/cvs/libvirt/src/remote_internal.c,v
retrieving revision 1.43
diff -u -r1.43 remote_internal.c
--- src/remote_internal.c	5 Dec 2007 21:31:07 -0000	1.43
+++ src/remote_internal.c	6 Dec 2007 11:27:59 -0000
@@ -31,15 +31,29 @@
 #include <errno.h>
 #include <signal.h>
 #include <sys/types.h>
-#include <sys/socket.h>
 #include <sys/stat.h>
-#include <sys/wait.h>
 #include <fcntl.h>
+
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
+#ifdef HAVE_PWD_H
+#include <pwd.h>
+#endif
+
+#ifdef HAVE_PATHS_H
 #include <paths.h>
+#endif
+
+#ifndef HAVE_WINSOCK_H
+#include <sys/socket.h>
 #include <netdb.h>
 #include <netinet/in.h>
 #include <netinet/tcp.h>
-#include <pwd.h>
+#else
+#include <winsock.h>
+#endif
 
 #include <rpc/types.h>
 #include <rpc/xdr.h>
@@ -51,6 +65,10 @@
 #endif
 #include <libxml/uri.h>
 
+#ifdef __MINGW32__
+#include <basetyps.h>
+#endif
+
 #include "internal.h"
 #include "driver.h"
 #include "getaddrinfo.h"
@@ -2841,7 +2859,12 @@
 
 static int
 remoteAuthenticate (virConnectPtr conn, struct private_data *priv, int in_open,
-                    virConnectAuthPtr auth, const char *authtype)
+                    virConnectAuthPtr auth
+#if !HAVE_SASL && !HAVE_POLKIT
+                    ATTRIBUTE_UNUSED
+#endif
+                    ,
+                    const char *authtype)
 {
     struct remote_auth_list_ret ret;
     int err, type = REMOTE_AUTH_NONE;
Index: src/sexpr.c
===================================================================
RCS file: /data/cvs/libvirt/src/sexpr.c,v
retrieving revision 1.10
diff -u -r1.10 sexpr.c
--- src/sexpr.c	5 Dec 2007 21:31:07 -0000	1.10
+++ src/sexpr.c	6 Dec 2007 11:27:59 -0000
@@ -12,15 +12,15 @@
 
 #include "config.h"
 
-#include "sexpr.h"
-#include "internal.h"
-
+#include <stdio.h>
 #include <malloc.h>
 #include <string.h>
-#include <stdio.h>
 #include <ctype.h>
 #include <errno.h>
 
+#include "internal.h"
+#include "sexpr.h"
+
 /**
  * virSexprError:
  * @conn: the connection if available
Index: src/test.c
===================================================================
RCS file: /data/cvs/libvirt/src/test.c,v
retrieving revision 1.54
diff -u -r1.54 test.c
--- src/test.c	5 Dec 2007 21:31:07 -0000	1.54
+++ src/test.c	6 Dec 2007 11:28:00 -0000
@@ -35,8 +35,14 @@
 #include <libxml/uri.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <sys/stat.h>
+
+#ifndef HAVE_WINSOCK_H
 #include <net/if.h>
 #include <netinet/in.h>
+#else
+#include <winsock.h>
+#endif
 
 #include "internal.h"
 #include "test.h"
Index: src/util.c
===================================================================
RCS file: /data/cvs/libvirt/src/util.c,v
retrieving revision 1.9
diff -u -r1.9 util.c
--- src/util.c	5 Dec 2007 13:56:22 -0000	1.9
+++ src/util.c	6 Dec 2007 11:28:00 -0000
@@ -46,6 +46,8 @@
 
 #define virLog(msg...) fprintf(stderr, msg)
 
+#ifndef __MINGW32__
+
 static void 
 ReportError(virConnectPtr conn,
                       virDomainPtr dom,
@@ -198,6 +200,34 @@
     return(_virExec(conn, argv, retpid, infd, outfd, errfd, 1));
 }
 
+#else /* __MINGW32__ */
+
+int
+virExec(virConnectPtr conn,
+        char **argv ATTRIBUTE_UNUSED,
+        int *retpid ATTRIBUTE_UNUSED,
+        int infd ATTRIBUTE_UNUSED,
+        int *outfd ATTRIBUTE_UNUSED,
+        int *errfd ATTRIBUTE_UNUSED)
+{
+    ReportError (conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR, __FUNCTION__);
+    return -1;
+}
+
+int
+virExecNonBlock(virConnectPtr conn,
+                char **argv ATTRIBUTE_UNUSED,
+                int *retpid ATTRIBUTE_UNUSED,
+                int infd ATTRIBUTE_UNUSED,
+                int *outfd ATTRIBUTE_UNUSED,
+                int *errfd ATTRIBUTE_UNUSED)
+{
+    ReportError (conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR, __FUNCTION__);
+    return -1;
+}
+
+#endif /* __MINGW32__ */
+
 /* Like read(), but restarts after EINTR */
 int saferead(int fd, void *buf, size_t count)
 {
@@ -313,6 +343,7 @@
     return strcmp(str + len - suffixlen, suffix) == 0;
 }
 
+#ifndef __MINGW32__
 
 int virFileLinkPointsTo(const char *checkLink,
                         const char *checkDest)
@@ -397,6 +428,22 @@
     return 1;
 }
 
+#else /* !__MINGW32__ */
+
+/* Gnulib has an implementation of readlink which could be used
+ * to implement this, but it requires LGPLv3.
+ */
+
+int
+virFileLinkPointsTo (const char *checkLink ATTRIBUTE_UNUSED,
+                     const char *checkDest ATTRIBUTE_UNUSED)
+{
+    virLog ("%s: not implemented", __FUNCTION__);
+    return 0;
+}
+
+#endif /*! __MINGW32__ */
+
 int virFileMakePath(const char *path)
 {
     struct stat st;
Index: src/uuid.c
===================================================================
RCS file: /data/cvs/libvirt/src/uuid.c,v
retrieving revision 1.3
diff -u -r1.3 uuid.c
--- src/uuid.c	9 Aug 2007 20:19:12 -0000	1.3
+++ src/uuid.c	6 Dec 2007 11:28:00 -0000
@@ -36,6 +36,10 @@
 
 #define qemudLog(level, msg...) fprintf(stderr, msg)
 
+#ifndef ENODATA
+#define ENODATA EIO
+#endif
+
 static int
 virUUIDGenerateRandomBytes(unsigned char *buf,
                            int buflen)
Index: src/virsh.c
===================================================================
RCS file: /data/cvs/libvirt/src/virsh.c,v
retrieving revision 1.117
diff -u -r1.117 virsh.c
--- src/virsh.c	6 Dec 2007 10:24:52 -0000	1.117
+++ src/virsh.c	6 Dec 2007 11:28:03 -0000
@@ -37,6 +37,10 @@
 #include <inttypes.h>
 #include <test.h>
 
+#ifdef __MINGW32__
+#include <basetyps.h>
+#endif
+
 #include <libxml/parser.h>
 #include <libxml/tree.h>
 #include <libxml/xpath.h>
@@ -441,6 +445,8 @@
     return ctl->conn ? TRUE : FALSE;
 }
 
+#ifndef __MINGW32__
+
 /*
  * "console" command
  */
@@ -506,6 +512,8 @@
     return ret;
 }
 
+#endif /* !__MINGW32__ */
+
 /*
  * "list" command
  */
@@ -3705,7 +3713,9 @@
     {"autostart", cmdAutostart, opts_autostart, info_autostart},
     {"capabilities", cmdCapabilities, NULL, info_capabilities},
     {"connect", cmdConnect, opts_connect, info_connect},
+#ifndef __MINGW32__
     {"console", cmdConsole, opts_console, info_console},
+#endif /* !__MINGW32__ */
     {"create", cmdCreate, opts_create, info_create},
     {"start", cmdStart, opts_start, info_start},
     {"destroy", cmdDestroy, opts_destroy, info_destroy},
Index: src/xen_unified.h
===================================================================
RCS file: /data/cvs/libvirt/src/xen_unified.h,v
retrieving revision 1.10
diff -u -r1.10 xen_unified.h
--- src/xen_unified.h	5 Dec 2007 13:56:22 -0000	1.10
+++ src/xen_unified.h	6 Dec 2007 11:28:03 -0000
@@ -13,8 +13,12 @@
 
 #include "internal.h"
 
+#ifndef HAVE_WINSOCK_H
 #include <sys/un.h>
 #include <netinet/in.h>
+#else
+#include <winsock.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" {
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for gcc... gcc-sjlj
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-sjlj accepts -g... yes
checking for gcc-sjlj option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc-sjlj... gcc3
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc-sjlj -E
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for working alloca.h... no
checking for alloca... yes
checking arpa/inet.h usability... no
checking arpa/inet.h presence... no
checking for arpa/inet.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking sys/socket.h usability... no
checking sys/socket.h presence... no
checking for sys/socket.h... no
checking netdb.h usability... no
checking netdb.h presence... no
checking for netdb.h... no
checking netinet/in.h usability... no
checking netinet/in.h presence... no
checking for netinet/in.h... no
checking sys/ioctl.h usability... no
checking sys/ioctl.h presence... no
checking for sys/ioctl.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for stdint.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/select.h usability... no
checking sys/select.h presence... no
checking for sys/select.h... no
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking whether the preprocessor supports include_next... yes
checking whether <sys/socket.h> is self-contained... no
checking winsock2.h usability... yes
checking winsock2.h presence... yes
checking for winsock2.h... yes
checking ws2tcpip.h usability... yes
checking ws2tcpip.h presence... yes
checking for ws2tcpip.h... yes
checking for C/C++ restrict keyword... __restrict
checking for IPv4 sockets... yes
checking for IPv6 sockets... no
checking for inline... inline
checking whether malloc, realloc, calloc are POSIX compliant... no
checking for external symbol _system_configuration... no
checking whether snprintf is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether strdup is declared... yes
checking whether strndup is declared... no
checking whether strnlen is declared... no
checking for lstat... no
checking for vasnprintf... no
checking whether stat file-mode macros are broken... no
checking for struct timeval... yes
checking for EOVERFLOW... E2BIG
checking for size_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo
checking for library containing getaddrinfo... no
checking for getaddrinfo... no
checking for getaddrinfo in ws2tcpip.h and -lws2_32... no
checking for gai_strerror (possibly via ws2tcpip.h)... yes
checking for library containing gethostbyname... no
checking for library containing getservbyname... no
checking for gethostbyname... no
checking for gethostbyname in winsock2.h and -lws2_32... yes
checking whether getaddrinfo is declared... no
checking whether freeaddrinfo is declared... no
checking whether gai_strerror is declared... yes
checking whether getnameinfo is declared... no
checking for struct addrinfo... yes
checking for inet_ntop... no
checking whether inet_ntop is declared... no
checking whether <netinet/in.h> is self-contained... no
checking for netinet/in.h... (cached) no
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/param.h... yes
checking for sys/sysctl.h... no
checking for sys/systemcfg.h... no
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for sysctl... no
checking for table... no
checking poll.h usability... no
checking poll.h presence... no
checking for poll.h... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for snprintf... yes
checking for socklen_t... yes
checking whether stdint.h conforms to C99... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for strdup... yes
checking for working strndup... no
checking for working strnlen... no
checking for strpbrk... yes
checking for strsep... no
checking whether <sys/select.h> is self-contained... no
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether <sys/socket.h> is self-contained... (cached) no
checking for winsock2.h... (cached) yes
checking for ws2tcpip.h... (cached) yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for shutdown... no
checking whether mkdir is declared... no
checking io.h usability... yes
checking io.h presence... yes
checking for io.h... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for ptrdiff_t... yes
checking for snprintf... (cached) yes
checking for wcslen... yes
checking whether _snprintf is declared... yes
checking for vasprintf... no
checking whether <wchar.h> is standalone... yes
checking for stdint.h... (cached) yes
checking for gcc... (cached) gcc-sjlj
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc-sjlj accepts -g... (cached) yes
checking for gcc-sjlj option to accept ISO C89... (cached) none needed
checking dependency style of gcc-sjlj... (cached) gcc3
checking for an ANSI C-conforming const... yes
checking for function prototypes... yes
checking for string.h... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc-sjlj... c:/mingw/mingw32/bin/ld.exe
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r
checking for BSD-compatible nm... /mingw/bin/nm
checking whether ln -s works... no, using cp -p
checking how to recognize dependent libraries... file_magic file format pei*-i386(.*architecture: i386)?
checking for dlltool... dlltool
checking for as... as
checking for objdump... objdump
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 8192
checking command to parse /mingw/bin/nm output from gcc-sjlj object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc-sjlj supports -fno-rtti -fno-exceptions... no
checking for gcc-sjlj option to produce PIC... -DDLL_EXPORT
checking if gcc-sjlj PIC flag -DDLL_EXPORT works... yes
checking if gcc-sjlj static flag -static works... yes
checking if gcc-sjlj supports -c -o file.o... yes
checking whether the gcc-sjlj linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking whether gcc-sjlj and cc understand -c and -o together... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wformat... yes
checking whether gcc understands -Wformat-security... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wextra... yes
checking whether gcc understands -Wshadow... yes
checking whether gcc understands -Wcast-align... yes
checking whether gcc understands -Wwrite-strings... yes
checking whether gcc understands -Waggregate-return... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Winline... yes
checking whether gcc understands -Wredundant-decls... yes
checking whether gcc understands -Wno-sign-compare... yes
checking whether gcc understands -Wp,-D_FORTIFY_SOURCE=2... yes
checking whether gcc understands -fexceptions... yes
checking whether gcc understands -fasynchronous-unwind-tables... yes
checking what language compliance flags to pass to the C compiler... 
checking for cfmakeraw... no
checking for regexec... no
checking for uname... no
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking pwd.h usability... no
checking pwd.h presence... no
checking for pwd.h... no
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/utsname.h usability... no
checking sys/utsname.h presence... no
checking for sys/utsname.h... no
checking sys/wait.h usability... no
checking sys/wait.h presence... no
checking for sys/wait.h... no
checking winsock.h usability... yes
checking winsock.h presence... yes
checking for winsock.h... yes
checking for library containing xdrmem_create... no
checking for rpcgen... /c/oncrpc/bin/rpcgen
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for tar... /bin/tar
checking for xmllint... /usr/local/bin/xmllint
checking for xsltproc... /usr/bin/xsltproc
checking for dnsmasq... dnsmasq
checking for brctl... brctl
checking where to write libvirtd PID file... ${prefix}/var/run/libvirtd.pid
checking for init script flavor... none
checking for iptables... /sbin/iptables
checking for pkg-config... no
checking libxml2 xml2-config >= 2.5.0 ... yes
checking for struct _xmlURI.query_raw... yes
checking gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... no
configure: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: gnutls/gnutls.h: proceeding with the compiler's result
checking for gnutls/gnutls.h... yes
checking for gnutls_handshake in -lgnutls... yes
checking for gnutls_session... yes
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking for main in -lreadline... no
configure: WARNING: readline library not found
checking for python... no
checking whether this host is running a Xen kernel... no
checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible... no
checking if Xen setuid proxy is needed... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... c:/mingw/mingw32/bin/ld.exe
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... no, consider installing GNU libiconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating docs/devhelp/Makefile
config.status: creating docs/examples/python/Makefile
config.status: creating gnulib/lib/Makefile
config.status: creating gnulib/tests/Makefile
config.status: creating libvirt.pc
config.status: creating libvirt.spec
config.status: creating po/Makefile.in
config.status: WARNING:  po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating scripts/Makefile
config.status: creating include/libvirt/Makefile
config.status: creating include/libvirt/libvirt.h
config.status: creating python/Makefile
config.status: creating python/tests/Makefile
config.status: creating qemud/Makefile
config.status: creating tests/Makefile
config.status: creating proxy/Makefile
config.status: creating tests/xml2sexprdata/Makefile
config.status: creating tests/sexpr2xmldata/Makefile
config.status: creating tests/xmconfigdata/Makefile
config.status: creating tests/xencapsdata/Makefile
config.status: creating tests/virshdata/Makefile
config.status: creating tests/confdata/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: 
configure: Configuration summary
configure: =====================
configure: 
configure: Drivers
configure: 
configure:      Xen: no
configure:    Proxy: no
configure:     QEMU: no
configure:   OpenVZ: no
configure:     Test: yes
configure:   Remote: yes
configure: 
configure: Libraries
configure: 
configure:   libxml: -I/usr/local/include/libxml2 -L/usr/local/lib -lxml2 -lws2_32
configure:   gnutls:  -lgnutls  -lws2_32
configure:     sasl: no
configure:    avahi: no
configure:   polkit: no
configure: 
configure: Miscellaneous
configure: 
configure:   Debug: no
configure:   Readline: no
configure: 
make  all-recursive
make[1]: Entering directory `/z/d/libvirt-mingw'
Making all in gnulib/lib
make[2]: Entering directory `/z/d/libvirt-mingw/gnulib/lib'
make  all-am
make[3]: Entering directory `/z/d/libvirt-mingw/gnulib/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/z/d/libvirt-mingw/gnulib/lib'
make[2]: Leaving directory `/z/d/libvirt-mingw/gnulib/lib'
Making all in include
make[2]: Entering directory `/z/d/libvirt-mingw/include'
Making all in libvirt
make[3]: Entering directory `/z/d/libvirt-mingw/include/libvirt'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/z/d/libvirt-mingw/include/libvirt'
make[3]: Entering directory `/z/d/libvirt-mingw/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/z/d/libvirt-mingw/include'
make[2]: Leaving directory `/z/d/libvirt-mingw/include'
Making all in src
make[2]: Entering directory `/z/d/libvirt-mingw/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/local/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    -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirt_la-remote_internal.lo -MD -MP -MF .deps/libvirt_la-remote_internal.Tpo -c -o libvirt_la-remote_internal.lo `test -f 'remote_internal.c' || echo './'`remote_internal.c
 gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/local/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 -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirt_la-remote_internal.lo -MD -MP -MF .deps/libvirt_la-remote_internal.Tpo -c remote_internal.c  -DDLL_EXPORT -DPIC -o .libs/libvirt_la-remote_internal.o
In file included from ../gnulib/lib/sys/stat.h:28,
                 from remote_internal.c:34:
../gnulib/lib/sys/stat.h:272: warning: unused parameter 'mode'
In file included from remote_internal.c:59:
c:/oncrpc/rpc/xdr.h:116: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:130: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:131: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:132: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:133: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:242: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:243: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:244: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:245: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:246: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:247: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:248: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:249: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:250: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:251: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:252: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:253: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:254: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:255: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:257: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:258: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:259: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:260: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:261: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:262: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:275: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:283: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:285: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:286: warning: function declaration isn't a prototype
In file included from ../gnulib/lib/sys/socket.h:65,
                 from ../gnulib/lib/getaddrinfo.h:29,
                 from remote_internal.c:74:
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/ws2tcpip.h:16:2: error: #error "ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instead."
In file included from ../gnulib/lib/sys/socket.h:65,
                 from ../gnulib/lib/getaddrinfo.h:29,
                 from remote_internal.c:74:
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/ws2tcpip.h:124: error: redefinition of 'struct ip_mreq'
In file included from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/rpc.h:52:1: warning: "FD_SETSIZE" redefined
In file included from remote_internal.c:55:
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/winsock.h:35:1: warning: this is the location of the previous definition
In file included from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/rpc.h:71: warning: function declaration isn't a prototype
In file included from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/rpc.h:74: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:89,
                 from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/auth.h:105: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:125: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:126: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:196: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:197: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:198: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:199: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:92,
                 from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/clnt.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:135: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:136: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:137: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:138: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:139: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:307: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:308: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:313: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:314: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:319: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:324: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:325: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:353: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:95,
                 from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/rpc_msg.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:208: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:97,
                 from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/auth_uni.h:84: warning: function declaration isn't a prototype
In file included from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/rpc.h:105:29: warning: "/*" within comment
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/svc.h:94: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:95: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:96: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:97: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:98: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:99: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/svc.h:173:19: warning: "/*" within comment
c:/oncrpc/rpc/svc.h:175: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:231: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:232: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:233: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:234: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:235: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:236: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:237: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:238: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:278: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:280: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:296: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:301: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:302: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:307: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:109,
                 from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/svc_auth.h:56: error: 'auth_stat' defined as wrong kind of tag
c:/oncrpc/rpc/svc_auth.h:56: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:117,
                 from ../qemud/remote_protocol.h:9,
                 from remote_internal.c:76:
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
In file included from remote_internal.c:76:
../qemud/remote_protocol.h:78: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:88: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:124: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:145: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:201: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:216: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:328: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:334: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:340: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:351: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:389: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:411: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:424: error: expected specifier-qualifier-list before 'u_quad_t'
remote_internal.c: In function 'remoteForkDaemon':
remote_internal.c:247: warning: implicit declaration of function 'fork'
remote_internal.c:252: error: '_PATH_DEVNULL' undeclared (first use in this function)
remote_internal.c:252: error: (Each undeclared identifier is reported only once
remote_internal.c:252: error: for each function it appears in.)
remote_internal.c:269: warning: implicit declaration of function 'sysconf'
remote_internal.c:269: warning: nested extern declaration of 'sysconf'
remote_internal.c:269: error: '_SC_OPEN_MAX' undeclared (first use in this function)
remote_internal.c:276: warning: implicit declaration of function 'setsid'
remote_internal.c:276: warning: nested extern declaration of 'setsid'
remote_internal.c:299: warning: implicit declaration of function 'waitpid'
remote_internal.c:299: warning: nested extern declaration of 'waitpid'
remote_internal.c: In function 'doRemoteOpen':
remote_internal.c:513: error: 'AI_ADDRCONFIG' undeclared (first use in this function)
remote_internal.c:579: error: 'uid_t' undeclared (first use in this function)
remote_internal.c:579: error: expected ';' before 'uid'
remote_internal.c:581: warning: implicit declaration of function 'getpwuid'
remote_internal.c:581: warning: nested extern declaration of 'getpwuid'
remote_internal.c:581: error: 'uid' undeclared (first use in this function)
remote_internal.c:581: warning: assignment makes pointer from integer without a cast
remote_internal.c:586: error: dereferencing pointer to incomplete type
remote_internal.c:605: error: storage size of 'addr' isn't known
remote_internal.c:628: error: 'ECONNREFUSED' undeclared (first use in this function)
remote_internal.c:635: warning: implicit declaration of function 'usleep'
remote_internal.c:635: warning: nested extern declaration of 'usleep'
remote_internal.c:605: warning: unused variable 'addr'
remote_internal.c:703: warning: implicit declaration of function 'socketpair'
remote_internal.c:703: warning: nested extern declaration of 'socketpair'
remote_internal.c:731: warning: passing argument 2 of 'execvp' from incompatible pointer type
remote_internal.c: In function 'remoteOpen':
remote_internal.c:837: warning: implicit declaration of function 'getuid'
remote_internal.c:837: warning: nested extern declaration of 'getuid'
remote_internal.c: In function 'remoteVersion':
remote_internal.c:1421: error: 'remote_get_version_ret' has no member named 'hv_ver'
remote_internal.c: In function 'remoteNodeGetInfo':
remote_internal.c:1472: error: 'remote_node_get_info_ret' has no member named 'memory'
remote_internal.c:1473: error: 'remote_node_get_info_ret' has no member named 'cpus'
remote_internal.c:1474: error: 'remote_node_get_info_ret' has no member named 'mhz'
remote_internal.c:1475: error: 'remote_node_get_info_ret' has no member named 'nodes'
remote_internal.c:1476: error: 'remote_node_get_info_ret' has no member named 'sockets'
remote_internal.c:1477: error: 'remote_node_get_info_ret' has no member named 'cores'
remote_internal.c:1478: error: 'remote_node_get_info_ret' has no member named 'threads'
remote_internal.c: In function 'remoteListDomains':
remote_internal.c:1520: warning: implicit declaration of function 'xdr_free'
remote_internal.c:1520: warning: nested extern declaration of 'xdr_free'
remote_internal.c: In function 'remoteDomainGetMaxMemory':
remote_internal.c:1752: error: 'remote_domain_get_max_memory_ret' has no member named 'memory'
remote_internal.c:1753: warning: control reaches end of non-void function
remote_internal.c: In function 'remoteDomainSetMaxMemory':
remote_internal.c:1762: error: 'remote_domain_set_max_memory_args' has no member named 'memory'
remote_internal.c: In function 'remoteDomainSetMemory':
remote_internal.c:1779: error: 'remote_domain_set_memory_args' has no member named 'memory'
remote_internal.c: In function 'remoteDomainGetInfo':
remote_internal.c:1805: error: 'remote_domain_get_info_ret' has no member named 'max_mem'
remote_internal.c:1806: error: 'remote_domain_get_info_ret' has no member named 'memory'
remote_internal.c:1807: error: 'remote_domain_get_info_ret' has no member named 'nr_virt_cpu'
remote_internal.c:1808: error: 'remote_domain_get_info_ret' has no member named 'cpu_time'
remote_internal.c: In function 'remoteDomainGetVcpus':
remote_internal.c:1956: error: 'remote_vcpu_info' has no member named 'cpu_time'
remote_internal.c:1957: error: 'remote_vcpu_info' has no member named 'cpu'
remote_internal.c: In function 'remoteDomainMigratePrepare':
remote_internal.c:2017: error: 'remote_domain_migrate_prepare_args' has no member named 'flags'
remote_internal.c:2018: error: 'remote_domain_migrate_prepare_args' has no member named 'dname'
remote_internal.c:2019: error: 'remote_domain_migrate_prepare_args' has no member named 'resource'
remote_internal.c: In function 'remoteDomainMigratePerform':
remote_internal.c:2053: error: 'remote_domain_migrate_perform_args' has no member named 'flags'
remote_internal.c:2054: error: 'remote_domain_migrate_perform_args' has no member named 'dname'
remote_internal.c:2055: error: 'remote_domain_migrate_perform_args' has no member named 'resource'
remote_internal.c: In function 'remoteDomainMigrateFinish':
remote_internal.c:2082: error: 'remote_domain_migrate_finish_args' has no member named 'flags'
remote_internal.c: In function 'remoteDomainGetSchedulerParameters':
remote_internal.c:2334: error: 'union <anonymous>' has no member named 'l'
remote_internal.c:2336: error: 'union <anonymous>' has no member named 'ul'
remote_internal.c:2338: error: 'union <anonymous>' has no member named 'd'
remote_internal.c:2340: error: 'union <anonymous>' has no member named 'b'
remote_internal.c: In function 'remoteDomainSetSchedulerParameters':
remote_internal.c:2386: error: 'union <anonymous>' has no member named 'l'
remote_internal.c:2388: error: 'union <anonymous>' has no member named 'ul'
remote_internal.c:2390: error: 'union <anonymous>' has no member named 'd'
remote_internal.c:2392: error: 'union <anonymous>' has no member named 'b'
remote_internal.c: In function 'remoteDomainBlockStats':
remote_internal.c:2430: error: 'remote_domain_block_stats_ret' has no member named 'rd_req'
remote_internal.c:2431: error: 'remote_domain_block_stats_ret' has no member named 'rd_bytes'
remote_internal.c:2432: error: 'remote_domain_block_stats_ret' has no member named 'wr_req'
remote_internal.c:2433: error: 'remote_domain_block_stats_ret' has no member named 'wr_bytes'
remote_internal.c:2434: error: 'remote_domain_block_stats_ret' has no member named 'errs'
remote_internal.c: In function 'remoteDomainInterfaceStats':
remote_internal.c:2458: error: 'remote_domain_interface_stats_ret' has no member named 'rx_bytes'
remote_internal.c:2459: error: 'remote_domain_interface_stats_ret' has no member named 'rx_packets'
remote_internal.c:2460: error: 'remote_domain_interface_stats_ret' has no member named 'rx_errs'
remote_internal.c:2461: error: 'remote_domain_interface_stats_ret' has no member named 'rx_drop'
remote_internal.c:2462: error: 'remote_domain_interface_stats_ret' has no member named 'tx_bytes'
remote_internal.c:2463: error: 'remote_domain_interface_stats_ret' has no member named 'tx_packets'
remote_internal.c:2464: error: 'remote_domain_interface_stats_ret' has no member named 'tx_errs'
remote_internal.c:2465: error: 'remote_domain_interface_stats_ret' has no member named 'tx_drop'
make[2]: *** [libvirt_la-remote_internal.lo] Error 1
/bin/sh ../libtool --tag=CC   --mode=compile gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/local/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    -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirt_la-iptables.lo -MD -MP -MF .deps/libvirt_la-iptables.Tpo -c -o libvirt_la-iptables.lo `test -f 'iptables.c' || echo './'`iptables.c
 gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/local/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 -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirt_la-iptables.lo -MD -MP -MF .deps/libvirt_la-iptables.Tpo -c iptables.c  -DDLL_EXPORT -DPIC -o .libs/libvirt_la-iptables.o
In file included from ../gnulib/lib/sys/stat.h:28,
                 from iptables.c:35:
../gnulib/lib/sys/stat.h:272: warning: unused parameter 'mode'
iptables.c: In function 'iptablesSpawn':
iptables.c:355: error: '_PATH_DEVNULL' undeclared (first use in this function)
iptables.c:355: error: (Each undeclared identifier is reported only once
iptables.c:355: error: for each function it appears in.)
iptables.c:358: warning: implicit declaration of function 'fork'
iptables.c:373: warning: passing argument 2 of 'execvp' from incompatible pointer type
iptables.c:381: warning: implicit declaration of function 'waitpid'
iptables.c:381: warning: nested extern declaration of 'waitpid'
iptables.c:388: warning: implicit declaration of function 'WIFEXITED'
iptables.c:388: warning: nested extern declaration of 'WIFEXITED'
iptables.c:388: warning: implicit declaration of function 'WEXITSTATUS'
iptables.c:388: warning: nested extern declaration of 'WEXITSTATUS'
make[2]: *** [libvirt_la-iptables.lo] Error 1
/bin/sh ../libtool --tag=CC   --mode=compile gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/local/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    -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirt_la-util.lo -MD -MP -MF .deps/libvirt_la-util.Tpo -c -o libvirt_la-util.lo `test -f 'util.c' || echo './'`util.c
 gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/local/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 -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirt_la-util.lo -MD -MP -MF .deps/libvirt_la-util.Tpo -c util.c  -DDLL_EXPORT -DPIC -o .libs/libvirt_la-util.o
util.c:33:19: error: paths.h: No such file or directory
In file included from ../gnulib/lib/sys/stat.h:28,
                 from util.c:36:
../gnulib/lib/sys/stat.h:272: warning: unused parameter 'mode'
util.c: In function 'virExec':
util.c:213: warning: implicit declaration of function 'ReportError'
util.c:213: warning: nested extern declaration of 'ReportError'
make[2]: *** [libvirt_la-util.lo] Error 1
/bin/sh ../libtool --tag=CC   --mode=compile gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/local/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    -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirt_la-remote_protocol.lo -MD -MP -MF .deps/libvirt_la-remote_protocol.Tpo -c -o libvirt_la-remote_protocol.lo `test -f '../qemud/remote_protocol.c' || echo './'`../qemud/remote_protocol.c
 gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/local/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 -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirt_la-remote_protocol.lo -MD -MP -MF .deps/libvirt_la-remote_protocol.Tpo -c ../qemud/remote_protocol.c  -DDLL_EXPORT -DPIC -o .libs/libvirt_la-remote_protocol.o
In file included from ../gnulib/lib/string.h:23,
                 from c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/winnt.h:37,
                 from c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/windef.h:253,
                 from c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/windows.h:48,
                 from c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/winsock.h:19,
                 from c:/oncrpc/rpc/rpc.h:55,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
../gnulib/lib/string.h:283: error: expected ';', ',' or ')' before '__stringp'
In file included from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/rpc.h:71: warning: function declaration isn't a prototype
In file included from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/rpc.h:74: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:86,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/xdr.h:116: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:130: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:131: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:132: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:133: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:242: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:243: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:244: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:245: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:246: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:247: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:248: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:249: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:250: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:251: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:252: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:253: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:254: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:255: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:257: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:258: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:259: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:260: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:261: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:262: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:275: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:283: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:285: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:286: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:89,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/auth.h:105: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:125: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:126: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:196: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:197: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:198: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:199: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:92,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/clnt.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:135: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:136: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:137: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:138: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:139: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:307: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:308: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:313: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:314: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:319: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:324: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:325: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:353: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:95,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/rpc_msg.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:208: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:97,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/auth_uni.h:84: warning: function declaration isn't a prototype
In file included from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/rpc.h:105:29: warning: "/*" within comment
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/svc.h:94: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:95: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:96: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:97: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:98: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:99: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/svc.h:173:19: warning: "/*" within comment
c:/oncrpc/rpc/svc.h:175: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:231: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:232: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:233: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:234: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:235: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:236: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:237: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:238: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:278: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:280: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:296: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:301: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:302: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:307: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:109,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/svc_auth.h:56: error: 'auth_stat' defined as wrong kind of tag
c:/oncrpc/rpc/svc_auth.h:56: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:117,
                 from ../qemud/remote_protocol.h:9,
                 from ../qemud/remote_protocol.c:6:
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
In file included from ../qemud/remote_protocol.c:6:
../qemud/remote_protocol.h:78: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:88: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:124: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:145: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:201: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:216: error: expected specifier-qualifier-list before 'quad_t'
../qemud/remote_protocol.h:328: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:334: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:340: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:351: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:389: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:411: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.h:424: error: expected specifier-qualifier-list before 'u_quad_t'
../qemud/remote_protocol.c: In function 'xdr_remote_vcpu_info':
../qemud/remote_protocol.c:124: warning: implicit declaration of function 'xdr_u_quad_t'
../qemud/remote_protocol.c:124: warning: nested extern declaration of 'xdr_u_quad_t'
../qemud/remote_protocol.c:124: error: 'remote_vcpu_info' has no member named 'cpu_time'
../qemud/remote_protocol.c:126: error: 'remote_vcpu_info' has no member named 'cpu'
../qemud/remote_protocol.c: In function 'xdr_remote_sched_param_value':
../qemud/remote_protocol.c:146: warning: implicit declaration of function 'xdr_quad_t'
../qemud/remote_protocol.c:146: warning: nested extern declaration of 'xdr_quad_t'
../qemud/remote_protocol.c:146: error: 'union <anonymous>' has no member named 'l'
../qemud/remote_protocol.c:150: error: 'union <anonymous>' has no member named 'ul'
../qemud/remote_protocol.c:154: error: 'union <anonymous>' has no member named 'd'
../qemud/remote_protocol.c:158: error: 'union <anonymous>' has no member named 'b'
../qemud/remote_protocol.c: In function 'xdr_remote_get_version_ret':
../qemud/remote_protocol.c:220: error: 'remote_get_version_ret' has no member named 'hv_ver'
../qemud/remote_protocol.c: In function 'xdr_remote_node_get_info_ret':
../qemud/remote_protocol.c:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../qemud/remote_protocol.c:255: error: 'buf' undeclared (first use in this function)
../qemud/remote_protocol.c:255: error: (Each undeclared identifier is reported only once
../qemud/remote_protocol.c:255: error: for each function it appears in.)
../qemud/remote_protocol.c:262: error: 'remote_node_get_info_ret' has no member named 'memory'
../qemud/remote_protocol.c:266: error: 'remote_node_get_info_ret' has no member named 'cpus'
../qemud/remote_protocol.c:268: error: 'remote_node_get_info_ret' has no member named 'mhz'
../qemud/remote_protocol.c:270: error: 'remote_node_get_info_ret' has no member named 'nodes'
../qemud/remote_protocol.c:272: error: 'remote_node_get_info_ret' has no member named 'sockets'
../qemud/remote_protocol.c:274: error: 'remote_node_get_info_ret' has no member named 'cores'
../qemud/remote_protocol.c:276: error: 'remote_node_get_info_ret' has no member named 'threads'
../qemud/remote_protocol.c:279: warning: implicit declaration of function 'IXDR_PUT_INT32'
../qemud/remote_protocol.c:279: warning: nested extern declaration of 'IXDR_PUT_INT32'
../qemud/remote_protocol.c:279: error: 'remote_node_get_info_ret' has no member named 'cpus'
../qemud/remote_protocol.c:280: error: 'remote_node_get_info_ret' has no member named 'mhz'
../qemud/remote_protocol.c:281: error: 'remote_node_get_info_ret' has no member named 'nodes'
../qemud/remote_protocol.c:282: error: 'remote_node_get_info_ret' has no member named 'sockets'
../qemud/remote_protocol.c:283: error: 'remote_node_get_info_ret' has no member named 'cores'
../qemud/remote_protocol.c:284: error: 'remote_node_get_info_ret' has no member named 'threads'
../qemud/remote_protocol.c:291: error: 'remote_node_get_info_ret' has no member named 'memory'
../qemud/remote_protocol.c:295: error: 'remote_node_get_info_ret' has no member named 'cpus'
../qemud/remote_protocol.c:297: error: 'remote_node_get_info_ret' has no member named 'mhz'
../qemud/remote_protocol.c:299: error: 'remote_node_get_info_ret' has no member named 'nodes'
../qemud/remote_protocol.c:301: error: 'remote_node_get_info_ret' has no member named 'sockets'
../qemud/remote_protocol.c:303: error: 'remote_node_get_info_ret' has no member named 'cores'
../qemud/remote_protocol.c:305: error: 'remote_node_get_info_ret' has no member named 'threads'
../qemud/remote_protocol.c:308: error: 'remote_node_get_info_ret' has no member named 'cpus'
../qemud/remote_protocol.c:309: error: 'remote_node_get_info_ret' has no member named 'mhz'
../qemud/remote_protocol.c:310: error: 'remote_node_get_info_ret' has no member named 'nodes'
../qemud/remote_protocol.c:311: error: 'remote_node_get_info_ret' has no member named 'sockets'
../qemud/remote_protocol.c:312: error: 'remote_node_get_info_ret' has no member named 'cores'
../qemud/remote_protocol.c:313: error: 'remote_node_get_info_ret' has no member named 'threads'
../qemud/remote_protocol.c:321: error: 'remote_node_get_info_ret' has no member named 'memory'
../qemud/remote_protocol.c:323: error: 'remote_node_get_info_ret' has no member named 'cpus'
../qemud/remote_protocol.c:325: error: 'remote_node_get_info_ret' has no member named 'mhz'
../qemud/remote_protocol.c:327: error: 'remote_node_get_info_ret' has no member named 'nodes'
../qemud/remote_protocol.c:329: error: 'remote_node_get_info_ret' has no member named 'sockets'
../qemud/remote_protocol.c:331: error: 'remote_node_get_info_ret' has no member named 'cores'
../qemud/remote_protocol.c:333: error: 'remote_node_get_info_ret' has no member named 'threads'
../qemud/remote_protocol.c: In function 'xdr_remote_domain_block_stats_ret':
../qemud/remote_protocol.c:417: error: 'remote_domain_block_stats_ret' has no member named 'rd_req'
../qemud/remote_protocol.c:419: error: 'remote_domain_block_stats_ret' has no member named 'rd_bytes'
../qemud/remote_protocol.c:421: error: 'remote_domain_block_stats_ret' has no member named 'wr_req'
../qemud/remote_protocol.c:423: error: 'remote_domain_block_stats_ret' has no member named 'wr_bytes'
../qemud/remote_protocol.c:425: error: 'remote_domain_block_stats_ret' has no member named 'errs'
../qemud/remote_protocol.c: In function 'xdr_remote_domain_interface_stats_ret':
../qemud/remote_protocol.c:445: error: 'remote_domain_interface_stats_ret' has no member named 'rx_bytes'
../qemud/remote_protocol.c:447: error: 'remote_domain_interface_stats_ret' has no member named 'rx_packets'
../qemud/remote_protocol.c:449: error: 'remote_domain_interface_stats_ret' has no member named 'rx_errs'
../qemud/remote_protocol.c:451: error: 'remote_domain_interface_stats_ret' has no member named 'rx_drop'
../qemud/remote_protocol.c:453: error: 'remote_domain_interface_stats_ret' has no member named 'tx_bytes'
../qemud/remote_protocol.c:455: error: 'remote_domain_interface_stats_ret' has no member named 'tx_packets'
../qemud/remote_protocol.c:457: error: 'remote_domain_interface_stats_ret' has no member named 'tx_errs'
../qemud/remote_protocol.c:459: error: 'remote_domain_interface_stats_ret' has no member named 'tx_drop'
../qemud/remote_protocol.c: In function 'xdr_remote_domain_get_max_memory_ret':
../qemud/remote_protocol.c:645: error: 'remote_domain_get_max_memory_ret' has no member named 'memory'
../qemud/remote_protocol.c: In function 'xdr_remote_domain_set_max_memory_args':
../qemud/remote_protocol.c:656: error: 'remote_domain_set_max_memory_args' has no member named 'memory'
../qemud/remote_protocol.c: In function 'xdr_remote_domain_set_memory_args':
../qemud/remote_protocol.c:667: error: 'remote_domain_set_memory_args' has no member named 'memory'
../qemud/remote_protocol.c: In function 'xdr_remote_domain_get_info_ret':
../qemud/remote_protocol.c:687: error: 'remote_domain_get_info_ret' has no member named 'max_mem'
../qemud/remote_protocol.c:689: error: 'remote_domain_get_info_ret' has no member named 'memory'
../qemud/remote_protocol.c:691: error: 'remote_domain_get_info_ret' has no member named 'nr_virt_cpu'
../qemud/remote_protocol.c:693: error: 'remote_domain_get_info_ret' has no member named 'cpu_time'
../qemud/remote_protocol.c: In function 'xdr_remote_domain_migrate_prepare_args':
../qemud/remote_protocol.c:757: error: 'remote_domain_migrate_prepare_args' has no member named 'flags'
../qemud/remote_protocol.c:759: error: 'remote_domain_migrate_prepare_args' has no member named 'dname'
../qemud/remote_protocol.c:761: error: 'remote_domain_migrate_prepare_args' has no member named 'resource'
../qemud/remote_protocol.c: In function 'xdr_remote_domain_migrate_perform_args':
../qemud/remote_protocol.c:789: error: 'remote_domain_migrate_perform_args' has no member named 'flags'
../qemud/remote_protocol.c:791: error: 'remote_domain_migrate_perform_args' has no member named 'dname'
../qemud/remote_protocol.c:793: error: 'remote_domain_migrate_perform_args' has no member named 'resource'
../qemud/remote_protocol.c: In function 'xdr_remote_domain_migrate_finish_args':
../qemud/remote_protocol.c:809: error: 'remote_domain_migrate_finish_args' has no member named 'flags'
make[2]: *** [libvirt_la-remote_protocol.lo] Error 1
gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I../qemud -I/usr/local/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     -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT virsh-virsh.o -MD -MP -MF .deps/virsh-virsh.Tpo -c -o virsh-virsh.o `test -f 'virsh.c' || echo './'`virsh.c
In file included from ../gnulib/lib/sys/stat.h:28,
                 from virsh.c:36:
../gnulib/lib/sys/stat.h:272: warning: unused parameter 'mode'
virsh.c:209: error: expected specifier-qualifier-list before 'uid_t'
virsh.c: In function 'cmdConnect':
virsh.c:436: error: 'vshControl' has no member named 'readonly'
virsh.c:439: error: 'vshControl' has no member named 'readonly'
virsh.c: In function 'cmdQuit':
virsh.c:3701: error: 'vshControl' has no member named 'imode'
virsh.c: In function 'vshCommandRun':
virsh.c:4101: error: 'vshControl' has no member named 'timing'
virsh.c:4106: error: 'vshControl' has no member named 'timing'
virsh.c:4112: error: 'vshControl' has no member named 'timing'
virsh.c: In function 'vshDebug':
virsh.c:4412: error: 'vshControl' has no member named 'debug'
virsh.c: In function 'vshPrintExtra':
virsh.c:4425: error: 'vshControl' has no member named 'quiet'
virsh.c: In function 'vshInit':
virsh.c:4521: error: 'vshControl' has no member named 'uid'
virsh.c:4521: warning: implicit declaration of function 'getuid'
virsh.c:4521: warning: nested extern declaration of 'getuid'
virsh.c:4530: error: 'vshControl' has no member named 'uid'
virsh.c:4531: error: 'vshControl' has no member named 'readonly'
virsh.c:4535: error: 'vshControl' has no member named 'readonly'
virsh.c: In function 'vshOpenLogFile':
virsh.c:4560: error: 'vshControl' has no member named 'logfile'
virsh.c:4564: error: 'vshControl' has no member named 'logfile'
virsh.c:4579: error: 'vshControl' has no member named 'log_fd'
virsh.c:4579: error: 'vshControl' has no member named 'logfile'
virsh.c:4579: error: 'O_SYNC' undeclared (first use in this function)
virsh.c:4579: error: (Each undeclared identifier is reported only once
virsh.c:4579: error: for each function it appears in.)
virsh.c: In function 'vshOutputLogFile':
virsh.c:4597: error: 'vshControl' has no member named 'log_fd'
virsh.c:4646: error: 'vshControl' has no member named 'log_fd'
virsh.c: In function 'vshCloseLogFile':
virsh.c:4661: error: 'vshControl' has no member named 'log_fd'
virsh.c:4662: error: 'vshControl' has no member named 'log_fd'
virsh.c:4664: error: 'vshControl' has no member named 'logfile'
virsh.c:4664: error: 'vshControl' has no member named 'logfile'
virsh.c:4665: error: 'vshControl' has no member named 'log_fd'
virsh.c:4668: error: 'vshControl' has no member named 'logfile'
virsh.c:4669: error: 'vshControl' has no member named 'logfile'
virsh.c:4670: error: 'vshControl' has no member named 'logfile'
virsh.c: In function 'vshParseArgv':
virsh.c:4948: error: 'vshControl' has no member named 'debug'
virsh.c:4954: error: 'vshControl' has no member named 'quiet'
virsh.c:4957: error: 'vshControl' has no member named 'timing'
virsh.c:4966: error: 'vshControl' has no member named 'readonly'
virsh.c:4969: error: 'vshControl' has no member named 'logfile'
virsh.c:4989: error: 'vshControl' has no member named 'imode'
virsh.c: In function 'main':
virsh.c:5021: warning: implicit declaration of function 'bindtextdomain'
virsh.c:5021: warning: nested extern declaration of 'bindtextdomain'
virsh.c:5025: warning: implicit declaration of function 'textdomain'
virsh.c:5025: warning: nested extern declaration of 'textdomain'
virsh.c:5036: error: 'vshControl' has no member named 'imode'
virsh.c:5037: error: 'vshControl' has no member named 'log_fd'
virsh.c:5053: error: 'vshControl' has no member named 'imode'
virsh.c:5057: error: 'vshControl' has no member named 'quiet'
virsh.c:5068: error: 'vshControl' has no member named 'uid'
virsh.c:5080: error: 'vshControl' has no member named 'imode'
make[2]: *** [virsh-virsh.o] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/z/d/libvirt-mingw/src'
Making all in qemud
make[2]: Entering directory `/z/d/libvirt-mingw/qemud'
gcc-sjlj -DHAVE_CONFIG_H -I. -I..    -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I/usr/local/include/libxml2    -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  -DLOCAL_STATE_DIR="\"/usr/local/var\"" -DSYSCONF_DIR="\"/usr/local/etc\"" -DQEMUD_PID_FILE="\"\"" -DREMOTE_PID_FILE="\"/usr/local/var/run/libvirtd.pid\"" -DGETTEXT_PACKAGE=\"libvirt\"  -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirtd-qemud.o -MD -MP -MF .deps/libvirtd-qemud.Tpo -c -o libvirtd-qemud.o `test -f 'qemud.c' || echo './'`qemud.c
qemud.c:27:22: error: sys/wait.h: No such file or directory
In file included from ../gnulib/lib/sys/stat.h:28,
                 from qemud.c:28:
../gnulib/lib/sys/stat.h:272: warning: unused parameter 'mode'
qemud.c:31:19: error: paths.h: No such file or directory
qemud.c:34:20: error: sys/un.h: No such file or directory
qemud.c:35:22: error: sys/poll.h: No such file or directory
qemud.c:37:25: error: netinet/tcp.h: No such file or directory
qemud.c:38:19: error: netdb.h: No such file or directory
qemud.c:40:17: error: pwd.h: No such file or directory
qemud.c:43:20: error: syslog.h: No such file or directory
qemud.c:48:21: error: fnmatch.h: No such file or directory
qemud.c:49:17: error: grp.h: No such file or directory
In file included from internal.h:44,
                 from qemud.c:53:
c:/oncrpc/rpc/xdr.h:116: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:130: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:131: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:132: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:133: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:242: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:243: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:244: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:245: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:246: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:247: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:248: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:249: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:250: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:251: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:252: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:253: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:254: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:255: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:257: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:258: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:259: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:260: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:261: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:262: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:275: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:283: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:285: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:286: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/rpc.h:52:1: warning: "FD_SETSIZE" redefined
In file included from ../gnulib/lib/sys/socket.h:62,
                 from qemud.c:33:
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/winsock2.h:46:1: warning: this is the location of the previous definition
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/rpc.h:71: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/rpc.h:74: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:89,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/auth.h:105: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:125: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:126: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:196: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:197: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:198: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:199: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:92,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/clnt.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:135: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:136: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:137: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:138: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:139: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:307: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:308: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:313: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:314: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:319: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:324: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:325: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:353: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:95,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/rpc_msg.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:208: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:97,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/auth_uni.h:84: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/rpc.h:105:29: warning: "/*" within comment
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/svc.h:94: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:95: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:96: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:97: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:98: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:99: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/svc.h:173:19: warning: "/*" within comment
c:/oncrpc/rpc/svc.h:175: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:231: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:232: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:233: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:234: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:235: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:236: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:237: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:238: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:278: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:280: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:296: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:301: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:302: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:307: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:109,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/svc_auth.h:56: error: 'auth_stat' defined as wrong kind of tag
c:/oncrpc/rpc/svc_auth.h:56: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:117,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from qemud.c:53:
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
In file included from internal.h:45,
                 from qemud.c:53:
remote_protocol.h:78: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:88: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:124: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:145: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:201: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:216: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:328: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:334: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:340: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:351: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:389: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:411: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:424: error: expected specifier-qualifier-list before 'u_quad_t'
qemud.c:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unix_sock_gid'
qemud.c:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sig_errors'
qemud.c: In function 'sig_handler':
qemud.c:117: error: 'SIGCHLD' undeclared (first use in this function)
qemud.c:117: error: (Each undeclared identifier is reported only once
qemud.c:117: error: for each function it appears in.)
qemud.c:123: error: 'sig_errors' undeclared (first use in this function)
qemud.c: In function 'qemudDispatchSignalEvent':
qemud.c:247: error: 'SIGHUP' undeclared (first use in this function)
qemud.c:253: error: 'SIGINT' undeclared (first use in this function)
qemud.c:254: error: 'SIGQUIT' undeclared (first use in this function)
qemud.c:255: error: 'SIGTERM' undeclared (first use in this function)
qemud.c: In function 'qemudSetCloseExec':
qemud.c:270: warning: implicit declaration of function 'fcntl'
qemud.c:270: warning: nested extern declaration of 'fcntl'
qemud.c:270: error: 'F_GETFD' undeclared (first use in this function)
qemud.c:272: error: 'FD_CLOEXEC' undeclared (first use in this function)
qemud.c:273: error: 'F_SETFD' undeclared (first use in this function)
qemud.c: In function 'qemudSetNonBlock':
qemud.c:284: error: 'F_GETFL' undeclared (first use in this function)
qemud.c:286: error: 'O_NONBLOCK' undeclared (first use in this function)
qemud.c:287: error: 'F_SETFL' undeclared (first use in this function)
qemud.c: In function 'qemudLog':
qemud.c:306: error: 'LOG_ERR' undeclared (first use in this function)
qemud.c:309: error: 'LOG_WARNING' undeclared (first use in this function)
qemud.c:313: error: 'LOG_INFO' undeclared (first use in this function)
qemud.c:326: warning: implicit declaration of function 'vsyslog'
qemud.c:326: warning: nested extern declaration of 'vsyslog'
qemud.c: In function 'qemudGoDaemon':
qemud.c:359: warning: implicit declaration of function 'fork'
qemud.c:367: error: '_PATH_DEVNULL' undeclared (first use in this function)
qemud.c:384: warning: implicit declaration of function 'setsid'
qemud.c:384: warning: nested extern declaration of 'setsid'
qemud.c:414: warning: implicit declaration of function 'waitpid'
qemud.c:414: warning: nested extern declaration of 'waitpid'
qemud.c: In function 'qemudListenUnix':
qemud.c:464: error: storage size of 'addr' isn't known
qemud.c:466: error: 'gid_t' undeclared (first use in this function)
qemud.c:466: error: expected ';' before 'oldgrp'
qemud.c:495: error: 'oldgrp' undeclared (first use in this function)
qemud.c:495: warning: implicit declaration of function 'getgid'
qemud.c:495: warning: nested extern declaration of 'getgid'
qemud.c:497: warning: implicit declaration of function 'getuid'
qemud.c:497: warning: nested extern declaration of 'getuid'
qemud.c:498: warning: implicit declaration of function 'setgid'
qemud.c:498: warning: nested extern declaration of 'setgid'
qemud.c:498: error: 'unix_sock_gid' undeclared (first use in this function)
qemud.c:516: error: 'POLLIN' undeclared (first use in this function)
qemud.c:516: error: 'POLLERR' undeclared (first use in this function)
qemud.c:516: error: 'POLLHUP' undeclared (first use in this function)
qemud.c:464: warning: unused variable 'addr'
qemud.c: In function 'remoteMakeSockets':
qemud.c:543: error: 'AI_ADDRCONFIG' undeclared (first use in this function)
qemud.c:562: warning: passing argument 4 of 'setsockopt' from incompatible pointer type
qemud.c: In function 'remoteListenTCP':
qemud.c:646: error: 'POLLIN' undeclared (first use in this function)
qemud.c:646: error: 'POLLERR' undeclared (first use in this function)
qemud.c:646: error: 'POLLHUP' undeclared (first use in this function)
qemud.c: In function 'qemudInitPaths':
qemud.c:663: error: 'uid_t' undeclared (first use in this function)
qemud.c:663: error: expected ';' before 'uid'
qemud.c:666: error: 'uid' undeclared (first use in this function)
qemud.c:684: warning: implicit declaration of function 'getpwuid'
qemud.c:684: warning: nested extern declaration of 'getpwuid'
qemud.c:684: warning: assignment makes pointer from integer without a cast
qemud.c:690: error: dereferencing pointer to incomplete type
qemud.c:693: error: dereferencing pointer to incomplete type
qemud.c:696: error: dereferencing pointer to incomplete type
qemud.c: In function 'remoteCheckDN':
qemud.c:912: warning: implicit declaration of function 'fnmatch'
qemud.c:912: warning: nested extern declaration of 'fnmatch'
qemud.c: In function 'qemudDispatchClientEvent':
qemud.c:1508: error: 'POLLOUT' undeclared (first use in this function)
qemud.c:1510: error: 'POLLIN' undeclared (first use in this function)
qemud.c: In function 'qemudRegisterClientEvent':
qemud.c:1523: error: 'POLLIN' undeclared (first use in this function)
qemud.c:1525: error: 'POLLOUT' undeclared (first use in this function)
qemud.c:1546: error: 'POLLERR' undeclared (first use in this function)
qemud.c:1546: error: 'POLLHUP' undeclared (first use in this function)
qemud.c: In function 'qemudOneLoop':
qemud.c:1574: error: 'sig_atomic_t' undeclared (first use in this function)
qemud.c:1574: error: expected ';' before 'errors'
qemud.c:1580: error: 'errors' undeclared (first use in this function)
qemud.c:1580: error: 'sig_errors' undeclared (first use in this function)
qemud.c: In function 'remoteReadConfigFile':
qemud.c:1890: warning: implicit declaration of function 'getgrnam'
qemud.c:1890: warning: nested extern declaration of 'getgrnam'
qemud.c:1890: warning: initialization makes pointer from integer without a cast
qemud.c:1896: error: 'unix_sock_gid' undeclared (first use in this function)
qemud.c:1896: error: dereferencing pointer to incomplete type
qemud.c: In function 'main':
qemud.c:2017: error: storage size of 'sig_action' isn't known
qemud.c:2086: warning: implicit declaration of function 'pipe'
qemud.c:2086: warning: nested extern declaration of 'pipe'
qemud.c:2106: warning: implicit declaration of function 'openlog'
qemud.c:2106: warning: nested extern declaration of 'openlog'
qemud.c:2128: warning: implicit declaration of function 'sigemptyset'
qemud.c:2128: warning: nested extern declaration of 'sigemptyset'
qemud.c:2130: warning: implicit declaration of function 'sigaction'
qemud.c:2130: warning: nested extern declaration of 'sigaction'
qemud.c:2130: error: 'SIGHUP' undeclared (first use in this function)
qemud.c:2131: error: 'SIGINT' undeclared (first use in this function)
qemud.c:2132: error: 'SIGQUIT' undeclared (first use in this function)
qemud.c:2133: error: 'SIGTERM' undeclared (first use in this function)
qemud.c:2134: error: 'SIGCHLD' undeclared (first use in this function)
qemud.c:2136: error: 'SIG_IGN' undeclared (first use in this function)
qemud.c:2137: error: 'SIGPIPE' undeclared (first use in this function)
qemud.c:2140: error: 'POLLIN' undeclared (first use in this function)
qemud.c:2160: warning: implicit declaration of function 'closelog'
qemud.c:2160: warning: nested extern declaration of 'closelog'
qemud.c:2017: warning: unused variable 'sig_action'
make[2]: *** [libvirtd-qemud.o] Error 1
gcc-sjlj -DHAVE_CONFIG_H -I. -I..    -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I/usr/local/include/libxml2    -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  -DLOCAL_STATE_DIR="\"/usr/local/var\"" -DSYSCONF_DIR="\"/usr/local/etc\"" -DQEMUD_PID_FILE="\"\"" -DREMOTE_PID_FILE="\"/usr/local/var/run/libvirtd.pid\"" -DGETTEXT_PACKAGE=\"libvirt\"  -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirtd-remote_protocol.o -MD -MP -MF .deps/libvirtd-remote_protocol.Tpo -c -o libvirtd-remote_protocol.o `test -f 'remote_protocol.c' || echo './'`remote_protocol.c
In file included from ../gnulib/lib/string.h:23,
                 from c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/winnt.h:37,
                 from c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/windef.h:253,
                 from c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/windows.h:48,
                 from c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/winsock.h:19,
                 from c:/oncrpc/rpc/rpc.h:55,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
../gnulib/lib/string.h:283: error: expected ';', ',' or ')' before '__stringp'
In file included from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/rpc.h:71: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/rpc.h:74: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:86,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/xdr.h:116: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:130: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:131: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:132: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:133: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:242: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:243: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:244: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:245: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:246: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:247: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:248: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:249: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:250: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:251: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:252: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:253: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:254: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:255: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:257: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:258: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:259: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:260: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:261: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:262: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:275: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:283: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:285: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:286: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:89,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/auth.h:105: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:125: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:126: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:196: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:197: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:198: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:199: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:92,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/clnt.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:135: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:136: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:137: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:138: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:139: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:307: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:308: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:313: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:314: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:319: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:324: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:325: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:353: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:95,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/rpc_msg.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:208: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:97,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/auth_uni.h:84: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/rpc.h:105:29: warning: "/*" within comment
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/svc.h:94: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:95: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:96: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:97: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:98: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:99: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/svc.h:173:19: warning: "/*" within comment
c:/oncrpc/rpc/svc.h:175: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:231: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:232: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:233: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:234: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:235: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:236: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:237: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:238: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:278: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:280: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:296: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:301: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:302: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:307: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:109,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/svc_auth.h:56: error: 'auth_stat' defined as wrong kind of tag
c:/oncrpc/rpc/svc_auth.h:56: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:117,
                 from remote_protocol.h:9,
                 from remote_protocol.c:6:
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
In file included from remote_protocol.c:6:
remote_protocol.h:78: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:88: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:124: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:145: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:201: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:216: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:328: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:334: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:340: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:351: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:389: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:411: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:424: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.c: In function 'xdr_remote_vcpu_info':
remote_protocol.c:124: warning: implicit declaration of function 'xdr_u_quad_t'
remote_protocol.c:124: warning: nested extern declaration of 'xdr_u_quad_t'
remote_protocol.c:124: error: 'remote_vcpu_info' has no member named 'cpu_time'
remote_protocol.c:126: error: 'remote_vcpu_info' has no member named 'cpu'
remote_protocol.c: In function 'xdr_remote_sched_param_value':
remote_protocol.c:146: warning: implicit declaration of function 'xdr_quad_t'
remote_protocol.c:146: warning: nested extern declaration of 'xdr_quad_t'
remote_protocol.c:146: error: 'union <anonymous>' has no member named 'l'
remote_protocol.c:150: error: 'union <anonymous>' has no member named 'ul'
remote_protocol.c:154: error: 'union <anonymous>' has no member named 'd'
remote_protocol.c:158: error: 'union <anonymous>' has no member named 'b'
remote_protocol.c: In function 'xdr_remote_get_version_ret':
remote_protocol.c:220: error: 'remote_get_version_ret' has no member named 'hv_ver'
remote_protocol.c: In function 'xdr_remote_node_get_info_ret':
remote_protocol.c:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
remote_protocol.c:255: error: 'buf' undeclared (first use in this function)
remote_protocol.c:255: error: (Each undeclared identifier is reported only once
remote_protocol.c:255: error: for each function it appears in.)
remote_protocol.c:262: error: 'remote_node_get_info_ret' has no member named 'memory'
remote_protocol.c:266: error: 'remote_node_get_info_ret' has no member named 'cpus'
remote_protocol.c:268: error: 'remote_node_get_info_ret' has no member named 'mhz'
remote_protocol.c:270: error: 'remote_node_get_info_ret' has no member named 'nodes'
remote_protocol.c:272: error: 'remote_node_get_info_ret' has no member named 'sockets'
remote_protocol.c:274: error: 'remote_node_get_info_ret' has no member named 'cores'
remote_protocol.c:276: error: 'remote_node_get_info_ret' has no member named 'threads'
remote_protocol.c:279: warning: implicit declaration of function 'IXDR_PUT_INT32'
remote_protocol.c:279: warning: nested extern declaration of 'IXDR_PUT_INT32'
remote_protocol.c:279: error: 'remote_node_get_info_ret' has no member named 'cpus'
remote_protocol.c:280: error: 'remote_node_get_info_ret' has no member named 'mhz'
remote_protocol.c:281: error: 'remote_node_get_info_ret' has no member named 'nodes'
remote_protocol.c:282: error: 'remote_node_get_info_ret' has no member named 'sockets'
remote_protocol.c:283: error: 'remote_node_get_info_ret' has no member named 'cores'
remote_protocol.c:284: error: 'remote_node_get_info_ret' has no member named 'threads'
remote_protocol.c:291: error: 'remote_node_get_info_ret' has no member named 'memory'
remote_protocol.c:295: error: 'remote_node_get_info_ret' has no member named 'cpus'
remote_protocol.c:297: error: 'remote_node_get_info_ret' has no member named 'mhz'
remote_protocol.c:299: error: 'remote_node_get_info_ret' has no member named 'nodes'
remote_protocol.c:301: error: 'remote_node_get_info_ret' has no member named 'sockets'
remote_protocol.c:303: error: 'remote_node_get_info_ret' has no member named 'cores'
remote_protocol.c:305: error: 'remote_node_get_info_ret' has no member named 'threads'
remote_protocol.c:308: error: 'remote_node_get_info_ret' has no member named 'cpus'
remote_protocol.c:309: error: 'remote_node_get_info_ret' has no member named 'mhz'
remote_protocol.c:310: error: 'remote_node_get_info_ret' has no member named 'nodes'
remote_protocol.c:311: error: 'remote_node_get_info_ret' has no member named 'sockets'
remote_protocol.c:312: error: 'remote_node_get_info_ret' has no member named 'cores'
remote_protocol.c:313: error: 'remote_node_get_info_ret' has no member named 'threads'
remote_protocol.c:321: error: 'remote_node_get_info_ret' has no member named 'memory'
remote_protocol.c:323: error: 'remote_node_get_info_ret' has no member named 'cpus'
remote_protocol.c:325: error: 'remote_node_get_info_ret' has no member named 'mhz'
remote_protocol.c:327: error: 'remote_node_get_info_ret' has no member named 'nodes'
remote_protocol.c:329: error: 'remote_node_get_info_ret' has no member named 'sockets'
remote_protocol.c:331: error: 'remote_node_get_info_ret' has no member named 'cores'
remote_protocol.c:333: error: 'remote_node_get_info_ret' has no member named 'threads'
remote_protocol.c: In function 'xdr_remote_domain_block_stats_ret':
remote_protocol.c:417: error: 'remote_domain_block_stats_ret' has no member named 'rd_req'
remote_protocol.c:419: error: 'remote_domain_block_stats_ret' has no member named 'rd_bytes'
remote_protocol.c:421: error: 'remote_domain_block_stats_ret' has no member named 'wr_req'
remote_protocol.c:423: error: 'remote_domain_block_stats_ret' has no member named 'wr_bytes'
remote_protocol.c:425: error: 'remote_domain_block_stats_ret' has no member named 'errs'
remote_protocol.c: In function 'xdr_remote_domain_interface_stats_ret':
remote_protocol.c:445: error: 'remote_domain_interface_stats_ret' has no member named 'rx_bytes'
remote_protocol.c:447: error: 'remote_domain_interface_stats_ret' has no member named 'rx_packets'
remote_protocol.c:449: error: 'remote_domain_interface_stats_ret' has no member named 'rx_errs'
remote_protocol.c:451: error: 'remote_domain_interface_stats_ret' has no member named 'rx_drop'
remote_protocol.c:453: error: 'remote_domain_interface_stats_ret' has no member named 'tx_bytes'
remote_protocol.c:455: error: 'remote_domain_interface_stats_ret' has no member named 'tx_packets'
remote_protocol.c:457: error: 'remote_domain_interface_stats_ret' has no member named 'tx_errs'
remote_protocol.c:459: error: 'remote_domain_interface_stats_ret' has no member named 'tx_drop'
remote_protocol.c: In function 'xdr_remote_domain_get_max_memory_ret':
remote_protocol.c:645: error: 'remote_domain_get_max_memory_ret' has no member named 'memory'
remote_protocol.c: In function 'xdr_remote_domain_set_max_memory_args':
remote_protocol.c:656: error: 'remote_domain_set_max_memory_args' has no member named 'memory'
remote_protocol.c: In function 'xdr_remote_domain_set_memory_args':
remote_protocol.c:667: error: 'remote_domain_set_memory_args' has no member named 'memory'
remote_protocol.c: In function 'xdr_remote_domain_get_info_ret':
remote_protocol.c:687: error: 'remote_domain_get_info_ret' has no member named 'max_mem'
remote_protocol.c:689: error: 'remote_domain_get_info_ret' has no member named 'memory'
remote_protocol.c:691: error: 'remote_domain_get_info_ret' has no member named 'nr_virt_cpu'
remote_protocol.c:693: error: 'remote_domain_get_info_ret' has no member named 'cpu_time'
remote_protocol.c: In function 'xdr_remote_domain_migrate_prepare_args':
remote_protocol.c:757: error: 'remote_domain_migrate_prepare_args' has no member named 'flags'
remote_protocol.c:759: error: 'remote_domain_migrate_prepare_args' has no member named 'dname'
remote_protocol.c:761: error: 'remote_domain_migrate_prepare_args' has no member named 'resource'
remote_protocol.c: In function 'xdr_remote_domain_migrate_perform_args':
remote_protocol.c:789: error: 'remote_domain_migrate_perform_args' has no member named 'flags'
remote_protocol.c:791: error: 'remote_domain_migrate_perform_args' has no member named 'dname'
remote_protocol.c:793: error: 'remote_domain_migrate_perform_args' has no member named 'resource'
remote_protocol.c: In function 'xdr_remote_domain_migrate_finish_args':
remote_protocol.c:809: error: 'remote_domain_migrate_finish_args' has no member named 'flags'
make[2]: *** [libvirtd-remote_protocol.o] Error 1
gcc-sjlj -DHAVE_CONFIG_H -I. -I..    -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I/usr/local/include/libxml2    -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  -DLOCAL_STATE_DIR="\"/usr/local/var\"" -DSYSCONF_DIR="\"/usr/local/etc\"" -DQEMUD_PID_FILE="\"\"" -DREMOTE_PID_FILE="\"/usr/local/var/run/libvirtd.pid\"" -DGETTEXT_PACKAGE=\"libvirt\"  -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirtd-remote.o -MD -MP -MF .deps/libvirtd-remote.Tpo -c -o libvirtd-remote.o `test -f 'remote.c' || echo './'`remote.c
remote.c:26:22: error: sys/wait.h: No such file or directory
In file included from ../gnulib/lib/sys/stat.h:28,
                 from remote.c:27:
../gnulib/lib/sys/stat.h:272: warning: unused parameter 'mode'
remote.c:30:19: error: paths.h: No such file or directory
remote.c:33:20: error: sys/un.h: No such file or directory
remote.c:34:22: error: sys/poll.h: No such file or directory
remote.c:36:19: error: netdb.h: No such file or directory
remote.c:38:17: error: pwd.h: No such file or directory
remote.c:41:20: error: syslog.h: No such file or directory
remote.c:47:21: error: fnmatch.h: No such file or directory
In file included from internal.h:44,
                 from remote.c:56:
c:/oncrpc/rpc/xdr.h:116: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:130: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:131: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:132: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:133: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:242: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:243: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:244: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:245: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:246: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:247: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:248: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:249: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:250: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:251: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:252: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:253: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:254: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:255: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:257: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:258: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:259: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:260: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:261: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:262: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:275: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:283: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:285: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:286: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/rpc.h:52:1: warning: "FD_SETSIZE" redefined
In file included from ../gnulib/lib/sys/socket.h:62,
                 from remote.c:32:
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/winsock2.h:46:1: warning: this is the location of the previous definition
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/rpc.h:71: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/rpc.h:74: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:89,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/auth.h:105: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:125: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:126: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:196: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:197: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:198: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:199: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:92,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/clnt.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:135: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:136: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:137: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:138: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:139: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:307: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:308: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:313: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:314: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:319: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:324: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:325: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:353: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:95,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/rpc_msg.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:208: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:97,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/auth_uni.h:84: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/rpc.h:105:29: warning: "/*" within comment
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/svc.h:94: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:95: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:96: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:97: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:98: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:99: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/svc.h:173:19: warning: "/*" within comment
c:/oncrpc/rpc/svc.h:175: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:231: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:232: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:233: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:234: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:235: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:236: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:237: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:238: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:278: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:280: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:296: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:301: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:302: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:307: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:109,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/svc_auth.h:56: error: 'auth_stat' defined as wrong kind of tag
c:/oncrpc/rpc/svc_auth.h:56: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:117,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from remote.c:56:
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
In file included from internal.h:45,
                 from remote.c:56:
remote_protocol.h:78: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:88: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:124: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:145: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:201: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:216: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:328: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:334: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:340: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:351: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:389: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:411: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:424: error: expected specifier-qualifier-list before 'u_quad_t'
remote.c: In function 'remoteDispatchClientRequest':
remote.c:173: warning: implicit declaration of function 'xdr_free'
remote.c:173: warning: nested extern declaration of 'xdr_free'
remote.c: In function 'remoteDispatchGetVersion':
remote.c:514: error: 'remote_get_version_ret' has no member named 'hv_ver'
remote.c: In function 'remoteDispatchNodeGetInfo':
remote.c:566: error: 'remote_node_get_info_ret' has no member named 'memory'
remote.c:567: error: 'remote_node_get_info_ret' has no member named 'cpus'
remote.c:568: error: 'remote_node_get_info_ret' has no member named 'mhz'
remote.c:569: error: 'remote_node_get_info_ret' has no member named 'nodes'
remote.c:570: error: 'remote_node_get_info_ret' has no member named 'sockets'
remote.c:571: error: 'remote_node_get_info_ret' has no member named 'cores'
remote.c:572: error: 'remote_node_get_info_ret' has no member named 'threads'
remote.c: In function 'remoteDispatchDomainGetSchedulerParameters':
remote.c:691: error: 'union <anonymous>' has no member named 'l'
remote.c:693: error: 'union <anonymous>' has no member named 'ul'
remote.c:695: error: 'union <anonymous>' has no member named 'd'
remote.c:697: error: 'union <anonymous>' has no member named 'b'
remote.c: In function 'remoteDispatchDomainSetSchedulerParameters':
remote.c:747: error: 'union <anonymous>' has no member named 'l'
remote.c:749: error: 'union <anonymous>' has no member named 'ul'
remote.c:751: error: 'union <anonymous>' has no member named 'd'
remote.c:753: error: 'union <anonymous>' has no member named 'b'
remote.c: In function 'remoteDispatchDomainBlockStats':
remote.c:794: error: 'remote_domain_block_stats_ret' has no member named 'rd_req'
remote.c:795: error: 'remote_domain_block_stats_ret' has no member named 'rd_bytes'
remote.c:796: error: 'remote_domain_block_stats_ret' has no member named 'wr_req'
remote.c:797: error: 'remote_domain_block_stats_ret' has no member named 'wr_bytes'
remote.c:798: error: 'remote_domain_block_stats_ret' has no member named 'errs'
remote.c: In function 'remoteDispatchDomainInterfaceStats':
remote.c:825: error: 'remote_domain_interface_stats_ret' has no member named 'rx_bytes'
remote.c:826: error: 'remote_domain_interface_stats_ret' has no member named 'rx_packets'
remote.c:827: error: 'remote_domain_interface_stats_ret' has no member named 'rx_errs'
remote.c:828: error: 'remote_domain_interface_stats_ret' has no member named 'rx_drop'
remote.c:829: error: 'remote_domain_interface_stats_ret' has no member named 'tx_bytes'
remote.c:830: error: 'remote_domain_interface_stats_ret' has no member named 'tx_packets'
remote.c:831: error: 'remote_domain_interface_stats_ret' has no member named 'tx_errs'
remote.c:832: error: 'remote_domain_interface_stats_ret' has no member named 'tx_drop'
remote.c: In function 'remoteDispatchDomainGetInfo':
remote.c:1043: error: 'remote_domain_get_info_ret' has no member named 'max_mem'
remote.c:1044: error: 'remote_domain_get_info_ret' has no member named 'memory'
remote.c:1045: error: 'remote_domain_get_info_ret' has no member named 'nr_virt_cpu'
remote.c:1046: error: 'remote_domain_get_info_ret' has no member named 'cpu_time'
remote.c: In function 'remoteDispatchDomainGetMaxMemory':
remote.c:1069: error: 'remote_domain_get_max_memory_ret' has no member named 'memory'
remote.c:1070: error: 'remote_domain_get_max_memory_ret' has no member named 'memory'
remote.c: In function 'remoteDispatchDomainGetVcpus':
remote.c:1179: error: 'remote_vcpu_info' has no member named 'cpu_time'
remote.c:1180: error: 'remote_vcpu_info' has no member named 'cpu'
remote.c: In function 'remoteDispatchDomainMigratePrepare':
remote.c:1210: error: 'remote_domain_migrate_prepare_args' has no member named 'dname'
remote.c:1210: error: 'remote_domain_migrate_prepare_args' has no member named 'dname'
remote.c:1217: error: 'remote_domain_migrate_prepare_args' has no member named 'flags'
remote.c:1217: error: 'remote_domain_migrate_prepare_args' has no member named 'resource'
remote.c: In function 'remoteDispatchDomainMigratePerform':
remote.c:1248: error: 'remote_domain_migrate_perform_args' has no member named 'dname'
remote.c:1248: error: 'remote_domain_migrate_perform_args' has no member named 'dname'
remote.c:1254: error: 'remote_domain_migrate_perform_args' has no member named 'flags'
remote.c:1254: error: 'remote_domain_migrate_perform_args' has no member named 'resource'
remote.c: In function 'remoteDispatchDomainMigrateFinish':
remote.c:1274: error: 'remote_domain_migrate_finish_args' has no member named 'flags'
remote.c: In function 'remoteDispatchDomainSetMaxMemory':
remote.c:1562: error: 'remote_domain_set_max_memory_args' has no member named 'memory'
remote.c: In function 'remoteDispatchDomainSetMemory':
remote.c:1586: error: 'remote_domain_set_memory_args' has no member named 'memory'
make[2]: *** [libvirtd-remote.o] Error 1
gcc-sjlj -DHAVE_CONFIG_H -I. -I..    -I../gnulib/lib -I../gnulib/lib -I../include -I../include -I/usr/local/include/libxml2    -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  -DLOCAL_STATE_DIR="\"/usr/local/var\"" -DSYSCONF_DIR="\"/usr/local/etc\"" -DQEMUD_PID_FILE="\"\"" -DREMOTE_PID_FILE="\"/usr/local/var/run/libvirtd.pid\"" -DGETTEXT_PACKAGE=\"libvirt\"  -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT libvirtd-event.o -MD -MP -MF .deps/libvirtd-event.Tpo -c -o libvirtd-event.o `test -f 'event.c' || echo './'`event.c
In file included from internal.h:44,
                 from event.c:32:
c:/oncrpc/rpc/xdr.h:116: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:130: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:131: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:132: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:133: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:242: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:243: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:244: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:245: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:246: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:247: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:248: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:249: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:250: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:251: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:252: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:253: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:254: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:255: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:257: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:258: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:259: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:260: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:261: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:262: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:275: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:283: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:285: warning: function declaration isn't a prototype
c:/oncrpc/rpc/xdr.h:286: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/rpc.h:71: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/rpc.h:74: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:89,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/auth.h:105: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:125: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:126: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:127: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:128: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:129: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:196: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:197: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:198: warning: function declaration isn't a prototype
c:/oncrpc/rpc/auth.h:199: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:92,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/clnt.h:134: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:135: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:136: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:137: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:138: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:139: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:256: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:263: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:284: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:307: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:308: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:313: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:314: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:319: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:324: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:325: warning: function declaration isn't a prototype
c:/oncrpc/rpc/clnt.h:353: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:95,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/rpc_msg.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/rpc_msg.h:208: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:97,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/auth_uni.h:84: warning: function declaration isn't a prototype
In file included from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/rpc.h:105:29: warning: "/*" within comment
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/svc.h:94: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:95: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:96: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:97: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:98: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:99: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:108,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/svc.h:173:19: warning: "/*" within comment
c:/oncrpc/rpc/svc.h:175: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:184: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:192: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:200: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:231: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:232: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:233: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:234: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:235: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:236: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:237: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:238: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:278: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:280: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:281: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:282: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:296: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:301: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:302: warning: function declaration isn't a prototype
c:/oncrpc/rpc/svc.h:307: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:109,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/svc_auth.h:56: error: 'auth_stat' defined as wrong kind of tag
c:/oncrpc/rpc/svc_auth.h:56: warning: function declaration isn't a prototype
In file included from c:/oncrpc/rpc/rpc.h:117,
                 from remote_protocol.h:9,
                 from internal.h:45,
                 from event.c:32:
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
c:/oncrpc/rpc/netdb.h:51: warning: function declaration isn't a prototype
In file included from internal.h:45,
                 from event.c:32:
remote_protocol.h:78: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:88: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:124: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:145: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:201: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:216: error: expected specifier-qualifier-list before 'quad_t'
remote_protocol.h:328: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:334: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:340: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:351: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:389: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:411: error: expected specifier-qualifier-list before 'u_quad_t'
remote_protocol.h:424: error: expected specifier-qualifier-list before 'u_quad_t'
In file included from event.c:32:
internal.h:101: error: field 'addr' has incomplete type
internal.h:102: error: expected specifier-qualifier-list before 'socklen_t'
internal.h:154: error: 'PATH_MAX' undeclared here (not in a function)
make[2]: *** [libvirtd-event.o] Error 1
make[2]: *** No rule to make target `../src/libvirt.la', needed by `libvirtd.exe'.
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/z/d/libvirt-mingw/qemud'
Making all in proxy
make[2]: Entering directory `/z/d/libvirt-mingw/proxy'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/z/d/libvirt-mingw/proxy'
Making all in docs
make[2]: Entering directory `/z/d/libvirt-mingw/docs'
Making all in .
make[3]: Entering directory `/z/d/libvirt-mingw/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/z/d/libvirt-mingw/docs'
Making all in examples
make[3]: Entering directory `/z/d/libvirt-mingw/docs/examples'
Making all in python
make[4]: Entering directory `/z/d/libvirt-mingw/docs/examples/python'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/z/d/libvirt-mingw/docs/examples/python'
make[4]: Entering directory `/z/d/libvirt-mingw/docs/examples'
make[4]: *** No rule to make target `../../src/libvirt.la', needed by `info1.exe'.
make[4]: Target `all-am' not remade because of errors.
make[4]: Leaving directory `/z/d/libvirt-mingw/docs/examples'
make[3]: *** [all-recursive] Error 1
make[3]: Target `all' not remade because of errors.
make[3]: Leaving directory `/z/d/libvirt-mingw/docs/examples'
Making all in devhelp
make[3]: Entering directory `/z/d/libvirt-mingw/docs/devhelp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/z/d/libvirt-mingw/docs/devhelp'
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/z/d/libvirt-mingw/docs'
Making all in gnulib/tests
make[2]: Entering directory `/z/d/libvirt-mingw/gnulib/tests'
make  all-recursive
make[3]: Entering directory `/z/d/libvirt-mingw/gnulib/tests'
make[4]: Entering directory `/z/d/libvirt-mingw/gnulib/tests'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/z/d/libvirt-mingw/gnulib/tests'
make[3]: Leaving directory `/z/d/libvirt-mingw/gnulib/tests'
make[2]: Leaving directory `/z/d/libvirt-mingw/gnulib/tests'
Making all in tests
make[2]: Entering directory `/z/d/libvirt-mingw/tests'
Making all in virshdata
make[3]: Entering directory `/z/d/libvirt-mingw/tests/virshdata'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/z/d/libvirt-mingw/tests/virshdata'
Making all in confdata
make[3]: Entering directory `/z/d/libvirt-mingw/tests/confdata'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/z/d/libvirt-mingw/tests/confdata'
Making all in sexpr2xmldata
make[3]: Entering directory `/z/d/libvirt-mingw/tests/sexpr2xmldata'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/z/d/libvirt-mingw/tests/sexpr2xmldata'
Making all in xml2sexprdata
make[3]: Entering directory `/z/d/libvirt-mingw/tests/xml2sexprdata'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/z/d/libvirt-mingw/tests/xml2sexprdata'
Making all in xmconfigdata
make[3]: Entering directory `/z/d/libvirt-mingw/tests/xmconfigdata'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/z/d/libvirt-mingw/tests/xmconfigdata'
Making all in xencapsdata
make[3]: Entering directory `/z/d/libvirt-mingw/tests/xencapsdata'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/z/d/libvirt-mingw/tests/xencapsdata'
make[3]: Entering directory `/z/d/libvirt-mingw/tests'
gcc-sjlj -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include -I../src -I../include -I../src -I/usr/local/include/libxml2   -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=199506L -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    -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc -MT testutils.o -MD -MP -MF .deps/testutils.Tpo -c -o testutils.o testutils.c
In file included from ../gnulib/lib/sys/stat.h:28,
                 from testutils.c:17:
../gnulib/lib/sys/stat.h:272: warning: unused parameter 'mode'
testutils.c:18:22: error: sys/wait.h: No such file or directory
testutils.c: In function 'virtTestCaptureProgramExecChild':
testutils.c:137: warning: implicit declaration of function 'sysconf'
testutils.c:137: warning: nested extern declaration of 'sysconf'
testutils.c:137: error: '_SC_OPEN_MAX' undeclared (first use in this function)
testutils.c:137: error: (Each undeclared identifier is reported only once
testutils.c:137: error: for each function it appears in.)
testutils.c:153: warning: passing argument 2 of 'execve' from incompatible pointer type
testutils.c:153: warning: passing argument 3 of 'execve' from incompatible pointer type
testutils.c: In function 'virtTestCaptureProgramOutput':
testutils.c:168: warning: implicit declaration of function 'pipe'
testutils.c:168: warning: nested extern declaration of 'pipe'
testutils.c:171: warning: implicit declaration of function 'fork'
testutils.c:202: warning: implicit declaration of function 'waitpid'
testutils.c:202: warning: nested extern declaration of 'waitpid'
make[3]: *** [testutils.o] Error 1
/bin/sh ../libtool --tag=CC   --mode=link gcc-sjlj  -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc  -L /c/Users/rjones/Desktop/gnutls/lib -L /c/oncrpc/bin -o conftest.exe conftest.o -L/usr/local/lib -lxml2 -lws2_32 -lgnutls  -lws2_32  -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  ../src/.libs/libvirt_la-bridge.o ../src/.libs/libvirt_la-buf.o ../src/.libs/libvirt_la-conf.o ../src/.libs/libvirt_la-event.o ../src/.libs/libvirt_la-hash.o ../src/.libs/libvirt_la-libvirt.o ../src/.libs/libvirt_la-nodeinfo.o ../src/.libs/libvirt_la-openvz_conf.o ../src/.libs/libvirt_la-openvz_driver.o ../src/.libs/libvirt_la-proxy_internal.o ../src/.libs/libvirt_la-qemu_conf.o ../src/.libs/libvirt_la-qemu_driver.o ../src/.libs/libvirt_la-sexpr.o ../src/.libs/libvirt_la-stats_linux.o ../src/.libs/libvirt_la-test.o ../src/.libs/libvirt_la-uuid.o ../src/.libs/libvirt_la-virterror.o ../src/.libs/libvirt_la-xen_internal.o ../src/.libs/libvirt_la-xen_unified.o ../src/.libs/libvirt_la-xend_internal.o ../src/.libs/libvirt_la-xm_internal.o ../src/.libs/libvirt_la-xml.o ../src/.libs/libvirt_la-xs_internal.o ../gnulib/lib/libgnu.la  -lws2_32
gcc-sjlj -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc /c/Users/rjones/Desktop/gnutls/lib /c/oncrpc/bin -o conftest.exe conftest.o -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 ../src/.libs/libvirt_la-bridge.o ../src/.libs/libvirt_la-buf.o ../src/.libs/libvirt_la-conf.o ../src/.libs/libvirt_la-event.o ../src/.libs/libvirt_la-hash.o ../src/.libs/libvirt_la-libvirt.o ../src/.libs/libvirt_la-nodeinfo.o ../src/.libs/libvirt_la-openvz_conf.o ../src/.libs/libvirt_la-openvz_driver.o ../src/.libs/libvirt_la-proxy_internal.o ../src/.libs/libvirt_la-qemu_conf.o ../src/.libs/libvirt_la-qemu_driver.o ../src/.libs/libvirt_la-sexpr.o ../src/.libs/libvirt_la-stats_linux.o ../src/.libs/libvirt_la-test.o ../src/.libs/libvirt_la-uuid.o ../src/.libs/libvirt_la-virterror.o ../src/.libs/libvirt_la-xen_internal.o ../src/.libs/libvirt_la-xen_unified.o ../src/.libs/libvirt_la-xend_internal.o ../src/.libs/libvirt_la-xm_internal.o ../src/.libs/libvirt_la-xml.o ../src/.libs/libvirt_la-xs_internal.o  -L/z/d/libvirt-mingw/tests -L/usr/local/lib /usr/local/lib/libxml2.dll.a -lgnutls ../gnulib/lib/.libs/libgnu.a -L/z/d/libvirt-mingw/gnulib/lib -lws2_32   -L/usr/local/lib -L/usr/local/lib
c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/../../../../mingw32/bin/ld.exe: c:/Users/rjones/Desktop/gnutls/lib: No such file: Permission denied
collect2: ld returned 1 exit status
make[3]: *** [conftest.exe] Error 1
/bin/sh ../libtool --tag=CC   --mode=link gcc-sjlj  -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc  -L /c/Users/rjones/Desktop/gnutls/lib -L /c/oncrpc/bin -o reconnect.exe reconnect.o -L/usr/local/lib -lxml2 -lws2_32 -lgnutls  -lws2_32  -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  ../src/.libs/libvirt_la-bridge.o ../src/.libs/libvirt_la-buf.o ../src/.libs/libvirt_la-conf.o ../src/.libs/libvirt_la-event.o ../src/.libs/libvirt_la-hash.o ../src/.libs/libvirt_la-libvirt.o ../src/.libs/libvirt_la-nodeinfo.o ../src/.libs/libvirt_la-openvz_conf.o ../src/.libs/libvirt_la-openvz_driver.o ../src/.libs/libvirt_la-proxy_internal.o ../src/.libs/libvirt_la-qemu_conf.o ../src/.libs/libvirt_la-qemu_driver.o ../src/.libs/libvirt_la-sexpr.o ../src/.libs/libvirt_la-stats_linux.o ../src/.libs/libvirt_la-test.o ../src/.libs/libvirt_la-uuid.o ../src/.libs/libvirt_la-virterror.o ../src/.libs/libvirt_la-xen_internal.o ../src/.libs/libvirt_la-xen_unified.o ../src/.libs/libvirt_la-xend_internal.o ../src/.libs/libvirt_la-xm_internal.o ../src/.libs/libvirt_la-xml.o ../src/.libs/libvirt_la-xs_internal.o ../gnulib/lib/libgnu.la  -lws2_32
gcc-sjlj -I /c/Users/rjones/Desktop/gnutls/include -I /c/oncrpc /c/Users/rjones/Desktop/gnutls/lib /c/oncrpc/bin -o reconnect.exe reconnect.o -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 ../src/.libs/libvirt_la-bridge.o ../src/.libs/libvirt_la-buf.o ../src/.libs/libvirt_la-conf.o ../src/.libs/libvirt_la-event.o ../src/.libs/libvirt_la-hash.o ../src/.libs/libvirt_la-libvirt.o ../src/.libs/libvirt_la-nodeinfo.o ../src/.libs/libvirt_la-openvz_conf.o ../src/.libs/libvirt_la-openvz_driver.o ../src/.libs/libvirt_la-proxy_internal.o ../src/.libs/libvirt_la-qemu_conf.o ../src/.libs/libvirt_la-qemu_driver.o ../src/.libs/libvirt_la-sexpr.o ../src/.libs/libvirt_la-stats_linux.o ../src/.libs/libvirt_la-test.o ../src/.libs/libvirt_la-uuid.o ../src/.libs/libvirt_la-virterror.o ../src/.libs/libvirt_la-xen_internal.o ../src/.libs/libvirt_la-xen_unified.o ../src/.libs/libvirt_la-xend_internal.o ../src/.libs/libvirt_la-xm_internal.o ../src/.libs/libvirt_la-xml.o ../src/.libs/libvirt_la-xs_internal.o  -L/z/d/libvirt-mingw/tests -L/usr/local/lib /usr/local/lib/libxml2.dll.a -lgnutls ../gnulib/lib/.libs/libgnu.a -L/z/d/libvirt-mingw/gnulib/lib -lws2_32   -L/usr/local/lib -L/usr/local/lib
c:/mingw/bin/../lib/gcc/mingw32/4.2.1-sjlj/../../../../mingw32/bin/ld.exe: c:/Users/rjones/Desktop/gnutls/lib: No such file: Permission denied
collect2: ld returned 1 exit status
make[3]: *** [reconnect.exe] Error 1
make[3]: Target `all-am' not remade because of errors.
make[3]: Leaving directory `/z/d/libvirt-mingw/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/z/d/libvirt-mingw/tests'
Making all in po
make[2]: Entering directory `/z/d/libvirt-mingw/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/z/d/libvirt-mingw/po'
Making all in scripts
make[2]: Entering directory `/z/d/libvirt-mingw/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/z/d/libvirt-mingw/scripts'
make[2]: Entering directory `/z/d/libvirt-mingw'
make[2]: Leaving directory `/z/d/libvirt-mingw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/z/d/libvirt-mingw'
make: *** [all] Error 2

Attachment: smime.p7s
Description: S/MIME Cryptographic 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]