From: Keir Fraser Subject: Re: [PATCH] Fix bzip2/lzma compilation/linking problems in tools/libxc/Makefile Date: Mon, 24 Aug 2009 08:29:11 +0100 Message-ID: References: <20090823170831.GG19938@edu.joroinen.fi> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090823170831.GG19938@edu.joroinen.fi> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Pasi =?ISO-8859-1?B?S+Rya2vkaW5lbg==?= , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org I fixed this differently. See c/s 20116. -- Keir On 23/08/2009 18:08, "Pasi K=E4rkk=E4inen" wrote: > Hello, >=20 > The attached patch fixes two problems in tools/libxc/Makefile in xen-unst= able. >=20 > 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. >=20 > 2) There was an ordering/dependency problem with .zlib.deps file generati= on > resulting=20 > in missing CFLAGS for xc_dom_bzimageloader.o|.opic compilation. >=20 > ie. sometimes (for example during rpmbuild) this is what happened: >=20 > grep: .zlib.deps: No such file or directory > - BZIP2 decompression supported > - LZMA decompression supported >=20 > The .zlib.deps file generation was done _after_ the CFLAGS +=3D stuff was r= an.. > obviously resulting in missing BZIP2/LZMA support. >=20 > I fixed this by making the .zlib.deps generation being the first thing to= run. >=20 > -- Pasi