qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] latest version qemu compile error
@ 2013-04-09  8:22 Zhanghaoyu (A)
  2013-04-09  8:40 ` Paolo Bonzini
  0 siblings, 1 reply; 7+ messages in thread
From: Zhanghaoyu (A) @ 2013-04-09  8:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: Huangweidong (C), Luonengjun

[-- Attachment #1: Type: text/plain, Size: 1222 bytes --]

I compile the QEMU source download from qemu.git (http://git.qemu.org/git/qemu.git) on 4-9-2013, errors reported as below,

hw/virtio/dataplane/vring.c: In function 'vring_enable_notification':
hw/virtio/dataplane/vring.c:72: warning: implicit declaration of function 'vring_avail_event'
hw/virtio/dataplane/vring.c:72: warning: nested extern declaration of 'vring_avail_event'
hw/virtio/dataplane/vring.c:72: error: lvalue required as left operand of assignment
hw/virtio/dataplane/vring.c: In function 'vring_should_notify':
hw/virtio/dataplane/vring.c:107: warning: implicit declaration of function 'vring_need_event'
hw/virtio/dataplane/vring.c:107: warning: nested extern declaration of 'vring_need_event'
hw/virtio/dataplane/vring.c:107: warning: implicit declaration of function 'vring_used_event'
hw/virtio/dataplane/vring.c:107: warning: nested extern declaration of 'vring_used_event'
hw/virtio/dataplane/vring.c: In function 'vring_pop':
hw/virtio/dataplane/vring.c:262: error: lvalue required as left operand of assignment
make: *** [hw/virtio/dataplane/vring.o] Error 1

'vring_avail_event' and 'vring_need_event' defined in /linux-headers/linux/virtio_ring.h, are not available  in vring.c ?

[-- Attachment #2: Type: text/html, Size: 3575 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-10 11:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-09  8:22 [Qemu-devel] latest version qemu compile error Zhanghaoyu (A)
2013-04-09  8:40 ` Paolo Bonzini
2013-04-10  3:24   ` Zhanghaoyu (A)
2013-04-10  4:23     ` Bruce Rogers
2013-04-10  8:04     ` Paolo Bonzini
2013-04-10 11:03       ` Zhanghaoyu (A)
2013-04-10 11:13         ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).