Skip to contentSkip to conversation

Problems compiling LVM2.2.01.09

linux-lvm Tim Hibbard 2 participants 3 messages Apr 5, 2005

lore
Share & tools
lore
#0 lore raw

I am trying to compile LVM2.2.01.09 and I am having problems. I have patched kernel-2.4.30 with device-mapper.1.00.21 support. I now have the kernel booted with device manager support.

When I type 'make install' on LVM2 I get the following errors:

gcc -E -P cmdnames.h 2> /dev/null | \
egrep -v '^ *(|#.*|dumpconfig|formats|help|pvdata|segtypes|version)
*$' > .commands
gcc -o lvm archiver.o dumpconfig.o formats.o lvchange.o lvcreate.o lvdisplay.o lvextend.o lvmchange.o lvmcmdline.o lvmdiskscan.o lvreduce.o lvremove.o lvrename.o lvresize.o lvscan.o polldaemon.o pvchange.o pvcreate.o pvdisplay.o pvmove.o pvremove.o pvscan.o reporter.o segtypes.o toollib.o vgcfgbackup.o vgcfgrestore.o vgchange.o vgck.o vgcreate.o vgconvert.o vgdisplay.o vgexport.o vgextend.o vgimport.o vgmerge.o vgmknodes.o vgreduce.o vgremove.o vgrename.o vgscan.o vgsplit.o lvm.o -Wl,--export-dynamic -L../lib -L/lib -llvm -ldevmapper -ldl -rdynamic ../lib/liblvm.a(dev_manager.o)(.text+0x2ab): In function `_info_run':
: undefined reference to dm_task_no_open_count' ../lib/liblvm.a(dev_manager.o)(.text+0x45e): In function _status_run':
: undefined reference to dm_task_no_open_count' ../lib/liblvm.a(dev_manager.o)(.text+0x75b): In function _percent_run':
: undefined reference to dm_task_no_open_count' ../lib/liblvm.a(dev_manager.o)(.text+0xcdd): In function _rename':
: undefined reference to dm_task_no_open_count' ../lib/liblvm.a(dev_manager.o)(.text+0xe79): In function _suspend_or_resume':
: undefined reference to dm_task_no_open_count' ../lib/liblvm.a(dev_manager.o)(.text+0x1163): more undefined references to dm_task_no_open_count' follow
collect2: ld returned 1 exit status
make[1]: *** [lvm] Error 1
make[1]: Leaving directory `/home/yibbiy/cluster/LVM2.2.01.09/tools'
make: *** [tools] Error 2

Any feedback is appreciated. Thanks in advance.

Tim Hibbard

Signature · 14 lines
Tim Hibbard
Database/Programmer for
Vice President Of Research
109C RTEC
Ohio University
Athens, Ohio 45701
740.593.0373

******** W A R N I N G ! **************************************
Linux should not be used by those under the influence of MicroSoft.
May cause dizziness or vertigo. Consult your tech support before
using Linux. (note--after using Linux, you may notice extreme
discomfort when using MicroSoft. Discontinue use of MicroSoft.)
************************************** W A R N I N G ! ********
#1 lore raw
Quoted 6 lines · Tim Hibbard

I am trying to compile LVM2.2.01.09 and I am having problems. I have patched kernel-2.4.30 with device-mapper.1.00.21 support. I now have the kernel booted with device manager support.

When I type 'make install' on LVM2 I get the following errors:

You need the latest libdevmapper 1.01.x

Signature · 1 line
patrick
#2 lore raw

That fixed the problem. Thanks.

Quoted 2 lines · Patrick Caulfield
Quoted 1 line · Tim Hibbard

I am trying to compile LVM2.2.01.09 and I am having problems. I have

patched

Quoted 19 lines
Quoted 5 lines

kernel-2.4.30 with device-mapper.1.00.21 support. I now have the kernel booted with device manager support.

When I type 'make install' on LVM2 I get the following errors:

You need the latest libdevmapper 1.01.x

Signature · 7 lines
patrick

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 14 lines
Tim Hibbard
Database/Programmer for
Vice President Of Research
109C RTEC
Ohio University
Athens, Ohio 45701
740.593.0373

******** W A R N I N G ! **************************************
Linux should not be used by those under the influence of MicroSoft.
May cause dizziness or vertigo. Consult your tech support before
using Linux. (note--after using Linux, you may notice extreme
discomfort when using MicroSoft. Discontinue use of MicroSoft.)
************************************** W A R N I N G ! ********