Re: New kernel headers break LVM build
On Wed, Nov 19, 2003 at 03:53:58PM +0000, Patrick Caulfield wrote:
> On Wed, Nov 19, 2003 at 03:33:53PM +0100, Christoph Hellwig wrote:
> > On Wed, Nov 19, 2003 at 02:18:34PM +0000, Patrick Caulfield wrote:
> > > The only solution I can think of is for the lvm10 package to build-depend on
> > > (eg) kernel-source-2.4.19, then in the build script untar the header
> > > files, make the arch symlink (ugh) and compile against that.
> > >
> > > Does anyone else have any nicer ideas? apart from getting everyone to migrate to
> > > LVM2 :-)
> > Fix LVM1 to keep copies of the headers it needs in it's source tree.
> including asm directories for all 18 architectures. Ah well; if it's already
> gross, making it hugely gross is not much of a descent.
So what exactly does it need? When I was doing lots of LVM work it
didn't need anything from asm/, in fact the only thing that I remember
it needed in addition to lvm.h was list.h because lvm.h is buggy enough
to embedd a struct_list head in a user-visible structure..