* [linux-lvm] problem to compile lvm-1.0.1.rc4
@ 2001-10-17 15:22 Christoph Berger
2001-10-17 15:27 ` Raynaud frederic
2001-10-17 15:43 ` Patrick Caulfield
0 siblings, 2 replies; 5+ messages in thread
From: Christoph Berger @ 2001-10-17 15:22 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [linux-lvm] problem to compile lvm-1.0.1.rc4
2001-10-17 15:22 [linux-lvm] problem to compile lvm-1.0.1.rc4 Christoph Berger
@ 2001-10-17 15:27 ` Raynaud frederic
2001-10-17 19:07 ` Chad C. Walstrom
2001-10-17 15:43 ` Patrick Caulfield
1 sibling, 1 reply; 5+ messages in thread
From: Raynaud frederic @ 2001-10-17 15:27 UTC (permalink / raw)
To: linux-lvm
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 : linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]De
la part de Christoph Berger
Envoy� : mercredi 17 octobre 2001 17:23
� : linux-lvm@sistina.com
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
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
______________________________________________________________________________
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] problem to compile lvm-1.0.1.rc4
2001-10-17 15:22 [linux-lvm] problem to compile lvm-1.0.1.rc4 Christoph Berger
2001-10-17 15:27 ` Raynaud frederic
@ 2001-10-17 15:43 ` Patrick Caulfield
1 sibling, 0 replies; 5+ messages in thread
From: Patrick Caulfield @ 2001-10-17 15:43 UTC (permalink / raw)
To: linux-lvm
On Wed, Oct 17, 2001 at 05:22:44PM +0200, Christoph Berger wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [linux-lvm] problem to compile lvm-1.0.1.rc4
@ 2001-10-17 16:04 Fought,Tom
0 siblings, 0 replies; 5+ messages in thread
From: Fought,Tom @ 2001-10-17 16:04 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
autoconf.h is in /usr/src/linux/include/linux
somehow your path to the source includes is inaccurate.
I have downloaded rc4... and followed all directions
with the only problem being the -O2 optimization switch
which needed to be changed to -O0. (thanks heinz). compiled
with gcc 2.96.
-----Original Message-----
From: Raynaud frederic [mailto:raynaud.f@ifrance.com]
Sent: Wednesday, October 17, 2001 11:28 AM
To: linux-lvm@sistina.com
Subject: RE: [linux-lvm] problem to compile lvm-1.0.1.rc4
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 : linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]De
la part de Christoph Berger
Envoyé : mercredi 17 octobre 2001 17:23
À : linux-lvm@sistina.com
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
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
____________________________________________________________________________
__
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
_______________________________________________
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] 5+ messages in thread
* Re: [linux-lvm] problem to compile lvm-1.0.1.rc4
2001-10-17 15:27 ` Raynaud frederic
@ 2001-10-17 19:07 ` Chad C. Walstrom
0 siblings, 0 replies; 5+ messages in thread
From: Chad C. Walstrom @ 2001-10-17 19:07 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 777 bytes --]
On Wed, Oct 17, 2001 at 05:27:48PM +0200, Raynaud frederic wrote:
> 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.
--
Chad Walstrom <chewie@wookimus.net> | a.k.a. ^chewie
http://www.wookimus.net/ | s.k.a. gunnarr
Key fingerprint = B4AB D627 9CBD 687E 7A31 1950 0CC7 0B18 206C 5AFD
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-10-17 19:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-17 15:22 [linux-lvm] problem to compile lvm-1.0.1.rc4 Christoph Berger
2001-10-17 15:27 ` Raynaud frederic
2001-10-17 19:07 ` Chad C. Walstrom
2001-10-17 15:43 ` Patrick Caulfield
-- strict thread matches above, loose matches on Subject: below --
2001-10-17 16:04 Fought,Tom
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.