Hi,all! I'm a fresher in spice who try to install the spice C\S in Ubuntu 9.04 under the instructions in <a href="http://docs.cslabs.clarkson.edu/wiki/SPICE">http://docs.cslabs.clarkson.edu/wiki/SPICE</a>, fluent first, the spice client is well installed, yet I got the error in the step of <span class="slc"><br>
<span style="color: rgb(51, 51, 255);"># install vdesktop</span></span><br>when in vdesktop/ I do "sudo ./configure --enable-spice", I got:<br><span style="color: rgb(51, 102, 255);">[: 335: yes: unexpected operator</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">Install prefix /usr/local</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">BIOS directory /usr/local/share/qemu</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">binary directory /usr/local/bin</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">Manual directory /usr/local/share/man</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">ELF interp prefix /usr/gnemul/qemu-%M</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">Source path /home/sxlin/spice-sources/vdesktop/qemu</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">C compiler gcc</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">Host C compiler gcc</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">ARCH_CFLAGS -m64</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">make make</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">install install</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">host CPU x86_64</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">host big endian no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">target list x86_64-softmmu</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">gprof enabled no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">sparse enabled no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">profiler no</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">static build no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">-Werror enabled no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">SDL support yes</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">SDL static link yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">curses support yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">mingw32 support no</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">Audio drivers oss</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">Extra audio cards ac97</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">Mixer emulation no</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">VNC TLS support yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> TLS CFLAGS </span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> TLS LIBS -lgnutls </span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">libgcrypt support yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> gcrypt CFLAGS </span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> gcrypt LIBS -lgcrypt</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">kqemu support no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">kvm support no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">CPU emulation yes</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">brlapi support no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">Documentation no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">NPTL support yes</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">vde support no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">AIO support yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">QXL yes</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">Spice yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">SMB directores yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">SCSI devices yes</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">ISAPC support yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">KVM nested no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">USB storage yes</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">USB wacom yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">USB serial yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">USB net yes</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">USB bluez no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">VMware drivers yes</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">NBD support yes</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">bluetooth support no</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">Only generic cpus no</span><br>Then, in .../vdesktop/libkvm/ I do "sudo make ", here comes the error: <br>
<span style="color: rgb(51, 51, 255);">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</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">In file included from libkvm.c:38:</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">libkvm.h:811: warning: ‘struct kvm_irq_routing_entry’ declared inside parameter list</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">libkvm.h:811: warning: its scope is only this definition or declaration, which is probably not what you want</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">libkvm.h:822: warning: ‘struct kvm_irq_routing_entry’ declared inside parameter list</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">libkvm.c: In function ‘kvm_set_irq_level’:</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">libkvm.c:672: error: ‘struct kvm_irq_level’ has no member named ‘status’</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">libkvm.c: At top level:</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">libkvm.c:1269: warning: ‘struct kvm_irq_routing_entry’ declared inside parameter list</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">libkvm.c:1268: error: conflicting types for ‘kvm_add_routing_entry’</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">libkvm.h:810: error: previous declaration of ‘kvm_add_routing_entry’ was here</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">libkvm.c:1321: warning: ‘struct kvm_irq_routing_entry’ declared inside parameter list</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">libkvm.c:1320: error: conflicting types for ‘kvm_del_routing_entry’</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">libkvm.h:821: error: previous declaration of ‘kvm_del_routing_entry’ was here</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">libkvm.c: In function ‘kvm_get_irq_route_gsi’:</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">libkvm.c:1404: error: ‘struct kvm_context’ has no member named ‘max_used_gsi’</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">libkvm.c:1405: error: ‘struct kvm_context’ has no member named ‘max_used_gsi’</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">libkvm.c:1406: error: ‘struct kvm_context’ has no member named ‘max_used_gsi’</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">libkvm.c:1411: warning: control reaches end of non-void function</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">make: *** [libkvm.o] Error 1</span><br><br>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...<br style="color: rgb(51, 51, 255);">
<br>