All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mao Mingy <maomingya928@gmail.com>
To: xen-devel@lists.xen.org
Subject: qemu upstream arm compile error failed
Date: Wed, 07 Jan 2015 18:02:05 +0800	[thread overview]
Message-ID: <54AD041D.4040808@gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1061 bytes --]

I tried to use the qemu upstream on xen Dom0 (arm arch) to get the PVFB, 
PVKBD and PVMOUSE work.

However, I got compiler error at the begin. Here are the detail steps:
1. download the source code from " git://git.qemu-project.org/qemu.git ".
2. " cd qemu "
3. configure using command "./configure 
--cross-prefix=arm-linux-gnueabihf- --target-list=arm-softmmu --enable-fdt"
4. " make "

However,  I got the following compile error

   GEN tests/test-qmp-commands.h
   GEN   tests/test-qapi-event.h
   CC    tests/qemu-iotests/socket_scm_helper.o
   LINK  tests/qemu-iotests/socket_scm_helper
/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
collect2: error: ld returned 1 exit status
make: *** [tests/qemu-iotests/socket_scm_helper] Error 1

Looks like the build process need some libs missed in my 
gcc-cross/arm-linux-gnueabihf/4.8

What is the reason and solution?

Thanks & Regards,
Mao

[-- Attachment #1.2: Type: text/html, Size: 1694 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-07 10:02 Mao Mingy [this message]
2015-01-07 10:06 ` qemu upstream arm compile error failed Ian Campbell

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=54AD041D.4040808@gmail.com \
    --to=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.