From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLNo3-0005LO-UE for qemu-devel@nongnu.org; Mon, 29 Jun 2009 16:50:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLNny-0005Hn-9z for qemu-devel@nongnu.org; Mon, 29 Jun 2009 16:50:26 -0400 Received: from [199.232.76.173] (port=39987 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLNny-0005HX-4U for qemu-devel@nongnu.org; Mon, 29 Jun 2009 16:50:22 -0400 Received: from mail-fx0-f211.google.com ([209.85.220.211]:60887) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLNnx-0002g4-KX for qemu-devel@nongnu.org; Mon, 29 Jun 2009 16:50:21 -0400 Received: by fxm7 with SMTP id 7so301847fxm.34 for ; Mon, 29 Jun 2009 13:50:20 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20090629144044.GD15751@csclub.uwaterloo.ca> References: <8e04b5820906270952o34cf6c5bu2410e2680fe37344@mail.gmail.com> <20090629144044.GD15751@csclub.uwaterloo.ca> Date: Mon, 29 Jun 2009 23:50:18 +0300 Message-ID: <8e04b5820906291350g4ec1e960x5d42f9afa14f9402@mail.gmail.com> Subject: Re: [Qemu-devel] Building Qemu 0.10.5 fails with an error about missing tcg-target.h From: "Ciprian Dorin, Craciun" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lennart Sorensen Cc: qemu-devel@nongnu.org On Mon, Jun 29, 2009 at 5:40 PM, Lennart Sorensen wrote: > On Sat, Jun 27, 2009 at 07:52:35PM +0300, Ciprian Dorin, Craciun wrote: >> =C2=A0 =C2=A0 Hello all! >> >> =C2=A0 =C2=A0 I've tried to build Qemu 0.10.5 and it fails with: >> ... >> error: tcg-target.h: No such file or directory >> warning: "TCG_TARGET_REG_BITS" is not defined >> ... >> >> =C2=A0 =C2=A0 I've attached a file that contains both build commands and= output. >> I'm on Debian Lenny i386 with a 2.6.30 kernel, and GCC 4.2. I've tried >> also Qemu 0.10.0 and the same thing happens. (I've also pasted below >> only the build script.) > > Well I took the 0.10.5 source package from unstable and built it in > Lenny, and I don't remember having to do anything to the package to make > it build. > > Perhaps you are missing some build dependancy (which the source package > would tell you about), or perhaps debian has patched something to make > it work. =C2=A0Might be worth looking at the debian package from unstable= . > > -- > Len Sorensen Well I've tried the Debian version, and it works. Then I've tried again the original version and (surprise) it works. (The same build script as the one posted earlier.) (The source codes are the same, except that the Debian one does not include binary files for the bios, etc.) After thinking for a while, I think I've figured the problem: on Friday I've rebuilt my kernel. Until then it was a hand built x86_64 with the old Debian 32 bit user space, but on Friday I've switched back to the 32 bit kernel, but didn't reboot my laptop until tonight. But still one problem: when compiling statically (--static flag to configure), it gives "undefined reference" errors. They are related with SDL, and gnutls. But as these are related with UI, I could compile them out. One question though: the other features can be build statically? Thanks, and sorry for the mistake, Ciprian Craciun.