Received: from eggs.gnu.org ([208.118.235.92]:55973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqhWd-0002BH-I9 for qemu-devel@nongnu.org; Thu, 03 Jan 2013 04:55:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqhWa-0005u4-H8 for qemu-devel@nongnu.org; Thu, 03 Jan 2013 04:55:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqhWa-0005tu-6v for qemu-devel@nongnu.org; Thu, 03 Jan 2013 04:55:44 -0500 Date: Thu, 3 Jan 2013 10:44:57 +0100 From: Stefan Hajnoczi Message-ID: <20130103094457.GB28326@stefanha-thinkpad.muc.redhat.com> References: <50E54FAF.6060203@redhat.com> <50E5503B.7090604@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50E5503B.7090604@weilnetz.de> 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 Weil Cc: Gerd Hoffmann , "qemu-devel@nongnu.org" 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=98= vring_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 exte= rn > >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. 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