Hi,all! I'm a fresher in spice who try to install the spice C\S in Ubuntu 9.04 under the instructions in http://docs.cslabs.clarkson.edu/wiki/SPICE, fluent first, the spice client is well installed, yet I got the error in the step of # install vdesktop when in vdesktop/ I do "sudo ./configure --enable-spice", I got: [: 335: yes: unexpected operator Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /home/sxlin/spice-sources/vdesktop/qemu C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list x86_64-softmmu gprof enabled no sparse enabled no profiler no static build no -Werror enabled no SDL support yes SDL static link yes curses support yes mingw32 support no Audio drivers oss Extra audio cards ac97 Mixer emulation no VNC TLS support yes TLS CFLAGS TLS LIBS -lgnutls libgcrypt support yes gcrypt CFLAGS gcrypt LIBS -lgcrypt kqemu support no kvm support no CPU emulation yes brlapi support no Documentation no NPTL support yes vde support no AIO support yes QXL yes Spice yes SMB directores yes SCSI devices yes ISAPC support yes KVM nested no USB storage yes USB wacom yes USB serial yes USB net yes USB bluez no VMware drivers yes NBD support yes bluetooth support no Only generic cpus no Then, in .../vdesktop/libkvm/ I do "sudo make ", here comes the error: gcc -m64 -D__x86_64__ -MMD -MF ./.libkvm.d -g -fomit-frame-pointer -Wall -fno-stack-protector -I /home/sxlin/spice-sources/vdesktop/kernel/include -c -o libkvm.o libkvm.c In file included from libkvm.c:38: libkvm.h:811: warning: ‘struct kvm_irq_routing_entry’ declared inside parameter list libkvm.h:811: warning: its scope is only this definition or declaration, which is probably not what you want libkvm.h:822: warning: ‘struct kvm_irq_routing_entry’ declared inside parameter list libkvm.c: In function ‘kvm_set_irq_level’: libkvm.c:672: error: ‘struct kvm_irq_level’ has no member named ‘status’ libkvm.c: At top level: libkvm.c:1269: warning: ‘struct kvm_irq_routing_entry’ declared inside parameter list libkvm.c:1268: error: conflicting types for ‘kvm_add_routing_entry’ libkvm.h:810: error: previous declaration of ‘kvm_add_routing_entry’ was here libkvm.c:1321: warning: ‘struct kvm_irq_routing_entry’ declared inside parameter list libkvm.c:1320: error: conflicting types for ‘kvm_del_routing_entry’ libkvm.h:821: error: previous declaration of ‘kvm_del_routing_entry’ was here libkvm.c: In function ‘kvm_get_irq_route_gsi’: libkvm.c:1404: error: ‘struct kvm_context’ has no member named ‘max_used_gsi’ libkvm.c:1405: error: ‘struct kvm_context’ has no member named ‘max_used_gsi’ libkvm.c:1406: error: ‘struct kvm_context’ has no member named ‘max_used_gsi’ libkvm.c:1411: warning: control reaches end of non-void function make: *** [libkvm.o] Error 1
Any ideas,It's a very low-level error, I mean it's the error from the codes, is it because of some failure in the pre-processor?(Some parameters have not been correctly generated. uhr..). OR it's because that I'v already installed the qemu+kvm before the spice? Any idea? Appreciating...
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel