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

Re: New kernel headers break LVM build

On Wed, Nov 19, 2003 at 02:18:34PM +0000, Patrick Caulfield wrote:
> LVM1 includes kernel headers in its build - yeah, I know, but it does
> interface (rather too) tightly into the kernel.
> The problem now is that the linux-kernel-headers package has Linux 2.6
> files in it rather than 2.4 and LVM(1) is not supported in 2.6. so it
> doesn't build. 
If you sure, that it builds correctly with 2.4 headers add:
Build-dep: ..., kernel-headers-2.4
in debian/control and:
CFLAGS = -I /usr/src/kernel-headers-2.4.22-1/include $(CFLAGS)
in debian/rules.


Reply to: