Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLpf1-00069F-P3 for qemu-devel@nongnu.org; Fri, 08 Sep 2006 19:21:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLpez-00067i-Iv for qemu-devel@nongnu.org; Fri, 08 Sep 2006 19:21:23 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLpez-00067S-Dl for qemu-devel@nongnu.org; Fri, 08 Sep 2006 19:21:21 -0400 Received: from [212.63.36.242] (helo=gwyn.kn-bremen.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GLpfg-0006bJ-Bx for qemu-devel@nongnu.org; Fri, 08 Sep 2006 19:22:04 -0400 Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k88NLInn032701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 9 Sep 2006 01:21:18 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k88NLHb3032699 for qemu-devel@nongnu.org; Sat, 9 Sep 2006 01:21:17 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id k88NGRsc016968 for ; Sat, 9 Sep 2006 01:16:27 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id k88NGRUx016967 for qemu-devel@nongnu.org; Sat, 9 Sep 2006 01:16:27 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 9 Sep 2006 01:16:27 +0200 Subject: Re: [Qemu-devel] How to build qemu 0.8.2 on freebsd 6.0-RELEASE-p9 on amd64? Message-ID: <20060908231627.GA16791@saturn.kn-bremen.de> References: <86y7szytgy.fsf@Frank.Ning> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <86y7szytgy.fsf@Frank.Ning> Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Tue, Sep 05, 2006 at 09:47:57AM +0800, Frank.Ning wrote: > Hi > I have update qemu to 0.8.2, but when I compile it from ports, it tell = me there is error: > ../dyngen -o op.h op.o > ../dyngen -c -o opc.h op.o > cc -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing -I/usr/loc= al/include -I. -I.. -I/usr/ports/emulators/qemu/work/qemu-0.8.2/target-i3= 86 -I/usr/ports/emulators/qemu/work/qemu-0.8.2 -D_GNU_SOURCE -D_FILE_OFFS= ET_BITS=3D64 -D_LARGEFILE_SOURCE -DSMBD=3D\"/usr/local/sbin/smbd\" -I/usr= /ports/emulators/qemu/work/qemu-0.8.2/fpu -DHAS_AUDIO -I/usr/ports/emulat= ors/qemu/work/qemu-0.8.2/slirp -c -o translate-op.o /usr/ports/emulators/= qemu/work/qemu-0.8.2/translate-op.c > In file included from /usr/ports/emulators/qemu/work/qemu-0.8.2/transla= te-op.c:36: > ./op.h: In function `dyngen_code': > ./op.h:8018: error: syntax error before '.' token > ./op.h:8022: error: syntax error before '.' token > ./op.h:8044: error: syntax error before '.' token > ./op.h:8048: error: syntax error before '.' token > gmake[1]: *** [translate-op.o] =91=B4=ED=91=CE=F3 1 > gmake[1]: Leaving directory `/usr/ports/emulators/qemu/work/qemu-0.8.2/= i386-softmmu' > gmake: *** [subdir-i386-softmmu] =91=B4=ED=91=CE=F3 2 > *** Error code 2 >=20 > Stop in /usr/ports/emulators/qemu. >=20 > In file op.h line 8018: extern char .LC24; > line 8044: extern char .LC27; >=20 > someone can help me? Hmm I don't have no .LC anywhere in the file and the port builds and runs just fine on amd64 here. What version of gcc do you have? Oh and those `\x91\xb4\xed\x91\xce\xf3'... do you have LANG set? If yes try rebuilding with it unset... HTH, Juergen