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

Stephan Budach stephan.budach at jvm.de
Fri Apr 26 10:35:02 UTC 2002


Oh well,

i have managed to get this running with RH. Simply link the provides 
autoconfig.h from /usr/src/linux-2.4.18/include/linux/autoconfig to 
/usr/include/linux and off we go.

Just tested with some pv/lv stuff and it worked great.

It´s´pretty easy to use and straightforward in its design.

Thanks,
Stephan

Am Freitag den, 26. April 2002, um 15:34, schrieb Heinz J . Mauelshagen:

>
> 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
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> -=-=-
>
> _______________________________________________
> 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
>
--
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