qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] qemu compilation fails on ubuntu 12.04


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] qemu compilation fails on ubuntu 12.04
Date: Mon, 20 Aug 2012 07:46:16 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Aug 18, 2012 at 11:14:43PM +0530, MJ embd 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
> 
> ...
> CC    json-streamer.o
>   CC    json-parser.o
>   CC    qerror.o
>   CC    error.o
>   CC    qemu-error.o
>   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

Your ARM build environment is missing glib and PCRE.  You need to
install libglib2.0-dev and libpcre3-dev.

> qemu-sockets.o: In function `inet_listen_opts':
> /home/mj/Code/qemu/qemu-sockets.c:141: warning: Using 'getaddrinfo' in
> statically linked applications requires at runtime the shared
> libraries from the glibc version used for linking
> collect2: ld returned 1 exit status
> make: *** [qemu-ga] Error 1

Why are you statically linking?

Stefan



reply via email to

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