[linux-lvm] lvm 0.9 kernel build problems
Patrick Swartz
pswartz at digitalrom.com
Wed Nov 29 15:05:32 UTC 2000
Hello,
Could someone give me some hints to why I get the following error when
trying to build my kernel with the lvm 0.9patches. This box started out as
a RH7.0 with all current RH updates, then installed the stock 2.4.0-test10
kernel with lvm built into the kernel. This build worked. I then applied
the two patches for 2.4.0-test10 and they applied cleanly. I normally build
kernels using the following approach -- make dep clean bzImage modules
modules_install, then take care of lilo. This error happens during the
bzImage stage.
lvm.c: In function `lvm_do_vg_extend':
lvm.c:2020: warning: implicit declaration of function
`lvm_do_create_proc_entry_
of_pv'
lvm.c: In function `lvm_do_create_proc_entry_of_lv':
lvm.c:3012: `pde' undeclared (first use in this function)
lvm.c:3012: (Each undeclared identifier is reported only once
lvm.c:3012: for each function it appears in.)
lvm.c: At top level:
lvm.c:3040: warning: type mismatch with previous implicit declaration
lvm.c:2020: warning: previous implicit declaration of
`lvm_do_create_proc_entry_
of_pv'
lvm.c:3040: warning: `lvm_do_create_proc_entry_of_pv' was previously
implicitly
declared to return `int'
lvm.c: In function `lvm_do_create_proc_entry_of_pv':
lvm.c:3046: `pde' undeclared (first use in this function)
lvm.c: At top level:
lvm.c:146: warning: `lvm_short_version' defined but not used
make[3]: *** [lvm.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.0-test10/drivers/md'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.0-test10/drivers/md'
make[1]: *** [_subdir_md] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.0-test10/drivers'
make: *** [_dir_drivers] Error 2
Thanks for your help,
Patrick Swartz
More information about the linux-lvm
mailing list