All of lore.kernel.org
 help / color / mirror / Atom feed
* qemu upstream arm compile error failed
@ 2015-01-07 10:02 Mao Mingy
  2015-01-07 10:06 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Mao Mingy @ 2015-01-07 10:02 UTC (permalink / raw)
  To: xen-devel


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

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

end of thread, other threads:[~2015-01-07 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07 10:02 qemu upstream arm compile error failed Mao Mingy
2015-01-07 10:06 ` Ian Campbell

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.