From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLdt0-0008GN-0y for qemu-devel@nongnu.org; Wed, 02 Nov 2011 12:41:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLdsz-0003Xc-86 for qemu-devel@nongnu.org; Wed, 02 Nov 2011 12:41:57 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:55527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLdsy-0003XO-Sj for qemu-devel@nongnu.org; Wed, 02 Nov 2011 12:41:57 -0400 Message-ID: <4EB1729E.4010903@weilnetz.de> Date: Wed, 02 Nov 2011 17:41:02 +0100 From: Stefan Weil MIME-Version: 1.0 References: <20111102132630.4279.15458.malonedeb@soybean.canonical.com> <20111102132630.4279.15458.malonedeb@soybean.canonical.com> In-Reply-To: <20111102132630.4279.15458.malonedeb@soybean.canonical.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Bug 885213] [NEW] Latest GIT version fails to compile on Linux cris-softmmu/pci-stub.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 885213 <885213@bugs.launchpad.net> Cc: qemu-devel@nongnu.org Am 02.11.2011 14:26, schrieb Nigel Horne: > Public bug reported: > > The latest GIT version (e072ea2fd8fdceef64159b9596d3c15ce01bea91) fails > to compile. > > Host: debian x86-64. gcc 4.6.2 > > ... > CC cris-softmmu/pci-stub.o > ... > In file included from /home/njh/src/qemu/hw/pci-stub.c:24:0: > ./qmp-commands.h: At top level: > ./qmp-commands.h:3:1: error: expected identifier or =E2=80=98(=E2=80=99= before =E2=80=98{=E2=80=99 token > . > > ** Affects: qemu > Importance: Undecided > Status: New Did you try compilation in a tree with old generated files from previous compilations? If there are several qmp-commands.h in subdirectories, you have such old files. There must be only one qmp-commands.h in the build root. The old files start with "{", the new files start with comment lines. The compiler error which you got comes from an old file. Create a new QEMU source tree and try compilation there. Regards, Stefan Weil