Skip to content

Instantly share code, notes, and snippets.

@cosmo0920
Created October 31, 2011 18:26
Show Gist options
  • Save cosmo0920/1328349 to your computer and use it in GitHub Desktop.
Save cosmo0920/1328349 to your computer and use it in GitHub Desktop.
scanelfを入れるために
$emerge app-misc/pax-utils
すると以下のエラー:
 * Package: app-misc/pax-utils-0.2.1
 * Repository: gentoo_prefix
 * Maintainer: solar@gentoo.org vapier@gentoo.org
 * USE: elibc_glibc kernel_linux prefix userland_GNU x86
 * FEATURES: preserve-libs
>>> Unpacking source...
>>> Unpacking pax-utils-0.2.1.tar.bz2 to /home/cosmo/Gentoo/var/tmp/portage/app-misc/pax-utils-0.2.1/work
>>> Source unpacked in /home/cosmo/Gentoo/var/tmp/portage/app-misc/pax-utils-0.2.1/work
>>> Compiling source in /home/cosmo/Gentoo/var/tmp/portage/app-misc/pax-utils-0.2.1/work/pax-utils-0.2.1 ...
make CC=i686-pc-linux-gnu-gcc LIBS= USE_CAP=
i686-pc-linux-gnu-gcc -O2 -pipe -march=nocona -D_GNU_SOURCE -DVERSION="0.2.1" -o paxelf.o -c paxelf.c
i686-pc-linux-gnu-gcc -O2 -pipe -march=nocona -D_GNU_SOURCE -DVERSION="0.2.1" -o paxmacho.o -c paxmacho.c
i686-pc-linux-gnu-gcc -O2 -pipe -march=nocona -D_GNU_SOURCE -DVERSION="0.2.1" -o paxinc.o -c paxinc.c
i686-pc-linux-gnu-gcc -O2 -pipe -march=nocona -D_GNU_SOURCE -DVERSION="0.2.1" -o xfuncs.o -c xfuncs.c
i686-pc-linux-gnu-gcc -O2 -pipe -march=nocona -D_GNU_SOURCE -DVERSION="0.2.1" -o scanelf.o -c scanelf.c
i686-pc-linux-gnu-gcc -O2 -pipe -march=nocona -D_GNU_SOURCE -DVERSION="0.2.1" -o dumpelf.o -c dumpelf.c
i686-pc-linux-gnu-gcc -O2 -pipe -march=nocona -D_GNU_SOURCE -DVERSION="0.2.1" -o pspax.o -c pspax.c
i686-pc-linux-gnu-gcc -O2 -pipe -march=nocona -D_GNU_SOURCE -DVERSION="0.2.1" -o scanmacho.o -c scanmacho.c
i686-pc-linux-gnu-gcc -O2 -pipe -march=nocona -Wl,-O1 paxelf.o paxinc.o xfuncs.o scanelf.o -o scanelf
/home/cosmo/Gentoo/usr/i686-pc-linux-gnu/gcc-bin/4.5.3/../../../lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld はステータス 1 で終了しました
make: *** [scanelf] エラー 1
emake failed
* ERROR: app-misc/pax-utils-0.2.1 failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 98: Called call-ebuildshell 'src_compile'
* environment, line 461: Called src_compile
* environment, line 2620: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" LIBS="${libs}" USE_CAP=$(use caps && echo yes) || die
*
* If you need support, post the output of 'emerge --info =app-misc/pax-utils-0.2.1',
* the complete build log and the output of 'emerge -pqv =app-misc/pax-utils-0.2.1'.
* The complete build log is located at '/home/cosmo/Gentoo/var/tmp/portage/app-misc/pax-utils-0.2.1/temp/build.log'.
* The ebuild environment file is located at '/home/cosmo/Gentoo/var/tmp/portage/app-misc/pax-utils-0.2.1/temp/environment'.
* S: '/home/cosmo/Gentoo/var/tmp/portage/app-misc/pax-utils-0.2.1/work/pax-utils-0.2.1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment