All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] building the binary utilities
@ 2000-03-06 22:22 Chris Campbell
  2000-03-06 22:59 ` Michael Marxmeier
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Campbell @ 2000-03-06 22:22 UTC (permalink / raw)
  To: linux-lvm

I got a patched kernel to compile ok, but now I have
problems building the binary lvm utilities.  There are
errors about not being about to find lvm.h and
liblvm.h.  I copied them to /usr/include, and then it
got farther but complained about gnu/types.h.  After
symlinking that, I got an error about lots of
redeclarations.  What's going on?  Thanks.



Chris

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] building the binary utilities
  2000-03-06 22:22 [linux-lvm] building the binary utilities Chris Campbell
@ 2000-03-06 22:59 ` Michael Marxmeier
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Marxmeier @ 2000-03-06 22:59 UTC (permalink / raw)
  To: Chris Campbell; +Cc: linux-lvm

Chris Campbell wrote:
> I got a patched kernel to compile ok, but now I have
> problems building the binary lvm utilities.  There are
> errors about not being about to find lvm.h and
> liblvm.h.  I copied them to /usr/include, and then it
> got farther but complained about gnu/types.h.  After
> symlinking that, I got an error about lots of
> redeclarations.  What's going on?  Thanks.

At least for glibc2.1 you need a patch for the user mode tools,
otherwise compile fails. Please install patch patch-lvm_0.8final-2

For a list of know issues please have a look at
http://linux.msede.com/lvm/doc/BUGS

Instead of copying lvm.h to /usr/include you should modify the
KERNEL_LOCATION in make.tmpl. By default it assumes your kernel 
sources in /usr/src/linux.


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] 5+ messages in thread

* Re: [linux-lvm] building the binary utilities
@ 2000-03-07 21:38 Chris Campbell
  2000-03-07 23:39 ` Jay Weber
  2000-03-08 11:00 ` Klaus Strebel
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Campbell @ 2000-03-07 21:38 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]

kernel location is what it should be, but I still get
all these errors.  I'm not sure what's going on, other
than it can't find the lvm and liblvm header files,
which are in a directory below the current one:



--- Michael Marxmeier <mike@msede.com> wrote:
> Chris Campbell wrote:
> > I got a patched kernel to compile ok, but now I
> have
> > problems building the binary lvm utilities.  There
> are
> > errors about not being about to find lvm.h and
> > liblvm.h.  I copied them to /usr/include, and then
> it
> > got farther but complained about gnu/types.h. 
> After
> > symlinking that, I got an error about lots of
> > redeclarations.  What's going on?  Thanks.
> 
> At least for glibc2.1 you need a patch for the user
> mode tools,
> otherwise compile fails. Please install patch
> patch-lvm_0.8final-2
> 
> For a list of know issues please have a look at
> http://linux.msede.com/lvm/doc/BUGS
> 
> Instead of copying lvm.h to /usr/include you should
> modify the
> KERNEL_LOCATION in make.tmpl. By default it assumes
> your kernel 
> sources in /usr/src/linux.

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

[-- Attachment #2: make-errors --]
[-- Type: application/x-unknown, Size: 16446 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] building the binary utilities
  2000-03-07 21:38 Chris Campbell
@ 2000-03-07 23:39 ` Jay Weber
  2000-03-08 11:00 ` Klaus Strebel
  1 sibling, 0 replies; 5+ messages in thread
From: Jay Weber @ 2000-03-07 23:39 UTC (permalink / raw)
  To: Chris Campbell; +Cc: linux-lvm

Make sure /usr/src/linux is a link to the proper kernel your
editing/configuring.  I had the same problem but it turned out my linux
link was pointing back to my 2.2.14 kernel, which I was actively hacking
on at the time. :)

On Tue, 7 Mar 2000, Chris Campbell wrote:

> kernel location is what it should be, but I still get
> all these errors.  I'm not sure what's going on, other
> than it can't find the lvm and liblvm header files,
> which are in a directory below the current one:
> 
> 
> 
> --- Michael Marxmeier <mike@msede.com> wrote:
> > Chris Campbell wrote:
> > > I got a patched kernel to compile ok, but now I
> > have
> > > problems building the binary lvm utilities.  There
> > are
> > > errors about not being about to find lvm.h and
> > > liblvm.h.  I copied them to /usr/include, and then
> > it
> > > got farther but complained about gnu/types.h. 
> > After
> > > symlinking that, I got an error about lots of
> > > redeclarations.  What's going on?  Thanks.
> > 
> > At least for glibc2.1 you need a patch for the user
> > mode tools,
> > otherwise compile fails. Please install patch
> > patch-lvm_0.8final-2
> > 
> > For a list of know issues please have a look at
> > http://linux.msede.com/lvm/doc/BUGS
> > 
> > Instead of copying lvm.h to /usr/include you should
> > modify the
> > KERNEL_LOCATION in make.tmpl. By default it assumes
> > your kernel 
> > sources in /usr/src/linux.
> 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] building the binary utilities
  2000-03-07 21:38 Chris Campbell
  2000-03-07 23:39 ` Jay Weber
@ 2000-03-08 11:00 ` Klaus Strebel
  1 sibling, 0 replies; 5+ messages in thread
From: Klaus Strebel @ 2000-03-08 11:00 UTC (permalink / raw)
  To: Chris Campbell; +Cc: linux-lvm

Chris Campbell wrote:
> 
> kernel location is what it should be, but I still get
> all these errors.  I'm not sure what's going on, other
> than it can't find the lvm and liblvm header files,
> which are in a directory below the current one:
Hi Chris,

the variable TOP in your '/root/lvmstuff/LVM/0.8final/make.tmpl' is set
to '/root/LVM/0.8final', as you could see in following snipped from your
make-errors file:

cc -c -pipe -Wall -O2 -DDEBUG -I/root/LVM/0.8final/tools/lib
-I/root/LVM/0.8fina
l/tools -o basename.o basename.c
cc -c -pipe -Wall -O2 -DDEBUG -I/root/LVM/0.8final/tools/lib
-I/root/LVM/0.8fina
l/tools -o debug.o debug.c
basename.c:34: liblvm.h: No such file or directory

the -I options in the gcc line are expanded from '-I$(TOP)/tools/lib
-I$(TOP)'. You should control your changes in config files at first when
your're searching for errors before you start symlinking around ;-).

Bye
Klaus

-- 
Klaus Strebel
stb@ep-ag.com
EIGNER + PARTNER AG   - The Engineering Warehouse Company -
<http://www.ep-ag.com>
-----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-03-08 11:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-06 22:22 [linux-lvm] building the binary utilities Chris Campbell
2000-03-06 22:59 ` Michael Marxmeier
  -- strict thread matches above, loose matches on Subject: below --
2000-03-07 21:38 Chris Campbell
2000-03-07 23:39 ` Jay Weber
2000-03-08 11:00 ` Klaus Strebel

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.