From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: [Qemu-devel] QEMU Xen compile problem Date: Mon, 27 Apr 2009 12:36:56 +0100 Message-ID: <49F598D8.6080202@eu.citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Blue Swirl Cc: "xen-devel@lists.xensource.com" , qemu-devel List-Id: xen-devel@lists.xenproject.org Blue Swirl wrote: > Hi, > > When I try to compile the QEMU git head with Xen enabled, I get the > following errors: > > LINK qemu > /usr/lib/libxenguest.a(xg_private.o): In function `unlock_pages': > (.text+0x470): multiple definition of `unlock_pages' > /usr/lib/libxenctrl.a(xc_private.o):(.text+0x5d0): first defined here > /usr/lib/libxenguest.a(xg_private.o): In function `lock_pages': > (.text+0x4c0): multiple definition of `lock_pages' > /usr/lib/libxenctrl.a(xc_private.o):(.text+0x650): first defined here > collect2: ld returned 1 exit status > make: *** [qemu] Error 1 > > It looks like this is a known problem: > http://lists.xensource.com/archives/html/xen-devel/2008-05/msg00510.html > > Is there any fix available? > > The fix is CS 17701, in facts I don't see these errors with the latest xen-unstable, what xen version are you trying against?