Skip to contentSkip to conversation

Build the qemu with spice support return error

Qemu-devel Bing Bu Cao 2 participants 2 messages Oct 12, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

I want to build qemu(not qemu-kvm) with spice support enabled.

1.build spice

cd $SRC_ROOT/spice
./autogen.sh
make install

2.build qemu
cd $SRC_ROOT/qemu
./configure --target-list=x86_64-softmmu --enable-spice make

return error:
/qemu/hw/i386/../qxl.c: In function ‘interface_set_client_capabilities’:
.../qemu/hw/i386/../qxl.c:965:20: error: ‘QXLRom’ has no member named ‘client_present’ .../qemu/hw/i386/../qxl.c:966:27: error: ‘QXLRom’ has no member named ‘client_capabilities’ .../qemu/hw/i386/../qxl.c:967:13: error: ‘QXLRom’ has no member named ‘client_present’ .../qemu/hw/i386/../qxl.c:968:20: error: ‘QXLRom’ has no member named ‘client_capabilities’ .../qemu/hw/i386/../qxl.c:971:26: error: ‘QXL_INTERRUPT_CLIENT’ undeclared (first use in this function) .../qemu/hw/i386/../qxl.c:971:26: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [hw/i386/../qxl.o] Error 1

I have pull the latest source code and it still can not work,so I think the qxl.h need updated in the master ref? right?

Signature · 2 lines
Best Regards,
Bing Bu Cao
#1 lore raw

Hi,

Quoted 2 lines

I have pull the latest source code and it still can not work,so I think the qxl.h need updated in the master ref? right?

spice-protocol is too old and needs to be updated. Pending spice pull has patches to make sure spice-protocol and spice-server are recent enougth.

cheers,
Gerd