[linux-lvm] Error compilng tools on RH7.3
Stephan Budach
stephan.budach at jvm.de
Fri Apr 26 04:58:01 UTC 2002
Hi List,
I wanted to try out the LVM with my new RH7.3, (okay, in fact its RH
7.2.93, but I don´t think that this is the problem). My linuy box is
running the 2.4.18-0.13 kernel. I was able to apply the patch lvm-1.0.3
and build the kernel.
Now, when I try to compile the tools I get the following errors:
make[1]: Wechsel in das Verzeichnis Verzeichnis
?/usr/local/src/LVM/1.0.3/tools/lib?
make[2]: Wechsel in das Verzeichnis Verzeichnis
?/usr/local/src/LVM/1.0.3/tools/lib?
gcc -c -pipe -g -O0 -Wall -DDEBUG -I../../tools/lib -I../../tools
-I/usr/local/src/LVM/1.0.3/tools/lib -o basename.o basename.c
In file included from ../../tools/lib/liblvm.h:59,
from basename.c:34:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included
in userspace
make[2]: *** [basename.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
?/usr/local/src/LVM/1.0.3/tools/lib?
make[1]: *** [all] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis
?/usr/local/src/LVM/1.0.3/tools/lib?
make[1]: Wechsel in das Verzeichnis Verzeichnis
?/usr/local/src/LVM/1.0.3/tools/man8?
make[2]: Wechsel in das Verzeichnis Verzeichnis
?/usr/local/src/LVM/1.0.3/tools/man8?
make[2]: Verlassen des Verzeichnisses Verzeichnis
?/usr/local/src/LVM/1.0.3/tools/man8?
make[1]: Verlassen des Verzeichnisses Verzeichnis
?/usr/local/src/LVM/1.0.3/tools/man8?
make[1]: Wechsel in das Verzeichnis Verzeichnis
?/usr/local/src/LVM/1.0.3/tools?
gcc -c -pipe -g -O0 -Wall -DDEBUG -I../tools/lib -I../tools
-I/usr/local/src/LVM/1.0.3/tools/lib -o e2fsadm.o e2fsadm.c
In file included from ../tools/lib/liblvm.h:59,
from ../tools/lvm_user.h:43,
from e2fsadm.c:55:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included
in userspace
make[1]: *** [e2fsadm.o] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
?/usr/local/src/LVM/1.0.3/tools?
make: *** [all] Fehler 2
Can anybody help me with this one?
Thanks,
Stephan
--
Stephan Budach
Jung von Matt/Services
Glashüttenstrasse 38 20357 Hamburg
Telefon: +49-40-4321-1353 Fax: +49-40-4321-1114
eMail: stephan.budach at jvm.de Internet: http://www.jvm.de
More information about the linux-lvm
mailing list