2.5.1-pre8 doesn't compile w/ LVM support

From: Richard Hoechenberger (GeekuX@web.de)
Date: Sun Dec 09 2001 - 11:52:21 EST


I just downloaded the 2.5.0 kernel and patched it up to 2.5.1-pre8.
When I try to compile (using 'make-kpkg' v1.65 under Debian), I get the
following error:

make[3]: Entering directory `/tmp/kernel/linux/drivers/md'
/usr/bin/make all_targets
make[4]: Entering directory `/tmp/kernel/linux/drivers/md'
gcc -D__KERNEL__ -I/tmp/kernel/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o lvm.o lvm.c
lvm.c: In function `lvm_user_bmap':
lvm.c:1046: request for member `bv_len' in something not a structure or union
make[4]: *** [lvm.o] Fehler 1
make[4]: Leaving directory `/tmp/kernel/linux/drivers/md'
make[3]: *** [first_rule] Fehler 2
make[3]: Leaving directory `/tmp/kernel/linux/drivers/md'
make[2]: *** [_subdir_md] Fehler 2
make[2]: Leaving directory `/tmp/kernel/linux/drivers'
make[1]: *** [_dir_drivers] Fehler 2
make[1]: Leaving directory `/tmp/kernel/linux'
make: *** [stamp-build] Fehler 2
richard@sid:/tmp/kernel/linux$

In my .config, CONFIG_BLK_DEV_LVM is set to 'y'.

I'm using gcc version 2.95.4, running on Linux 2.4.9-ac10.

Any idea what's causing the problem?

Richard
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:15 EST