[linux-lvm] Error compilng tools on RH7.3

Heinz J . Mauelshagen mauelshagen at sistina.com
Fri Apr 26 08:35:02 UTC 2002


Stephan,

you need to pick a vanialla kernel 2.4.18 source and patch the LVM driver in.
We don't support RH prepatched kernels.

Regards,
Heinz    -- The LVM Guy --


On Fri, Apr 26, 2002 at 11:59:14AM +0200, Stephan Budach wrote:
> 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
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list