From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: qemu upstream arm compile error failed Date: Wed, 7 Jan 2015 10:06:32 +0000 Message-ID: <1420625192.18631.13.camel@citrix.com> References: <54AD041D.4040808@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54AD041D.4040808@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mao Mingy Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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.