From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPU6T-0007sI-1M for qemu-devel@nongnu.org; Tue, 09 Apr 2013 04:40:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPU6Q-0006aU-6k for qemu-devel@nongnu.org; Tue, 09 Apr 2013 04:40:32 -0400 Received: from mail-qc0-x236.google.com ([2607:f8b0:400d:c01::236]:55509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPU6Q-0006aJ-3k for qemu-devel@nongnu.org; Tue, 09 Apr 2013 04:40:30 -0400 Received: by mail-qc0-f182.google.com with SMTP id k19so2859312qcs.41 for ; Tue, 09 Apr 2013 01:40:29 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5163D3F6.3060903@redhat.com> Date: Tue, 09 Apr 2013 10:40:22 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] latest version qemu compile error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Zhanghaoyu (A)" Cc: Luonengjun , "Huangweidong (C)" , qemu-devel 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