Skip to contentSkip to conversation

2.5.1-pre8 doesn't compile w/ LVM support

DISCUSSION Richard Hoechenberger 2 participants 2 messages Dec 9, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Richard Hoechenberger

Any idea what's causing the problem?

Yes, it's the new block interface which LVM hasn't been converted to yet. It'll most likely be a while before LVM works in 2.5, so far noone has stepped up and taken an interest in fixing it.

Signature · 1 line
Jens Axboe