qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: MJ embd <mj.embd@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qemu compilation fails on ubuntu 12.04
Date: Mon, 20 Aug 2012 07:46:16 +0100	[thread overview]
Message-ID: <20120820064616.GA32578@stefanha-thinkpad.localdomain> (raw)
In-Reply-To: <CAPUj1ONCLakqQDcc6Bm-59vyU_NpPK+P2cg2oXpLmgqC71ynKA@mail.gmail.com>

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	other threads:[~2012-08-20  8:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18 17:44 [Qemu-devel] qemu compilation fails on ubuntu 12.04 MJ embd
2012-08-20  6:46 ` Stefan Hajnoczi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120820064616.GA32578@stefanha-thinkpad.localdomain \
    --to=stefanha@gmail.com \
    --cc=mj.embd@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).