i686-pc-linux-gnu-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/usr/lib -llvm -ldevmapper -lreadline -ldl -lncurses -rdynamic i686-pc-linux-gnu-gcc -o lvm.static 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-static.o -static -Wl,--export-dynamic -L../lib -L/usr/lib -llvm -ldevmapper \ -lreadline -ldl -lncurses -rdynamic /usr/lib/libdevmapper.a(pool.o): In function `_align_chunk': pool.c:(.text+0x110): multiple definition of `_align_chunk' ../lib/liblvm.a(pool.o):pool.c:(.text+0x100): first defined here /usr/lib/libdevmapper.a(pool.o): In function `_new_chunk': pool.c:(.text+0x130): multiple definition of `_new_chunk' ../lib/liblvm.a(pool.o):pool.c:(.text+0x120): first defined here /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `_new_chunk' changed from 172 in ../lib/liblvm.a(pool.o) to 175 in /usr/lib/libdevmapper.a(pool.o) ../lib/liblvm.a(sharedlib.o): In function `load_shared_library': sharedlib.c:(.text+0x114): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libreadline.a(complete.o): In function `rl_username_completion_function': complete.c:(.text+0x1f11): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libreadline.a(tilde.o): In function `tilde_expand_word': tilde.c:(.text+0x1f3): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libreadline.a(shell.o): In function `sh_get_home_dir': shell.c:(.text+0x112): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libreadline.a(complete.o): In function `rl_username_completion_function': complete.c:(.text+0x1f03): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking complete.c:(.text+0x1fbe): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking collect2: ld returned 1 exit status make[1]: *** [lvm.static] Error 1 make[1]: Leaving directory `/var/tmp/portage/lvm2-2.01.09/work/LVM2.2.01.09/tools' make: *** [tools] Error 2 !!! ERROR: sys-fs/lvm2-2.01.09 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message.