From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqq18-0004zZ-Vg for qemu-devel@nongnu.org; Thu, 03 Jan 2013 13:59:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tqq16-0000Qa-OP for qemu-devel@nongnu.org; Thu, 03 Jan 2013 13:59:50 -0500 Received: from mail-ia0-f179.google.com ([209.85.210.179]:37069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqq16-0000QG-Jr for qemu-devel@nongnu.org; Thu, 03 Jan 2013 13:59:48 -0500 Received: by mail-ia0-f179.google.com with SMTP id o25so12964048iad.38 for ; Thu, 03 Jan 2013 10:59:47 -0800 (PST) From: Anthony Liguori In-Reply-To: <20130103094457.GB28326@stefanha-thinkpad.muc.redhat.com> References: <50E54FAF.6060203@redhat.com> <50E5503B.7090604@weilnetz.de> <20130103094457.GB28326@stefanha-thinkpad.muc.redhat.com> Date: Thu, 03 Jan 2013 12:59:44 -0600 Message-ID: <87y5ganlcv.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] dataplane build error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , Stefan Weil Cc: Gerd Hoffmann , "qemu-devel@nongnu.org" Stefan Hajnoczi writes: > On Thu, Jan 03, 2013 at 10:32:43AM +0100, Stefan Weil wrote: >> Am 03.01.2013 10:30, schrieb Gerd Hoffmann: >> > CC hw/dataplane/vring.o >> >cc1: warnings being treated as errors >> >/home/kraxel/projects/qemu/hw/dataplane/vring.c: In function =E2=80=98v= ring_setup=E2=80=99: >> >/home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: implicit >> >declaration of function =E2=80=98trace_vring_setup=E2=80=99 >> >/home/kraxel/projects/qemu/hw/dataplane/vring.c:46: error: nested extern >> >declaration of =E2=80=98trace_vring_setup=E2=80=99 >> >gmake: *** [hw/dataplane/vring.o] Error 1 >>=20 >>=20 >> Hi Gerd, >>=20 >> I got this one, too. Removing a generated file trace.h fixes it. > > Anthony hit this yesterday with an out-of-tree build, too. http://article.gmane.org/gmane.comp.emulators.qemu/186471 I usually try to make an announcement when there are issues like this. Regards, Anthony Liguori > > trace.h used to be generated, since > eac236ea7bfc1902126be70459e320591078df5c (build: Use separate makefile > for "trace/") it is a static file. The build system is getting > confused. > > Stefan