* [linux-lvm] tools make error?
@ 2000-03-20 8:49 Michael Bartosh
2000-03-20 9:20 ` Michael Marxmeier
0 siblings, 1 reply; 6+ messages in thread
From: Michael Bartosh @ 2000-03-20 8:49 UTC (permalink / raw)
To: linux-lvm
I have 0.8final compiled (w/ patch) into kernel, but am getting the
following when I try to make the new tools. What's up?
make[2]: Entering directory `/root/LVM/0.8final/tools'
cc -c -pipe -Wall -O2 -DDEBUG -I/root/LVM/0.8final/tools/lib
-I/root/LVM/0.8final/tools -o e2fsadm.o e2fsadm.c
In file included from /root/LVM/0.8final/tools/lvm_user.h:44,
from e2fsadm.c:45:
/root/LVM/0.8final/tools/lib/liblvm.h:50: gnu/types.h: No such file or
directory
e2fsadm.c: In function `main':
e2fsadm.c:127: warning: implicit declaration of function `basename'
e2fsadm.c:127: warning: assignment makes pointer from integer without a
cast
make[2]: *** [e2fsadm.o] Error 1
make[2]: Leaving directory `/root/LVM/0.8final/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/LVM/0.8final/tools'
make: *** [all] Error 2
______________
Thanks-
-mab
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [linux-lvm] tools make error?
2000-03-20 8:49 [linux-lvm] tools make error? Michael Bartosh
@ 2000-03-20 9:20 ` Michael Marxmeier
2000-03-20 16:05 ` Michael Bartosh
0 siblings, 1 reply; 6+ messages in thread
From: Michael Marxmeier @ 2000-03-20 9:20 UTC (permalink / raw)
To: bartosh; +Cc: linux-lvm
> I have 0.8final compiled (w/ patch) into kernel, but am getting the
> following when I try to make the new tools. What's up?
Known problem.
You need to apply patch
patch-lvm_0.8final-2 - patch against LVM 0.8final user mode tools
For more inormation please refer to
ftp://linux.msede.com/lvm/v0.8final/BUGS
Hope this helps
Michael
--
Michael Marxmeier Marxmeier Software AG
E-Mail: mike@msede.com Besenbruchstrasse 9
Phone : +49 202 2431440 42285 Wuppertal, Germany
Fax : +49 202 2431420 http://www.msede.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] tools make error?
2000-03-20 9:20 ` Michael Marxmeier
@ 2000-03-20 16:05 ` Michael Bartosh
2000-03-20 16:20 ` Heinz Mauelshagen
2000-03-20 16:42 ` Michael Marxmeier
0 siblings, 2 replies; 6+ messages in thread
From: Michael Bartosh @ 2000-03-20 16:05 UTC (permalink / raw)
To: Michael Marxmeier; +Cc: linux-lvm
On Mon, 20 Mar 2000, Michael Marxmeier wrote:
> > I have 0.8final compiled (w/ patch) into kernel, but am getting the
> > following when I try to make the new tools. What's up?
>
> Known problem.
>
> You need to apply patch
> patch-lvm_0.8final-2 - patch against LVM 0.8final user mode tools
Cool! Patch applied correctly. Still getting a different err though (see
below)
Thanks for your help!
-mab
err:
cc -c -pipe -Wall -O2 -D_GNU_SOURCE -DDEBUG -I/root/LVM/0.8final/tools/lib
-I/root/LVM/0.8final/tools -o e2fsadm.o e2fsadm.c
In file included from /root/LVM/0.8final/tools/lvm_user.h:44,
from e2fsadm.c:45:
/root/LVM/0.8final/tools/lib/liblvm.h:50: gnu/types.h: No such file or
directory
make[2]: *** [e2fsadm.o] Error 1
make[2]: Leaving directory `/LVM/0.8final/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/LVM/0.8final/tools'
make: *** [all] Error 2
root@heretic:/LVM/0.8final >
>
> For more inormation please refer to
> ftp://linux.msede.com/lvm/v0.8final/BUGS
>
>
> Hope this helps
> Michael
>
> --
> Michael Marxmeier Marxmeier Software AG
> E-Mail: mike@msede.com Besenbruchstrasse 9
> Phone : +49 202 2431440 42285 Wuppertal, Germany
> Fax : +49 202 2431420 http://www.msede.com/
>
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [linux-lvm] tools make error?
2000-03-20 16:05 ` Michael Bartosh
@ 2000-03-20 16:20 ` Heinz Mauelshagen
2000-03-20 16:42 ` Michael Marxmeier
1 sibling, 0 replies; 6+ messages in thread
From: Heinz Mauelshagen @ 2000-03-20 16:20 UTC (permalink / raw)
To: Michael Bartosh; +Cc: mge, linux-lvm
>
>
> On Mon, 20 Mar 2000, Michael Marxmeier wrote:
>
> > > I have 0.8final compiled (w/ patch) into kernel, but am getting the
> > > following when I try to make the new tools. What's up?
> >
> > Known problem.
> >
> > You need to apply patch
> > patch-lvm_0.8final-2 - patch against LVM 0.8final user mode tools
>
>
> Cool! Patch applied correctly. Still getting a different err though (see
> below)
>
> Thanks for your help!
>
> -mab
>
> err:
>
> cc -c -pipe -Wall -O2 -D_GNU_SOURCE -DDEBUG -I/root/LVM/0.8final/tools/lib
> -I/root/LVM/0.8final/tools -o e2fsadm.o e2fsadm.c
> In file included from /root/LVM/0.8final/tools/lvm_user.h:44,
> from e2fsadm.c:45:
> /root/LVM/0.8final/tools/lib/liblvm.h:50: gnu/types.h: No such file or
> directory
This is a GLIBC 2.0/2.1 related problem.
Please change "gnu/types.h" to "linux/types.h" and retry.
Heinz
> make[2]: *** [e2fsadm.o] Error 1
> make[2]: Leaving directory `/LVM/0.8final/tools'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/LVM/0.8final/tools'
> make: *** [all] Error 2
> root@heretic:/LVM/0.8final >
>
> >
> > For more inormation please refer to
> > ftp://linux.msede.com/lvm/v0.8final/BUGS
> >
> >
> > Hope this helps
> > Michael
> >
> > --
> > Michael Marxmeier Marxmeier Software AG
> > E-Mail: mike@msede.com Besenbruchstrasse 9
> > Phone : +49 202 2431440 42285 Wuppertal, Germany
> > Fax : +49 202 2431420 http://www.msede.com/
> >
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Systemmanagement CS-TS T-Nova
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41
64205 Darmstadt
mge@EZ-Darmstadt.Telekom.de Germany
+49 6151 886-425
FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [linux-lvm] tools make error?
2000-03-20 16:05 ` Michael Bartosh
2000-03-20 16:20 ` Heinz Mauelshagen
@ 2000-03-20 16:42 ` Michael Marxmeier
2000-03-20 16:53 ` Michael Bartosh
1 sibling, 1 reply; 6+ messages in thread
From: Michael Marxmeier @ 2000-03-20 16:42 UTC (permalink / raw)
To: bartosh; +Cc: mike, linux-lvm
> On Mon, 20 Mar 2000, Michael Marxmeier wrote:
> > > I have 0.8final compiled (w/ patch) into kernel, but am getting the
> > > following when I try to make the new tools. What's up?
> >
> > Known problem.
> >
> > You need to apply patch
> > patch-lvm_0.8final-2 - patch against LVM 0.8final user mode tools
>
> Cool! Patch applied correctly. Still getting a different err though (see
> below)
> ...
> In file included from /root/LVM/0.8final/tools/lvm_user.h:44,
> from e2fsadm.c:45:
> /root/LVM/0.8final/tools/lib/liblvm.h:50: gnu/types.h: No such file or
Did you apply the patch correctly?
It should replace gnu/types.h with sys/types.h in lib/liblvm.h.
I just check the patch and it looks correct.
--- 0.8final/tools/lib/liblvm.h.orig Tue Feb 22 03:51:00 2000
+++ 0.8final/tools/lib/liblvm.h Tue Feb 22 03:54:36 2000
@@ -47,7 +47,7 @@
# include <linux/version.h>
#endif
-#include <gnu/types.h>
+#include <sys/types.h>
#include <sys/stat.h>
Michael
--
Michael Marxmeier Marxmeier Software AG
E-Mail: mike@msede.com Besenbruchstrasse 9
Phone : +49 202 2431440 42285 Wuppertal, Germany
Fax : +49 202 2431420 http://www.msede.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] tools make error?
2000-03-20 16:42 ` Michael Marxmeier
@ 2000-03-20 16:53 ` Michael Bartosh
0 siblings, 0 replies; 6+ messages in thread
From: Michael Bartosh @ 2000-03-20 16:53 UTC (permalink / raw)
To: Michael Marxmeier; +Cc: linux-lvm
I thought I applied the patch correctly.
cp'd it to the LVM dir and did a 'cat filename | patch -p0'
Anyway made the other change to liblvm.h and all tools compiled and worked
:-)
On Mon, 20 Mar 2000, Michael Marxmeier wrote:
> > On Mon, 20 Mar 2000, Michael Marxmeier wrote:
> > > > I have 0.8final compiled (w/ patch) into kernel, but am getting the
> > > > following when I try to make the new tools. What's up?
> > >
> > > Known problem.
> > >
> > > You need to apply patch
> > > patch-lvm_0.8final-2 - patch against LVM 0.8final user mode tools
> >
> > Cool! Patch applied correctly. Still getting a different err though (see
> > below)
> > ...
> > In file included from /root/LVM/0.8final/tools/lvm_user.h:44,
> > from e2fsadm.c:45:
> > /root/LVM/0.8final/tools/lib/liblvm.h:50: gnu/types.h: No such file or
>
> Did you apply the patch correctly?
> It should replace gnu/types.h with sys/types.h in lib/liblvm.h.
>
> I just check the patch and it looks correct.
>
> --- 0.8final/tools/lib/liblvm.h.orig Tue Feb 22 03:51:00 2000
> +++ 0.8final/tools/lib/liblvm.h Tue Feb 22 03:54:36 2000
> @@ -47,7 +47,7 @@
> # include <linux/version.h>
> #endif
>
> -#include <gnu/types.h>
> +#include <sys/types.h>
>
> #include <sys/stat.h>
>
>
> Michael
>
> --
> Michael Marxmeier Marxmeier Software AG
> E-Mail: mike@msede.com Besenbruchstrasse 9
> Phone : +49 202 2431440 42285 Wuppertal, Germany
> Fax : +49 202 2431420 http://www.msede.com/
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-03-20 16:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-20 8:49 [linux-lvm] tools make error? Michael Bartosh
2000-03-20 9:20 ` Michael Marxmeier
2000-03-20 16:05 ` Michael Bartosh
2000-03-20 16:20 ` Heinz Mauelshagen
2000-03-20 16:42 ` Michael Marxmeier
2000-03-20 16:53 ` Michael Bartosh
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.