On 18 August 2012 17:54, MJ embd <mj.e...@gmail.com> wrote:
> Hi All,
> I am trying to compile qemu for arm top of tree on ubuntu 12.04 and am
> getting the following errors. Can anyone help

>   LINK  qemu-ga
> /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld:
> cannot find -lgthread-2.0
> /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld:
> cannot find -lglib-2.0
> /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld:
> cannot find -lpcre

It is failing to find these libraries (glib, gthread, pcre) -- you
need to install
the development packages for them.

On Ubuntu a quick way to ensure you have all the packages you need
to build qemu is to get teh package system to install everything it would
install for you to build the ubuntu qemu package, like this:
  sudo apt-get build-dep qemu-system

The message about getaddrinfo is only a warning and is ignorable.

-- PMM

Reply via email to