[linux-lvm] problem to compile lvm-1.0.1.rc4

Christoph Berger chberger at pool.informatik.rwth-aachen.de
Wed Oct 17 15:22:44 UTC 2001


Hello,
i've tried to compile a newer version of LVM.
I followed the instructions in INSTALL. After patching my kernel 2.4.10,
i tried to compile LVM, but i get the following error message:

:/usr/src/LVM/1.0.1-rc4 # make
make[1]: Entering directory `/usr/src/LVM/1.0.1-rc4/tools'
make[2]: Entering directory `/usr/src/LVM/1.0.1-rc4/tools/lib'
make[3]: Entering directory `/usr/src/LVM/1.0.1-rc4/tools/lib'
gcc -c -pipe -g -O2 -Wall -pg -DDEBUG -I../../tools/lib -I../../tools
-I/usr/src/LVM/1.0.1-rc4/tools/lib -o basename.o basename.c
In file included from basename.c:34:
../../tools/lib/liblvm.h:50: linux/autoconf.h: No such file or directory
make[3]: *** [basename.o] Error 1
make[3]: Leaving directory `/usr/src/LVM/1.0.1-rc4/tools/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/LVM/1.0.1-rc4/tools/lib'
make[2]: Entering directory `/usr/src/LVM/1.0.1-rc4/tools/man8'
make[3]: Entering directory `/usr/src/LVM/1.0.1-rc4/tools/man8'
make[3]: Leaving directory `/usr/src/LVM/1.0.1-rc4/tools/man8'
make[2]: Leaving directory `/usr/src/LVM/1.0.1-rc4/tools/man8'
make[2]: Entering directory `/usr/src/LVM/1.0.1-rc4/tools'
gcc -c -pipe -g -O2 -Wall -pg -DDEBUG -I../tools/lib -I../tools
-I/usr/src/LVM/1.0.1-rc4/tools/lib -o e2fsadm.o e2fsadm.c
In file included from ../tools/lvm_user.h:41,
                 from e2fsadm.c:53:
../tools/lib/liblvm.h:50: linux/autoconf.h: No such file or directory
make[2]: *** [e2fsadm.o] Error 1
make[2]: Leaving directory `/usr/src/LVM/1.0.1-rc4/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/LVM/1.0.1-rc4/tools'
make[1]: Entering directory `/usr/src/LVM/1.0.1-rc4'
/bin
**********************************
There were errors in your compile.
**********************************

make[1]: *** [.touchbuilt] Error 1
make[1]: Leaving directory `/usr/src/LVM/1.0.1-rc4'
make: *** [all] Error 2

i have configured LVM with "--with-kernel_dir=/usr/src/linux/".

Can anyone help me?
Thanks for all
Christoph





More information about the linux-lvm mailing list