WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-devel] Re: Xen 4.0.1 failed to compile on Ubuntu Natty 32 bits

To: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: Xen 4.0.1 failed to compile on Ubuntu Natty 32 bits
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 16 Dec 2010 18:36:05 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>, Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 16 Dec 2010 09:36:53 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1292520966; l=957; s=domk; d=aepfle.de; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version: References:Subject:Cc:To:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=rZvfgoA8eBlHIiWA9SdKA43SOmY=; b=KOVzZZXIKooz3kkMSFuOoDWa+182QRFsa2eY2SWS5YzbYRnleyG1PRWxy3ntyOhInLn hHZqlN9+hTevRI4al10NmskxcZVuIhW95kvMgNGsmwA9LHnXp7cOdI/ly6FtlNhknjPtT KFlPBYpIoDxxhOUBsagCUL56AfUBRXFiHxo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimZrNZQTxe2q8HVbu+pWoGfQLnkCScOHGao4iJU@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimVEuNnj2ARQmK+8Uc2djmVzs7nMGeFnubs1A9K@xxxxxxxxxxxxxx> <AANLkTimbPnkWj=y8vSARk0LPv_wLSAgE+3TCcq0iCSV7@xxxxxxxxxxxxxx> <AANLkTimjQTE71F81Db09YiHhEDYkQFZCkfvfM3Lz0_u2@xxxxxxxxxxxxxx> <1292492084.32368.6927.camel@xxxxxxxxxxxxxxxxxxxxxx> <AANLkTimZrNZQTxe2q8HVbu+pWoGfQLnkCScOHGao4iJU@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Thu, Dec 16, Martinx - ジェームズ wrote:

> Ian,
> 
>  I chenge the files but, the error persist, check it out:

Try this patch, I sent a similar series once for xen-unstable.
Maybe its time to backport the LDFLAGS reordering for 4.0.2.

Olaf

--- xen-4.0.1-testing.orig/tools/blktap/drivers/Makefile
+++ xen-4.0.1-testing/tools/blktap/drivers/Makefile
@@ -28,8 +28,9 @@ CFLAGS += -DMEMSHR
 MEMSHRLIBS += $(MEMSHR_DIR)/libmemshr.a
 endif
 
-LDFLAGS_blktapctrl := $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenstore) 
$(MEMSHRLIBS) -L../lib -lblktap -lrt -lm -lpthread
-LDFLAGS_img := $(LIBAIO_DIR)/libaio.a $(CRYPT_LIB) -lpthread -lz
+LDFLAGS_xen := $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenstore)
+LDFLAGS_blktapctrl := $(LDFLAGS_xen) $(MEMSHRLIBS) -L../lib -lblktap -lrt -lm 
-lpthread $(LDFLAGS_xen)
+LDFLAGS_img := $(LIBAIO_DIR)/libaio.a $(CRYPT_LIB) -lpthread -lz $(LDFLAGS_xen)
 
 BLK-OBJS-y  := block-aio.o
 BLK-OBJS-y  += block-sync.o

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel