Skip to contentSkip to conversation

Build xen-unstable and qemu upstream unstable fail with error on xenfb.c

DISCUSSION Fabio Fantoni 3 participants 4 messages Nov 2, 2012

lore
Share & tools
lore
#0 lore raw

I tried to compile and test xen-unstable (changeset 26124:bf249cd5f2c1) with qemu unstable (commit 4ba79505f43bd0ace35c3fe42197eb02e7e0478e) but failed with this error:

hw/xenfb.c: In function âxenfb_guest_copyâ:
hw/xenfb.c:651:5: error: implicit declaration of function âdpy_updateâ [-Werror=implicit-function-declaration] hw/xenfb.c:651:5: error: nested extern declaration of âdpy_updateâ [-Werror=nested-externs] hw/xenfb.c: In function âxenfb_updateâ:
hw/xenfb.c:769:9: error: implicit declaration of function âdpy_resizeâ [-Werror=implicit-function-declaration] hw/xenfb.c:769:9: error: nested extern declaration of âdpy_resizeâ [-Werror=nested-externs]
cc1: all warnings being treated as errors
make[3]: *** [hw/xenfb.o] Error 1
make[3]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools/qemu-xen-dir-remote'
make[2]: *** [subdir-all-qemu-xen-dir] Error 2
make[2]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

Build of some days ago was working , xenfb seem that need to be adapt for latest vga changes on qemu upstream.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 15 lines · Fabio Fantoni

I tried to compile and test xen-unstable (changeset 26124:bf249cd5f2c1) with qemu unstable (commit 4ba79505f43bd0ace35c3fe42197eb02e7e0478e) but failed with this error:

hw/xenfb.c: In function âxenfb_guest_copyâ:
hw/xenfb.c:651:5: error: implicit declaration of function âdpy_updateâ [-Werror=implicit-function-declaration]
hw/xenfb.c:651:5: error: nested extern declaration of âdpy_updateâ [-Werror=nested-externs]
hw/xenfb.c: In function âxenfb_updateâ:
hw/xenfb.c:769:9: error: implicit declaration of function âdpy_resizeâ [-Werror=implicit-function-declaration]
hw/xenfb.c:769:9: error: nested extern declaration of âdpy_resizeâ [-Werror=nested-externs]
cc1: all warnings being treated as errors

Quoted 8 lines

make[3]: *** [hw/xenfb.o] Error 1
make[3]: Leaving directory /mnt/vm/xen/xen-unstable.hg/tools/qemu-xen-dir-remote' make[2]: *** [subdir-all-qemu-xen-dir] Error 2 make[2]: Leaving directory /mnt/vm/xen/xen-unstable.hg/tools' make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

Can you take a look at this Gerd?

Thanks.

Anthony Liguori

Quoted 3 lines

Build of some days ago was working , xenfb seem that need to be adapt for latest vga changes on qemu upstream.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw

Il 02/11/2012 14:45, Gerd Hoffmann ha scritto:

Quoted 7 lines
   Hi,
Quoted 3 lines
Quoted 2 lines

hw/xenfb.c:651:5: error: implicit declaration of function âdpy_updateâ [-Werror=implicit-function-declaration]

Can you take a look at this Gerd?

Happened already: http://patchwork.ozlabs.org/patch/196492/

Quoted 10 lines

cheers,
Gerd

-----
Nessun virus nel messaggio.
Controllato da AVG - www.avg.com
Versione: 2012.0.2221 / Database dei virus: 2441/5368 - Data di rilascio: 01/11/2012

Thanks, patch applied and build successfull.

Start testing xen-unstable with qemu upstream unstable, tried Quantal pvonhvm domU with spice and qxl, qemu crashes showing this on log file:

main_channel_link: add main channel client
main_channel_handle_parsed: net test: latency 47.335000 ms, bitrate 752664461 bps (717.796765 Mbps) red_dispatcher_set_cursor_peer:
inputs_connect: inputs channel client create
id 0, group 0, virt start 0, virt end ffffffffffffffff, generation 0, delta 0
id 1, group 1, virt start 7f634059b000, virt end 7f6344599000, generation 0, delta 7f634059b000 id 2, group 1, virt start 7f6333f04000, virt end 7f6337f04000, generation 0, delta 7f6333f04000 (/usr/sbin/xl:3427): Spice-CRITICAL **: red_memslots.c:123:get_virt: slot_id 194 too big, addr=c2c2c2c2c2c2c2c2

Some problem also on test of some days ago, can someone solve also this problem please? If you need more information/logs tell me and I'll post it.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel