|

楼主 |
发表于 2009-11-13 18:53:51
|
显示全部楼层
错误如下
。。。。。
collect2: ld returned 1 exit status
make[1]: *** [dmsetup] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/lvm2-2.02.51-r2/work/LVM2.2.02.51/tools'
make: *** [tools.device-mapper] Error 2
* ERROR: sys-fs/lvm2-2.02.51-r2 failed:
* compile problem
*
* Call stack:
* ebuild.sh, line 55: Called src_compile
* environment, line 6028: Called die
* The specific snippet of code:
* emake || die "compile problem"
*
* If you need support, post the output of 'emerge --info =sys-fs/lvm2-2.02.51-r2',
* the complete build log and the output of 'emerge -pqv =sys-fs/lvm2-2.02.51-r2'.
* The complete build log is located at '/var/tmp/portage/sys-fs/lvm2-2.02.51-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/lvm2-2.02.51-r2/temp/environment'.
* S: '/var/tmp/portage/sys-fs/lvm2-2.02.51-r2/work/LVM2.2.02.51'
>>> Failed to emerge sys-fs/lvm2-2.02.51-r2, Log file:
>>> '/var/tmp/portage/sys-fs/lvm2-2.02.51-r2/temp/build.log'
* Messages for package sys-fs/lvm2-2.02.51-r2:
* Warning, we no longer overwrite /sbin/lvm and /sbin/dmsetup with
* their static versions. If you need the static binaries,
* you must append .static the filename!
* ERROR: sys-fs/lvm2-2.02.51-r2 failed:
* compile problem
*
* Call stack:
* ebuild.sh, line 55: Called src_compile
* environment, line 6028: Called die
* The specific snippet of code:
* emake || die "compile problem"
*
* If you need support, post the output of 'emerge --info =sys-fs/lvm2-2.02.51-r2',
* the complete build log and the output of 'emerge -pqv =sys-fs/lvm2-2.02.51-r2'.
* The complete build log is located at '/var/tmp/portage/sys-fs/lvm2-2.02.51-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/lvm2-2.02.51-r2/temp/environment'.
* S: '/var/tmp/portage/sys-fs/lvm2-2.02.51-r2/work/LVM2.2.02.51'
localhost ~ # emerge --info =sys-fs/lvm2-2.02.51-r2
Portage 2.1.7.4 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11-r0, 2.6.30-gentoo-r8 i686)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_E7400_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 12 Nov 2009 19:30:01 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4-r13, 2.5.2-r7, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.5.2-r2
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.archermind.com/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/profile/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.100.197/gentoo-portage"
USE="X acl avahi berkdb bzip2 cli cracklib crypt cups dbus dri fortran gdbm gnome gpm gtk hal iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
localhost ~ # emerge -pqv =sys-fs/lvm2-2.02.51-r2
[ebuild N ] sys-fs/lvm2-2.02.51-r2 USE="lvm1 readline static -clvm (-cman) (-selinux)" |
|