qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu compilation fails on ubuntu 12.04
@ 2012-08-18 17:44 MJ embd
  2012-08-20  6:46 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: MJ embd @ 2012-08-18 17:44 UTC (permalink / raw)
  To: qemu-devel

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
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


thanks
-mj

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] qemu compilation fails on ubuntu 12.04
  2012-08-18 17:44 [Qemu-devel] qemu compilation fails on ubuntu 12.04 MJ embd
@ 2012-08-20  6:46 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2012-08-20  6:46 UTC (permalink / raw)
  To: MJ embd; +Cc: qemu-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-20  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-18 17:44 [Qemu-devel] qemu compilation fails on ubuntu 12.04 MJ embd
2012-08-20  6:46 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).