[linux-lvm] Compile errors : 2.2.21-rc4 and 1.0.5

Patrick Caulfield caulfield at sistina.com
Wed Jul 17 07:08:01 UTC 2002


On Wed, Jul 17, 2002 at 11:53:03AM +0200, Adrian Phillips wrote:
> 
> 2.2.20 + patch-2.2.21-rc4 + reiserfs patches + rawio + ide-2.2.20 patch
> 
> gives :-
> 
> cc -D__KERNEL__ -I/usr/local/cfengine/linux/kernel/build/src/linux-2.2.20/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS -include /usr/local/cfengine/linux/kernel/build/src/linux-2.2.20/include/linux/modversions.h   -c -o lvm.o lvm.c
> lvm.c: In function `lvm_blk_ioctl':
> lvm.c:1015: `BLKPG' undeclared (first use in this function)
> lvm.c:1015: (Each undeclared identifier is reported only once
> lvm.c:1015: for each function it appears in.)
> lvm.c:1018: `BLKBSZGET' undeclared (first use in this function)
> lvm.c:1019: `BLKBSZSET' undeclared (first use in this function)
> lvm.c:1020: warning: implicit declaration of function `blk_ioctl'
> {standard input}: Assembler messages:
> {standard input}:9: Warning: ignoring changed section attributes for .modinfo
> make[3]: *** [lvm.o] Error 1
> 

Looks like 1.0.5 is not supported on 2.2 kernels. 1.0.4 should be OK

patrick





More information about the linux-lvm mailing list