qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Building Qemu Guest Agent for Win


From: Stefan R .
Subject: [Qemu-discuss] Building Qemu Guest Agent for Win
Date: Fri, 20 Jun 2014 08:46:31 +0200

Hi guys,

I try to build the guest agent for windows.

After the following commands i get this error (Qemu 2.0.0 - Ubuntu 14.04):

./configure --cross-prefix=i686-w64-mingw32- --with-vss-sdk="/opt/qemu/VSSSDK72" --enable-guest-agent

Install prefix    c:/Program Files/QEMU
BIOS directory    c:/Program Files/QEMU
binary directory  c:/Program Files/QEMU
library directory c:/Program Files/QEMU/lib
module directory  c:/Program Files/QEMU/lib
libexec directory c:/Program Files/QEMU/libexec
include directory c:/Program Files/QEMU/include
config directory  c:/Program Files/QEMU
local state directory   queried at runtime
Windows SDK      
Source path       /opt/qemu/debian_trusty_git/qemu
C compiler        i686-w64-mingw32-gcc
Host C compiler   cc
C++ compiler      i686-w64-mingw32-g++
Objective-C compiler i686-w64-mingw32-gcc
ARFLAGS           rv
CFLAGS            -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -g
QEMU_CFLAGS       -m32 -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN -DWINVER=0x501 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all   -I/usr/include/libusb-1.0     -I/opt/qemu/VSSSDK72 -I/usr/include/pixman-1   -I$(SRC_PATH)/dtc/libfdt
LDFLAGS           -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase -Wl,--warn-common -m32 -g
make              make
install           install
python            python -B
smbd              /usr/sbin/smbd
module support    no
host CPU          i386
host big endian   no
target list        aarch64-softmmu alpha-softmmu arm-softmmu cris-softmmu i386-softmmu lm32-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu mips-softmmu mips64-softmmu mips64el-softmmu mipsel-softmmu moxie-softmmu or32-softmmu ppc-softmmu ppc64-softmmu ppcemb-softmmu s390x-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu unicore32-softmmu x86_64-softmmu xtensa-softmmu xtensaeb-softmmu
tcg debug enabled no
gprof enabled     no
sparse enabled    no
strip binaries    yes
profiler          no
static build      no
-Werror enabled   no
pixman            system
SDL support       no
GTK support       no
VTE support       no
curses support    no
curl support      no
mingw32 support   yes
Audio drivers     winwave
Block whitelist (rw)
Block whitelist (ro)
VirtFS support    no
VNC support       yes
VNC TLS support   no
VNC SASL support  no
VNC JPEG support  no
VNC PNG support   no
VNC WS support    no
xen support       no
brlapi support    no
bluez  support    no
Documentation     yes
GUEST_BASE        yes
PIE               no
vde support       no
netmap support    no
Linux AIO support no
ATTR/XATTR support no
Install blobs     yes
KVM support       no
RDMA support      no
TCG interpreter   no
fdt support       yes
preadv support    no
fdatasync         no
madvise           no
posix_madvise     no
sigev_thread_id   no
uuid support      no
libcap-ng support no
vhost-net support no
vhost-scsi support no
Trace backend     nop
Trace output file trace-<pid>
spice support     no
rbd support       no
xfsctl support    no
nss used          no
libusb            yes
usb net redir     yes
GLX support       no
libiscsi support  no
libnfs support    no
build guest agent yes
QGA VSS support   yes
seccomp support   yes
coroutine backend win32
coroutine pool    yes
GlusterFS support no
virtio-blk-data-plane no
gcov              gcov
gcov enabled      no
TPM support       no
libssh2 support   no
TPM passthrough   no
QOM debugging     yes
vhdx              no
Quorum            no
lzo support       no
snappy support    no


make qemu-ga.exe

  CC    qga/channel-win32.o
qga/channel-win32.c:205:11: error: conflicting types for ‘ga_channel_read’
 GIOStatus ga_channel_read(GAChannel *c, char *buf, size_t size, gsize *count)
           ^
In file included from qga/channel-win32.c:9:0:
./qga/channel.h:30:11: note: previous declaration of ‘ga_channel_read’ was here
 GIOStatus ga_channel_read(GAChannel *c, gchar *buf, gsize size, gsize *count);
           ^
qga/channel-win32.c:269:11: error: conflicting types for ‘ga_channel_write_all’
 GIOStatus ga_channel_write_all(GAChannel *c, const char *buf, size_t size)
           ^
In file included from qga/channel-win32.c:9:0:
./qga/channel.h:31:11: note: previous declaration of ‘ga_channel_write_all’ was here
 GIOStatus ga_channel_write_all(GAChannel *c, const gchar *buf, gsize size);
           ^
qga/channel-win32.c: In function ‘ga_channel_open’:
qga/channel-win32.c:291:19: error: ‘MAXPATHLEN’ undeclared (first use in this function)
     gchar newpath[MAXPATHLEN] = {0};
                   ^
qga/channel-win32.c:291:19: note: each undeclared identifier is reported only once for each function it appears in
qga/channel-win32.c:291:11: warning: unused variable ‘newpath’ [-Wunused-variable]
     gchar newpath[MAXPATHLEN] = {0};
           ^
make: *** [qga/channel-win32.o] error 1


Does anyone know, what this error means?


KR, Stefan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]