[linux-lvm] Problems compiling kernel 2.4.10 with LVM-1.0.1rc2 patch

Leandro Lucarella luca at lucarella.com.ar
Wed Sep 26 15:40:29 UTC 2001


Here's the error message:

make -C md modules
make[2]: Entering directory `/usr/src/linux-2.4.10/drivers/md'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.10/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  -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.10/include/linux/modversions.h   -c -o lvm.o lvm.c
lvm.c:2329: macro `min' used with too many (3) args
lvm.c:2343: macro `min' used with too many (3) args
lvm.c: In function `__extend_reduce':
lvm.c:2329: parse error before `;'
lvm.c:2329: `_y' undeclared (first use in this function)
lvm.c:2329: (Each undeclared identifier is reported only once
lvm.c:2329: for each function it appears in.)
lvm.c:2343: parse error before `;'
lvm.c:2280: warning: `end' might be used uninitialized in this function
lvm.c:2339: warning: `end' might be used uninitialized in this function
make[2]: *** [lvm.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.10/drivers/md'
make[1]: *** [_modsubdir_md] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.10/drivers'
make: *** [_mod_drivers] Error 2

Any ideas?

--
LUCA - Leandro Lucarella
------------------------
luca at lucarella.com.ar
http://www.luca.2y.net
LICQ UIN: 2847576
------------------------
Usando Debian GNU/Linux





More information about the linux-lvm mailing list