[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Mon, Aug 24, 2009 at 08:29:11AM +0100, Keir Fraser wrote:
> I fixed this differently. See c/s 20116.
> 

Thanks!

-- Pasi

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.