[linux-lvm] Problems compiling LVM2.2.01.09

Tim Hibbard hibbard at ohio.edu
Tue Apr 5 14:55:15 UTC 2005


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


-- 
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 ! ********
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20050405/00ea8b3f/attachment.sig>


More information about the linux-lvm mailing list