[Libvir] Latest MinGW patch

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

I should have added, opinions welcome on the following issues in particular: * MSYS lacks gettext support. What I'm doing at the moment is to test for <libintl.h> and there's a bunch of conditional code like this: +#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 and this: +#ifdef HAVE_LIBINTL_H if (!bindtextdomain(GETTEXT_PACKAGE, LOCALEBASEDIR)) return (-1); +#endif What's the right way to solve the above? * What should virNodeInfo return in the 'model' field if there is no easy way to get the architecture. As it stands I return a zero-length string. * proxy_internal is now disabled if configured --without-xen. I _think_ this is the right thing to do, by the argument that the Xen proxy driver will only communicate with a local Xen proxy daemon, but there can be no such daemon on Windows. * Can someone suggest a Windows ONCRPC implementation which works well under MSYS? The one I'm using is problematic (if necessary I'll just revert to the Cygwin implementation and make that compile under MSYS, but if someone can suggest one which already works, then that'll save me time). 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

"Richard W.M. Jones" <rjones@redhat.com> wrote:
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). ... 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
Hi Rich, Maybe those patches slipped in by mistake? Did you ever reply to this message? http://thread.gmane.org/gmane.comp.emulators.libvirt/4080/focus=4111

Jim Meyering wrote:
Maybe those patches slipped in by mistake? Did you ever reply to this message? http://thread.gmane.org/gmane.comp.emulators.libvirt/4080/focus=4111
No, I'm still looking into it :-) 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

"Richard W.M. Jones" <rjones@redhat.com> wrote:
Index: src/virsh.c =================================================================== RCS file: /data/cvs/libvirt/src/virsh.c,v retrieving revision 1.117 diff -u -r1.117 virsh.c ... @@ -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},
Please don't make the existence of an option depend on #ifdefs. Then we'd have to adjust the manual and --help output, too. In this particular case, it'd make --co and --con work (as aliases for --connect) on mingw, while they don't work anywhere else due to the ambiguity. Instead, it'd be nice to handle the option and give a diagnostic saying it's not supported on mingw.

Hi Rich, This looks good so far. Here's a suggestion that makes the manual-#ifdef-adding parts of your patch less numerous: "Richard W.M. Jones" <rjones@redhat.com> wrote:
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 ... - --import physmem getaddrinfo + --import physmem getaddrinfo \ + sys_stat vasprintf strndup strsep poll
If you add the gettext module here, you don't need to check for libintl.h below (in configure.in), and in place of code like this:
+#ifdef HAVE_LIBINTL_H +#include <libintl.h> +#endif
you can #include "gettext.h" unconditionally. That in turn saves you from having to add the #ifdefs here:
+#ifdef HAVE_LIBINTL_H if (!bindtextdomain(GETTEXT_PACKAGE, LOCALEBASEDIR)) return (-1); +#endif
since bindtextdomain is defined away when it's not available.
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 ... -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)

Updated patch attached. Instructions are the same as before, except that I've switched over to a slightly more reliable XDR implementation which you can download here: http://www.annexia.org/tmp/xdr-4.0-mingw2-rwmj1.tar.gz Status: everything compiles. Final link fails because of some problem with the binary GnuTLS library which I got yesterday. 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

"Richard W.M. Jones" <rjones@redhat.com> wrote:
Updated patch attached. Instructions are the same as before, except that I've switched over to a slightly more reliable XDR implementation which you can download here:
http://www.annexia.org/tmp/xdr-4.0-mingw2-rwmj1.tar.gz
Status: everything compiles. Final link fails because of some problem with the binary GnuTLS library which I got yesterday.
Nice. +1 with one suggestion:
Index: src/virsh.c =================================================================== RCS file: /data/cvs/libvirt/src/virsh.c,v retrieving revision 1.118 diff -u -r1.118 virsh.c ... +#ifndef __MINGW32__ +#define LOGFILE_FLAGS (O_WRONLY | O_APPEND | O_CREAT | O_SYNC) +#else +#define LOGFILE_FLAGS (O_WRONLY | O_APPEND | O_CREAT) +#endif
Instead of that, you can avoid both the duplication and a platform specific #ifdef: #ifndef O_SYNC # define O_SYNC 0 #endif #define LOGFILE_FLAGS (O_WRONLY | O_APPEND | O_CREAT | O_SYNC)
/* log file open */ - if ((ctl->log_fd = open(ctl->logfile, O_WRONLY | O_APPEND | O_CREAT | O_SYNC, FILE_MODE)) < 0) { + if ((ctl->log_fd = open(ctl->logfile, LOGFILE_FLAGS, FILE_MODE)) < 0) { vshError(ctl, TRUE, _("failed to open the log file. check the log file path"));

Jim Meyering wrote:
"Richard W.M. Jones" <rjones@redhat.com> wrote:
Updated patch attached. Instructions are the same as before, except that I've switched over to a slightly more reliable XDR implementation which you can download here:
http://www.annexia.org/tmp/xdr-4.0-mingw2-rwmj1.tar.gz
Status: everything compiles. Final link fails because of some problem with the binary GnuTLS library which I got yesterday.
Nice. +1 with one suggestion:
Thanks, I've made the suggested change. Once I fixed the linking problem, I've got down to the final few link errors due to some symbols not getting included/exported in the xdr library. I'll fix tomorrow morning. Nothing serious, so looks like virsh.exe is very close to working, and we'll hopefully have a native libvirt.dll/libvirtmod.dll which can be imported into Win32 Python. 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 ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x420): undefined reference to `xdr_u_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x4eb): undefined reference to `xdr_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x50d): undefined reference to `xdr_u_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x6c4): undefined reference to `xdr_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x7d2): undefined reference to `xdr_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x8ff): undefined reference to `IXDR_PUT_INT32' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x914): undefined reference to `IXDR_PUT_INT32' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x929): undefined reference to `IXDR_PUT_INT32' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x93e): undefined reference to `IXDR_PUT_INT32' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x953): undefined reference to `IXDR_PUT_INT32' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x968): more undefined references to `IXDR_PUT_INT32' follow ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x9d1): undefined reference to `xdr_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xafa): undefined reference to `ntohl' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xb13): undefined reference to `ntohl' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xb2c): undefined reference to `ntohl' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xb45): undefined reference to `ntohl' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xb5e): undefined reference to `ntohl' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xb73): more undefined references to `ntohl' follow ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xbd6): undefined reference to `xdr_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xf0b): undefined reference to `xdr_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xf30): undefined reference to `xdr_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xf52): undefined reference to `xdr_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xf74): undefined reference to `xdr_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0xf96): more undefined references to `xdr_quad_t' follow ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x1554): undefined reference to `xdr_u_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x15a7): undefined reference to `xdr_u_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x15fa): undefined reference to `xdr_u_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x1681): undefined reference to `xdr_u_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x16a3): undefined reference to `xdr_u_quad_t' ./.libs/libvirt.a(libvirt_la-remote_protocol.o):remote_protocol.c:(.text+0x16e7): more undefined references to `xdr_u_quad_t' follow z:/d/xdr-4.0-mingw2/librpc.a(xdr_stdio.o):xdr_stdio.c:(.text+0x80): undefined reference to `ntohl' z:/d/xdr-4.0-mingw2/librpc.a(xdr_stdio.o):xdr_stdio.c:(.text+0xa4): undefined reference to `htonl' z:/d/xdr-4.0-mingw2/librpc.a(xdr_mem.o):xdr_mem.c:(.text+0x5f): undefined reference to `ntohl' z:/d/xdr-4.0-mingw2/librpc.a(xdr_mem.o):xdr_mem.c:(.text+0xbf): undefined reference to `htonl' z:/d/xdr-4.0-mingw2/librpc.a(xdr_mem.o):xdr_mem.c:(.text+0x124): undefined reference to `bcopy' z:/d/xdr-4.0-mingw2/librpc.a(xdr_mem.o):xdr_mem.c:(.text+0x186): undefined reference to `bcopy' z:/d/xdr-4.0-mingw2/librpc.a(xdr_array.o):xdr_array.c:(.text+0xf7): undefined reference to `bzero' z:/d/xdr-4.0-mingw2/librpc.a(xdr_reference.o):xdr_reference.c:(.text+0x95): undefined reference to `bzero' collect2: ld returned 1 exit status
participants (2)
-
Jim Meyering
-
Richard W.M. Jones