From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LypqK-0000KK-CB for qemu-devel@nongnu.org; Tue, 28 Apr 2009 12:07:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LypqJ-0000Jl-Fu for qemu-devel@nongnu.org; Tue, 28 Apr 2009 12:07:35 -0400 Received: from [199.232.76.173] (port=41542 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LypqJ-0000Jb-8Y for qemu-devel@nongnu.org; Tue, 28 Apr 2009 12:07:35 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:25630) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LypqI-0002ma-Qs for qemu-devel@nongnu.org; Tue, 28 Apr 2009 12:07:35 -0400 Received: by fg-out-1718.google.com with SMTP id e21so206763fga.8 for ; Tue, 28 Apr 2009 09:07:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <49F6E130.5050905@eu.citrix.com> References: <49F6E130.5050905@eu.citrix.com> Date: Tue, 28 Apr 2009 19:07:33 +0300 Message-ID: Subject: Re: [Qemu-devel] QEMU Xen compile problem From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: qemu-devel On 4/28/09, Stefano Stabellini wrote: > 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? This comes from Debian libxen-dev version: 3.2.1-2. Maybe it's too old.