From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHuaP-0005Em-Lx for qemu-devel@nongnu.org; Mon, 24 Feb 2014 07:24:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHuaJ-0004Wp-N8 for qemu-devel@nongnu.org; Mon, 24 Feb 2014 07:24:41 -0500 Received: from mail-la0-f41.google.com ([209.85.215.41]:41486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHuaJ-0004Vs-GK for qemu-devel@nongnu.org; Mon, 24 Feb 2014 07:24:35 -0500 Received: by mail-la0-f41.google.com with SMTP id gl10so2574607lab.14 for ; Mon, 24 Feb 2014 04:24:34 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Peter Maydell Date: Mon, 24 Feb 2014 12:24:14 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] Error compiling qemu from source on Ubuntu 12.10 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jobin Raju George Cc: QEMU Developers On 21 February 2014 21:41, Jobin Raju George wrote: > To fix this issue: > > I cloned dtc from its repository and extracted the tarball to qemu/dtc/. Why not just do the git submodule command that the error message from configure suggests? You don't need to manually stick the tarball into the qemu tree like this. > The problem was qemu tries to search for dtc binaries in qemu/dtc. Even if > you have installed dtc using sudo apt-get install device-tree-compiler, you > will get the above error(mentioned in the question), so you probably need to > have the binaries in qemu/dtc (1) You need the development libraries and headers, which for Ubuntu are in "libfdt-dev", not "device-tree-compiler". (2) If the system libfdt isn't sufficiently new/correctly built we won't use it (in particular it has to provide /usr/include/libfdt_env.h) thanks -- PMM