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

[Xen-devel] Re: [PATCH] Fix bzip2/lzma compilation/linking problems in t

To: Pasi Kärkkäinen <pasik@xxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] Fix bzip2/lzma compilation/linking problems in tools/libxc/Makefile
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 24 Aug 2009 08:29:11 +0100
Cc:
Delivery-date: Mon, 24 Aug 2009 00:29:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090823170831.GG19938@xxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcokFFmJSQXZZPsSSHWUAOUfOd6TtAAeDk+E
Thread-topic: [PATCH] Fix bzip2/lzma compilation/linking problems in tools/libxc/Makefile
User-agent: Microsoft-Entourage/12.20.0.090605
I fixed this differently. See c/s 20116.

 -- Keir

On 23/08/2009 18:08, "Pasi Kärkkäinen" <pasik@xxxxxx> wrote:

> Hello,
> 
> The attached patch fixes two problems in tools/libxc/Makefile in xen-unstable.
> 
> 1) libxenguest.so.3.4.0 is linked from *.opic files, so the -DHAVE_BZLIB
> -DHAVE_LZMA
> CFLAGS need to be added to xc_dom_bzimageloader.opic aswell.
> 
> 2) There was an ordering/dependency problem with .zlib.deps file generation
> resulting 
> in missing CFLAGS for xc_dom_bzimageloader.o|.opic compilation.
> 
> ie. sometimes (for example during rpmbuild) this is what happened:
> 
> grep: .zlib.deps: No such file or directory
>  - BZIP2 decompression supported
>  - LZMA decompression supported
> 
> The .zlib.deps file generation was done _after_ the CFLAGS += stuff was ran..
> obviously resulting in missing BZIP2/LZMA support.
> 
> I fixed this by making the .zlib.deps generation being the first thing to run.
> 
> -- Pasi



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

<Prev in Thread] Current Thread [Next in Thread>