Skip to contentSkip to conversation

building the binary utilities

linux-lvm Chris Campbell 2 participants 2 messages Mar 6, 2000

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · Chris Campbell

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

Signature · 4 lines
Michael Marxmeier           Marxmeier Software AG
E-Mail: [email protected]      Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.msede.com/