* [linux-lvm] Error compilng tools on RH7.3
@ 2002-04-26 4:58 Stephan Budach
2002-04-26 8:35 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 10+ messages in thread
From: Stephan Budach @ 2002-04-26 4:58 UTC (permalink / raw)
To: linux-lvm
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@jvm.de Internet: http://www.jvm.de
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [linux-lvm] Error compilng tools on RH7.3 2002-04-26 4:58 [linux-lvm] Error compilng tools on RH7.3 Stephan Budach @ 2002-04-26 8:35 ` Heinz J . Mauelshagen 2002-04-26 10:35 ` Stephan Budach 2002-04-26 16:26 ` Eric M. Hopper 0 siblings, 2 replies; 10+ messages in thread From: Heinz J . Mauelshagen @ 2002-04-26 8:35 UTC (permalink / raw) To: linux-lvm 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@jvm.de Internet: http://www.jvm.de > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@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@Sistina.com +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Error compilng tools on RH7.3 2002-04-26 8:35 ` Heinz J . Mauelshagen @ 2002-04-26 10:35 ` Stephan Budach 2002-04-26 13:19 ` Jeremy Katz 2002-04-26 16:26 ` Eric M. Hopper 1 sibling, 1 reply; 10+ messages in thread From: Stephan Budach @ 2002-04-26 10:35 UTC (permalink / raw) To: linux-lvm 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@jvm.de Internet: http://www.jvm.de >> >> >> _______________________________________________ >> linux-lvm mailing list >> linux-lvm@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@Sistina.com +49 2626 141200 > FAX 924446 > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > -=-=- > > _______________________________________________ > linux-lvm mailing list > linux-lvm@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@jvm.de Internet: http://www.jvm.de ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Error compilng tools on RH7.3 2002-04-26 10:35 ` Stephan Budach @ 2002-04-26 13:19 ` Jeremy Katz 2002-04-26 14:19 ` Stephan Budach 0 siblings, 1 reply; 10+ messages in thread From: Jeremy Katz @ 2002-04-26 13:19 UTC (permalink / raw) To: linux-lvm No, the problem is that the LVM user-space tools are trying to use kernel headers which should never be used from userland as they only contain information which is useful for inside the kernel. Keep in mind that /usr/include/linux does not always contain the same headers as the kernel being used, instead being the headers that glibc was compiled with. IIRC, nothing is actually needed from linux/autoconf.h, so the proper solution is that the file just shouldn't be included by liblvm.h Cheers, Jeremy On Fri, 2002-04-26 at 11:36, Stephan Budach wrote: > 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@jvm.de Internet: http://www.jvm.de > >> > >> > >> _______________________________________________ > >> linux-lvm mailing list > >> linux-lvm@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@Sistina.com +49 2626 141200 > > FAX 924446 > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > -=-=- > > > > _______________________________________________ > > linux-lvm mailing list > > linux-lvm@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@jvm.de Internet: http://www.jvm.de > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Error compilng tools on RH7.3 2002-04-26 13:19 ` Jeremy Katz @ 2002-04-26 14:19 ` Stephan Budach 2002-04-26 14:54 ` Jeremy Katz 0 siblings, 1 reply; 10+ messages in thread From: Stephan Budach @ 2002-04-26 14:19 UTC (permalink / raw) To: linux-lvm Yeah, that´s true, but note also that the provided autoconf.h in /usr/include/linux didn´t beared anything useful in it at all. Stephan Am Freitag den, 26. April 2002, um 20:19, schrieb Jeremy Katz: > No, the problem is that the LVM user-space tools are trying to use > kernel headers which should never be used from userland as they only > contain information which is useful for inside the kernel. > > Keep in mind that /usr/include/linux does not always contain the same > headers as the kernel being used, instead being the headers that glibc > was compiled with. > > IIRC, nothing is actually needed from linux/autoconf.h, so the proper > solution is that the file just shouldn't be included by liblvm.h > > Cheers, > > Jeremy > > On Fri, 2002-04-26 at 11:36, Stephan Budach wrote: >> 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@jvm.de Internet: http://www.jvm.de >>>> >>>> >>>> _______________________________________________ >>>> linux-lvm mailing list >>>> linux-lvm@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@Sistina.com +49 2626 141200 >>> FAX 924446 >>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >>> -= >>> -=-=- >>> >>> _______________________________________________ >>> linux-lvm mailing list >>> linux-lvm@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@jvm.de Internet: http://www.jvm.de >> >> >> _______________________________________________ >> linux-lvm mailing list >> linux-lvm@sistina.com >> http://lists.sistina.com/mailman/listinfo/linux-lvm >> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@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@jvm.de Internet: http://www.jvm.de ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Error compilng tools on RH7.3 2002-04-26 14:19 ` Stephan Budach @ 2002-04-26 14:54 ` Jeremy Katz 0 siblings, 0 replies; 10+ messages in thread From: Jeremy Katz @ 2002-04-26 14:54 UTC (permalink / raw) To: linux-lvm This is intentional. Userland apps should not be including these headers and any that do are broken, so the header has #error in it so that the broken apps can be found and fixed. Cheers, Jeremy On Fri, 2002-04-26 at 15:20, Stephan Budach wrote: > Yeah, that´s true, but note also that the provided autoconf.h in > /usr/include/linux didn´t beared anything useful in it at all. > > Stephan > > Am Freitag den, 26. April 2002, um 20:19, schrieb Jeremy Katz: > > > No, the problem is that the LVM user-space tools are trying to use > > kernel headers which should never be used from userland as they only > > contain information which is useful for inside the kernel. > > > > Keep in mind that /usr/include/linux does not always contain the same > > headers as the kernel being used, instead being the headers that glibc > > was compiled with. > > > > IIRC, nothing is actually needed from linux/autoconf.h, so the proper > > solution is that the file just shouldn't be included by liblvm.h > > > > Cheers, > > > > Jeremy > > > > On Fri, 2002-04-26 at 11:36, Stephan Budach wrote: > >> 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@jvm.de Internet: http://www.jvm.de > >>>> > >>>> > >>>> _______________________________________________ > >>>> linux-lvm mailing list > >>>> linux-lvm@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@Sistina.com +49 2626 141200 > >>> FAX 924446 > >>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > >>> -= > >>> -=-=- > >>> > >>> _______________________________________________ > >>> linux-lvm mailing list > >>> linux-lvm@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@jvm.de Internet: http://www.jvm.de > >> > >> > >> _______________________________________________ > >> linux-lvm mailing list > >> linux-lvm@sistina.com > >> http://lists.sistina.com/mailman/listinfo/linux-lvm > >> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html > > > > > > _______________________________________________ > > linux-lvm mailing list > > linux-lvm@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@jvm.de Internet: http://www.jvm.de > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Error compilng tools on RH7.3 2002-04-26 8:35 ` Heinz J . Mauelshagen 2002-04-26 10:35 ` Stephan Budach @ 2002-04-26 16:26 ` Eric M. Hopper 2002-04-26 16:52 ` Chad Walstrom 2002-05-13 8:51 ` Stephen C. Tweedie 1 sibling, 2 replies; 10+ messages in thread From: Eric M. Hopper @ 2002-04-26 16:26 UTC (permalink / raw) To: linux-lvm [-- Attachment #1: Type: text/plain, Size: 1143 bytes --] On Fri, Apr 26, 2002 at 03:34:34PM +0200, Heinz J . Mauelshagen wrote: > > 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. That answer is quite off-putting, and makes me seriously consider whether or not I want to use LVM on my RH systems. Frankly, the release versions of the 2.4 kernels have been so unstable, that I would not use any version _but_ the RH patched version. I'm not suggesting that Sistina, or even you personally, should support every patched kernel under the sun. But, I don't think you should imply that he's doing something terribly wrong and the RH kernels are somehow bad either. BTW, does anybody know which version of LVM made it into the RH 2.4.18-0.13 kernel? Have fun (if at all possible), -- "It does me no injury for my neighbor to say there are twenty gods or no God. It neither picks my pocket nor breaks my leg." --- Thomas Jefferson "Go to Heaven for the climate, Hell for the company." -- Mark Twain -- Eric Hopper (hopper@omnifarious.org http://www.omnifarious.org/~hopper) -- [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Error compilng tools on RH7.3 2002-04-26 16:26 ` Eric M. Hopper @ 2002-04-26 16:52 ` Chad Walstrom 2002-04-26 17:00 ` Tim 2002-05-13 8:51 ` Stephen C. Tweedie 1 sibling, 1 reply; 10+ messages in thread From: Chad Walstrom @ 2002-04-26 16:52 UTC (permalink / raw) To: linux-lvm [-- Attachment #1: Type: text/plain, Size: 1228 bytes --] On Fri, Apr 26, 2002 at 03:34:34PM +0200, Heinz J . Mauelshagen wrote: > you need to pick a vanialla kernel 2.4.18 source and patch the LVM > driver in. We don't support RH prepatched kernels. On Fri, Apr 26, 2002 at 04:27:37PM -0500, Eric M. Hopper wrote: > That answer is quite off-putting, and makes me seriously consider > whether or not I want to use LVM on my RH systems. That is not a bad consideration to make, honestly. Wait until the RH experts on the list have ported the the LVM changes to their heavily patched kernels. For good reason, Red Hat kernels go through some extensive customization for the benefit of the paying customer. LVM and Sistina can't very well keep up with all of the incompatibilities that this eclectic set of patches may introduce to the vanilla kernel. IMHO, Heinz made a perfectly reasonable and logical statement about the LVM Team's development policy. RH developers are responsible for "keeping up with the Jones'", not Sistina. I run a vanilla kernel w/o any patches and LVM performs just fine for my needs. -- Chad Walstrom <chewie@wookimus.net> | a.k.a. ^chewie http://www.wookimus.net/ | s.k.a. gunnarr [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Error compilng tools on RH7.3 2002-04-26 16:52 ` Chad Walstrom @ 2002-04-26 17:00 ` Tim 0 siblings, 0 replies; 10+ messages in thread From: Tim @ 2002-04-26 17:00 UTC (permalink / raw) To: linux-lvm > On Fri, Apr 26, 2002 at 04:27:37PM -0500, Eric M. Hopper wrote: > > That answer is quite off-putting, and makes me seriously consider > > whether or not I want to use LVM on my RH systems. > > I run a vanilla kernel w/o any patches and LVM performs just fine for my > needs. I run a patched (for Symbios 22910 dual-channel Ultra3LVD/SE drivers) 2.4.13 RedHat kernel with LVM patches as well. It works great. If I need support, I pay for it, and I have purchased exactly one hour from Heinz. It was well worth it. I do not expect Heinz and the Sistina guys, who do not work at Red Hat, to keep up with the patches and testing that the other company does. If you want Red Hat support, you can obtain it from Red Hat; if you want Sistina LVM (custom configurations) support, they request that you pay Sistina. That is not unreasonable. Someone has to pay the salaries! If you do not want to pay for support you need to be able to do it yourself, there is no such thing as a free lunch. -- "The Internet, of course, is more than a place to find pictures of people having sex with dogs." --Philip Elmer-Dewitt, Time Magazine, July 3, 1995 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] Error compilng tools on RH7.3 2002-04-26 16:26 ` Eric M. Hopper 2002-04-26 16:52 ` Chad Walstrom @ 2002-05-13 8:51 ` Stephen C. Tweedie 1 sibling, 0 replies; 10+ messages in thread From: Stephen C. Tweedie @ 2002-05-13 8:51 UTC (permalink / raw) To: linux-lvm; +Cc: Stephen Tweedie Hi, On Fri, Apr 26, 2002 at 04:27:37PM -0500, Eric M. Hopper wrote: > BTW, does anybody know which version of LVM made it into the RH > 2.4.18-0.13 kernel? Essentially LVM1 release 1.0.3. It's actually the mainline 2.4.18 code, patched with all of the relevant bug-fixes from the 1.0.3 release, plus a new implementation of the "pvmove" functionality as the existing LVM pvmove was hopelessly broken (in terms of deadlocking, corrupting data etc.) (The patches for the pvmove fix were posted here a couple of months ago.) Cheers, Stephen ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-05-13 8:51 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-04-26 4:58 [linux-lvm] Error compilng tools on RH7.3 Stephan Budach 2002-04-26 8:35 ` Heinz J . Mauelshagen 2002-04-26 10:35 ` Stephan Budach 2002-04-26 13:19 ` Jeremy Katz 2002-04-26 14:19 ` Stephan Budach 2002-04-26 14:54 ` Jeremy Katz 2002-04-26 16:26 ` Eric M. Hopper 2002-04-26 16:52 ` Chad Walstrom 2002-04-26 17:00 ` Tim 2002-05-13 8:51 ` Stephen C. Tweedie
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.