qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] latest version qemu compile error


From: Zhanghaoyu (A)
Subject: Re: [Qemu-devel] latest version qemu compile error
Date: Wed, 10 Apr 2013 03:24:42 +0000

> > 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 ?
> 
> Please send the log of "make V=1".
> 
> Paolo

The log of "make V=1" is identical with that of "make", shown 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

Thanks,
Zhang Haoyu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]