To fix this issue:

   -

   I cloned dtc from its
repository<http://git.qemu-project.org/?p=dtc.git;a=snapshot;h=1760e7ca03894689118646e229ca9487158cd0e8;sf=tgz>and
extracted the tarball to
   qemu/dtc/.
   -

   Compiled dtc from source first using make
   -

   Restarted configuring qemu.

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.


On Sat, Feb 22, 2014 at 2:18 AM, Jobin Raju George <jobin...@gmail.com>wrote:

> I am trying to compile qemu from source to get my hands dirty with its
> development. I cloned the package from the 
> repository<http://git.qemu-project.org/?p=qemu.git;a=snapshot;h=refs/heads/master;sf=tgz>.
> I extracted the tarball and started with the configuration using
>
> ./configure
>
> when I got the following error:
>
> ERROR: DTC (libfdt) not present. Your options:
>          (1) Preferred: Install the DTC (libfdt) devel package
>          (2) Fetch the DTC submodule, using:
>              git submodule update --init dtc
>
> I tried installing libfdt using sudo apt-get install libfdt-dev but this
> did not resolve the error.
>
> There is a similar question I have seen but this too could not solve the
> error I am facing:
>
>    - "ERROR: zlib check failed" while compiling 
> Qemu<http://askubuntu.com/questions/335875/error-zlib-check-failed-while-compiling-qemu>
>
>
>
> --
>
> Thanks and regards,
>
> Jobin Raju George
>
> Final Year, Information Technology
>
> College of Engineering Pune
>
> Alternate e-mail: georgejr10...@coep.ac.in
>
>


-- 

Thanks and regards,

Jobin Raju George

Final Year, Information Technology

College of Engineering Pune

Alternate e-mail: georgejr10...@coep.ac.in

Reply via email to