All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Mao Mingy <maomingya928@gmail.com>
Cc: xen-devel@lists.xen.org
Subject: Re: qemu upstream arm compile error failed
Date: Wed, 7 Jan 2015 10:06:32 +0000	[thread overview]
Message-ID: <1420625192.18631.13.camel@citrix.com> (raw)
In-Reply-To: <54AD041D.4040808@gmail.com>

On Wed, 2015-01-07 at 18:02 +0800, Mao Mingy wrote:
> I tried to use the qemu upstream on xen Dom0 (arm arch) to get the
> PVFB, PVKBD and PVMOUSE work.

With Xen 4.5 qemu is automatically built for ARM, no need to do it
separately AFAIK.

Also note that you need to build qemu for i386, even on ARM (since the
PV backends are currently entwined with x86 for historical reasons. This
doesn't matter since qemu does no CPU emulation under Xen anyway.

Lastly:
> /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lgthread-2.0
> /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lglib-2.0

I think it is pretty obvious from these error messages that you are
missing some build dependencies, this isn't a Xen specific issue AFAICT.
The solution is to make ARM versions of those libraries available in
your cross environment.

Ian.

      reply	other threads:[~2015-01-07 10:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-07 10:02 qemu upstream arm compile error failed Mao Mingy
2015-01-07 10:06 ` Ian Campbell [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=1420625192.18631.13.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=maomingya928@gmail.com \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.