qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Zhanghaoyu (A)" <haoyu.zhang@huawei.com>
Cc: Luonengjun <luonengjun@huawei.com>,
	"Huangweidong (C)" <weidong.huang@huawei.com>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] latest version qemu compile error
Date: Tue, 09 Apr 2013 10:40:22 +0200	[thread overview]
Message-ID: <5163D3F6.3060903@redhat.com> (raw)
In-Reply-To: <D3E216785288A145B7BC975F83A2ED103FE1697A@szxeml556-mbx.china.huawei.com>

Il 09/04/2013 10:22, Zhanghaoyu (A) ha scritto:
> 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

  reply	other threads:[~2013-04-09  8:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09  8:22 [Qemu-devel] latest version qemu compile error Zhanghaoyu (A)
2013-04-09  8:40 ` Paolo Bonzini [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5163D3F6.3060903@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=haoyu.zhang@huawei.com \
    --cc=luonengjun@huawei.com \
    --cc=qemu-devel@nongnu.org \
    --cc=weidong.huang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).