[linux-lvm] building the binary utilities
Michael Marxmeier
mike at msede.com
Mon Mar 6 22:59:44 UTC 2000
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 at msede.com Besenbruchstrasse 9
Phone : +49 202 2431440 42285 Wuppertal, Germany
Fax : +49 202 2431420 http://www.msede.com/
More information about the linux-lvm
mailing list