problem to compile lvm-1.0.1.rc4
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
use kgcc instead of gcc.
i have compile lvm-1.0.1.rc4 this afternoon with kgcc (the compilation failed with gcc 2.96)
ciao
-----Message d'origine-----
De : [email protected] [mailto:[email protected]]De la part de Christoph Berger
Envoy� : mercredi 17 octobre 2001 17:23
� : [email protected]
Objet : [linux-lvm] problem to compile lvm-1.0.1.rc4
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
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
Quoted 4 lines · Christoph Berger
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:
You need to configure the kernel for your machine - cd into /usr/src/linux and type "make menuconfig".
patrick
Quoted 3 lines · Raynaud frederic
use kgcc instead of gcc.
i have compile lvm-1.0.1.rc4 this afternoon with kgcc (the compilation failed with gcc 2.96)
Ugh. Let's qualify that statement. If you're using Red Hat, it would be wise to use their screwed up, renamed, earlier version of gcc called kgcc. gcc-2.96 wasn't stable when Red Hat packaged it and pushed it out to the world.
If you're using Debian stable/testing or any other sane distribution, just use the default gcc, which should be gcc-2.95.x.
Signature · 3 lines
Chad Walstrom <[email protected]> | a.k.a. ^chewie http://www.wookimus.net/ | s.k.a. gunnarr Key fingerprint = B4AB D627 9CBD 687E 7A31 1950 0CC7 0B18 206C 5AFD