Skip to contentSkip to conversation

lvm.c compilation errors with 2.5.1-pre2 and pre3

DISCUSSION Todd Roy 2 participants 2 messages Nov 29, 2001

lore
Share & tools
lore

Todd Roy

author
#0 lore raw

Hi all, I got these errors trying to
compile 2.5.1-pre2 and pre3:

make[3]: Entering directory `/usr/src/linux-2.5/drivers/md'
gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -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
lvm.c: In function `lvm_map':
lvm.c:1249: `BIO_HASHED' undeclared (first use in this function)
lvm.c:1249: (Each undeclared identifier is reported only once
lvm.c:1249: for each function it appears in.) make[3]: *** [lvm.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5/drivers/md'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5/drivers/md'
make[1]: *** [_subdir_md] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5/drivers'
make: *** [_dir_drivers] Error 2
[supermoby] /usr/src/linux-2.5
root $ more Makefile

Looks like BIO_HASHED was left in from somewhere... I can't find a definition for it anywhere.

-- todd --

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

#1 lore raw
Quoted 2 lines · Todd Roy

Hi all, I got these errors trying to
compile 2.5.1-pre2 and pre3:

LVM is currently not in a working state, even though you remove the BIO_HASHED bug test.

Signature · 1 line
Jens Axboe