From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV6Ck-0007j0-2G for qemu-devel@nongnu.org; Mon, 28 Nov 2011 13:45:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV6Ci-0000aH-VO for qemu-devel@nongnu.org; Mon, 28 Nov 2011 13:45:26 -0500 Message-ID: <4ED3D6B9.5060104@codemonkey.ws> Date: Mon, 28 Nov 2011 12:45:13 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <4ED3D428.7030704@weilnetz.de> In-Reply-To: <4ED3D428.7030704@weilnetz.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] fix out of tree build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, Anthony Liguori , qemu-devel@nongnu.org, Stefano Stabellini On 11/28/2011 12:34 PM, Stefan Weil wrote: > Am 22.11.2011 18:27, schrieb Stefano Stabellini: >> >> Signed-off-by: Stefano Stabellini >> >> diff --git a/Makefile b/Makefile >> index 168093c..885065f 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -167,7 +167,7 @@ check-qjson: check-qjson.o $(qobject-obj-y) $(tools-obj-y) >> test-coroutine: test-coroutine.o qemu-timer-common.o async.o >> $(coroutine-obj-y) $(tools-obj-y) >> >> $(qapi-obj-y): $(GENERATED_HEADERS) >> -qapi-dir := qapi-generated >> +qapi-dir := $(SRC_PATH)/qapi-generated >> test-visitor.o test-qmp-commands.o qemu-ga$(EXESUF): QEMU_CFLAGS += -I >> $(qapi-dir) >> qemu-ga$(EXESUF): LIBS = $(LIBS_QGA) > > This patch was committed to latest QEMU and breaks in-tree and out-of-tree builds. > Without it, both kinds of builds work in my standard Debian configuration. The patch is obviously incorrect. I'm going to revert it since the commit message has no explanation of why it's fixing anything. Regards, Anthony Liguori > > Regards, > Stefan Weil > > > gcc output (extract): > > CC /home/stefan/src/qemu/qemu.org/patches/qapi-generated/qga-qapi-types.o > /home/stefan/src/qemu/qemu.org/patches/qapi-generated/qga-qapi-types.c: In > function ‘qapi_free_GuestAgentInfoList’: > /home/stefan/src/qemu/qemu.org/patches/qapi-generated/qga-qapi-types.c:39: > warning: implicit declaration of function ‘visit_type_GuestAgentInfoList’ > /home/stefan/src/qemu/qemu.org/patches/qapi-generated/qga-qapi-types.c:39: > warning: nested extern declaration of ‘visit_type_GuestAgentInfoList’ > /home/stefan/src/qemu/qemu.org/patches/qapi-generated/qga-qapi-types.c: In > function ‘qapi_free_GuestAgentInfo’: > /home/stefan/src/qemu/qemu.org/patches/qapi-generated/qga-qapi-types.c:54: > warning: implicit declaration of function ‘visit_type_GuestAgentInfo’ > /home/stefan/src/qemu/qemu.org/patches/qapi-generated/qga-qapi-types.c:54: > warning: nested extern declaration of ‘visit_type_GuestAgentInfo’ > /home/stefan/src/qemu/qemu.org/patches/qapi-generated/qga-qapi-types.c: In > function ‘qapi_free_GuestFileReadList’: > /home/stefan/src/qemu/qemu.org/patches/qapi-generated/qga-qapi-types.c:69: > warning: implicit declaration of function ‘visit_type_GuestFileReadList’ > >