qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Compilation Error with gcc 4.6


From: Peter Maydell
Subject: Re: [Qemu-devel] Compilation Error with gcc 4.6
Date: Sun, 19 Aug 2012 01:05:04 +0100

On 18 August 2012 17:54, MJ embd <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]