View previous topic :: View next topic |
Author |
Message |
Ignatius881 Tux's lil' helper
Joined: 04 Apr 2011 Posts: 96 Location: Oviedo
|
Posted: Tue Aug 07, 2012 8:04 pm Post subject: [SOLVED] Cannot compile amule due to crypto++ |
|
|
I'm trying to install amule. One of its dependencies is dev-libs/crypto++-5.6.1-r3. And when crypto++ is being compiled, this message error appears:
Code: | libtool: compile: x86_64-pc-linux-gnu-g++ -march=core2 -O1 -pipe -c randpool.cpp -fPIC -DPIC -o .libs/randpool.o
libtool: compile: x86_64-pc-linux-gnu-g++ -march=core2 -O1 -pipe -c randpool.cpp -o randpool.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-g++ -march=core2 -O1 -pipe -c esign.cpp -o esign.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-g++ -march=core2 -O1 -pipe -c dll.cpp -o dll.o >/dev/null 2>&1
libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -pthread -rpath /usr/lib64 -o libcrypto++.la sharkbox.lo base32.lo files.lo hex.lo gzip.lo fips140.lo mars.lo dh2.lo twofish.lo eprecomp.lo dsa.lo polynomi.lo winpipes.lo vmac.lo hrtimer.lo md2.lo fipstest.lo rc5.lo ccm.lo simple.lo queue.lo xtrcrypt.lo gf256.lo cmac.lo authenc.lo des.lo default.lo idea.lo gcm.lo squaretb.lo xtr.lo emsa2.lo sha.lo network.lo eax.lo tea.lo dessp.lo algparam.lo pch.lo crc.lo elgamal.lo mqueue.lo zlib.lo ecp.lo blowfish.lo marss.lo adler32.lo wait.lo iterhash.lo safer.lo wake.lo gf2n.lo rc2.lo cryptlib_bds.lo oaep.lo square.lo md4.lo ida.lo shark.lo seed.lo shacal2.lo eccrypto.lo ripemd.lo camellia.lo pubkey.lo trdlocal.lo salsa.lo seal.lo luc.lo ttmac.lo gf2_32.lo mqv.lo dh.lo bfinit.lo whrlpool.lo asn.lo rng.lo cast.lo tiger.lo channels.lo zinflate.lo pssr.lo misc.lo pkcspad.lo base64.lo zdeflate.lo basecode.lo algebra.lo blumshub.lo ec2n.lo casts.lo gfpcrypt.lo cryptlib.lo rijndael.lo strciphr.lo modes.lo panama.lo nbtheory.lo md5.lo hmac.lo socketft.lo gost.lo tigertab.lo cbcmac.lo tftables.lo rsa.lo rdtables.lo rw.lo 3way.lo rabin.lo filters.lo cpu.lo sosemanuk.lo integer.lo rc6.lo skipjack.lo osrng.lo arc4.lo dll.lo serpent.lo esign.lo randpool.lo -lpthread
libtool: link: x86_64-pc-linux-gnu-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o .libs/sharkbox.o .libs/base32.o .libs/files.o .libs/hex.o .libs/gzip.o .libs/fips140.o .libs/mars.o .libs/dh2.o .libs/twofish.o .libs/eprecomp.o .libs/dsa.o .libs/polynomi.o .libs/winpipes.o .libs/vmac.o .libs/hrtimer.o .libs/md2.o .libs/fipstest.o .libs/rc5.o .libs/ccm.o .libs/simple.o .libs/queue.o .libs/xtrcrypt.o .libs/gf256.o .libs/cmac.o .libs/authenc.o .libs/des.o .libs/default.o .libs/idea.o .libs/gcm.o .libs/squaretb.o .libs/xtr.o .libs/emsa2.o .libs/sha.o .libs/network.o .libs/eax.o .libs/tea.o .libs/dessp.o .libs/algparam.o .libs/pch.o .libs/crc.o .libs/elgamal.o .libs/mqueue.o .libs/zlib.o .libs/ecp.o .libs/blowfish.o .libs/marss.o .libs/adler32.o .libs/wait.o .libs/iterhash.o .libs/safer.o .libs/wake.o .libs/gf2n.o .libs/rc2.o .libs/cryptlib_bds.o .libs/oaep.o .libs/square.o .libs/md4.o .libs/ida.o .libs/shark.o .libs/seed.o .libs/shacal2.o .libs/eccrypto.o .libs/ripemd.o .libs/camellia.o .libs/pubkey.o .libs/trdlocal.o .libs/salsa.o .libs/seal.o .libs/luc.o .libs/ttmac.o .libs/gf2_32.o .libs/mqv.o .libs/dh.o .libs/bfinit.o .libs/whrlpool.o .libs/asn.o .libs/rng.o .libs/cast.o .libs/tiger.o .libs/channels.o .libs/zinflate.o .libs/pssr.o .libs/misc.o .libs/pkcspad.o .libs/base64.o .libs/zdeflate.o .libs/basecode.o .libs/algebra.o .libs/blumshub.o .libs/ec2n.o .libs/casts.o .libs/gfpcrypt.o .libs/cryptlib.o .libs/rijndael.o .libs/strciphr.o .libs/modes.o .libs/panama.o .libs/nbtheory.o .libs/md5.o .libs/hmac.o .libs/socketft.o .libs/gost.o .libs/tigertab.o .libs/cbcmac.o .libs/tftables.o .libs/rsa.o .libs/rdtables.o .libs/rw.o .libs/3way.o .libs/rabin.o .libs/filters.o .libs/cpu.o .libs/sosemanuk.o .libs/integer.o .libs/rc6.o .libs/skipjack.o .libs/osrng.o .libs/arc4.o .libs/dll.o .libs/serpent.o .libs/esign.o .libs/randpool.o -lpthread -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o -Wl,-O1 -Wl,--as-needed -pthread -pthread -Wl,-soname -Wl,libcrypto++.so.0 -o .libs/libcrypto++.so.0.0.0
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o: No such file or directory
make: *** [libcrypto++.la] Error 1
emake failed
* ERROR: dev-libs/crypto++-5.6.1-r3 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2268: Called die
* The specific snippet of code:
* emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LIBDIR="$(get_libdir)" || die "emake failed"
*
* If you need support, post the output of `emerge --info '=dev-libs/crypto++-5.6.1-r3'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/crypto++-5.6.1-r3'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/crypto++-5.6.1-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/crypto++-5.6.1-r3/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/crypto++-5.6.1-r3/work'
* S: '/var/tmp/portage/dev-libs/crypto++-5.6.1-r3/work' |
I've reemerged gcc and made a revdep-rebuild, and nothing.
Last edited by Ignatius881 on Mon Aug 20, 2012 7:30 am; edited 1 time in total |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Tue Aug 07, 2012 9:19 pm Post subject: |
|
|
something is wrong with your compiler.
emerge --info ; gcc-config -l please
could you check, if those files exist:
Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o |
_________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
Ignatius881 Tux's lil' helper
Joined: 04 Apr 2011 Posts: 96 Location: Oviedo
|
Posted: Tue Aug 07, 2012 10:02 pm Post subject: |
|
|
Code: | # emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo x86_64)
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.1
Timestamp of tree: Tue, 07 Aug 2012 11:15:01 +0000
app-shells/bash: 4.2_p37
dev-lang/python: 2.7.3-r2, 3.2.3-r1
dev-util/cmake: 2.8.8-r3
dev-util/pkgconfig: 0.27
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.10.5
sys-apps/sandbox: 2.6
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.2
sys-devel/binutils: 2.22.90
sys-devel/gcc: 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 googleearth skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/ ftp://de-mirror.org/gentoo/ http://de-mirror.org/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://mirror.opteamax.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.rnl.ist.utl.pt/pub/gentoo/gentoo-distfiles/ ftp://darkstar.ist.utl.pt/pub/gentoo/ http://darkstar.ist.utl.pt/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/gentoo-distfiles/ ftp://cesium.di.uminho.pt/pub/gentoo/ http://cesium.di.uminho.pt/pub/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/ http://gentoo-euetib.upc.es/mirror/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es_ES es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 audacious berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dirac dri dts dvd dvdr emboss encode exif fam firefox flac fortran gcc gdb gdbm gif gpm gtk iconv icu ipv6 jpeg lcms ldap libkms libnotify lock lua mad matroska minizip mmx mng modules mp3 mp4 mpd mpeg mudflap multilib nano-syntax ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support readline sdl session spell sse sse2 ssl startup-notification static-libs svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets wxwindows x264 xcb xine xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es_ES es" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON |
Code: | # gcc-config -l
[1] x86_64-pc-linux-gnu-4.6.3 * |
On /usr/lib/gcc/x86_64-pc-linux-gnu there is only a directory called 4.6.3. |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Tue Aug 07, 2012 10:31 pm Post subject: |
|
|
emerge dev-util/lafilefixer
then run fix_libtool_files.sh 4.5.3
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
Ignatius881 Tux's lil' helper
Joined: 04 Apr 2011 Posts: 96 Location: Oviedo
|
Posted: Tue Aug 07, 2012 10:53 pm Post subject: |
|
|
Veldrin wrote: | emerge dev-util/lafilefixer
then run fix_libtool_files.sh 4.5.3
V. |
It didn't work, the same error still appears |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Tue Aug 07, 2012 11:24 pm Post subject: |
|
|
output please. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
Ignatius881 Tux's lil' helper
Joined: 04 Apr 2011 Posts: 96 Location: Oviedo
|
Posted: Wed Aug 08, 2012 12:18 pm Post subject: |
|
|
Code: | libtool: link: x86_64-pc-linux-gnu-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o .libs/sharkbox.o .libs/base32.o .libs/files.o .libs/hex.o .libs/gzip.o .libs/fips140.o .libs/mars.o .libs/dh2.o .libs/twofish.o .libs/eprecomp.o .libs/dsa.o .libs/polynomi.o .libs/winpipes.o .libs/vmac.o .libs/hrtimer.o .libs/md2.o .libs/fipstest.o .libs/rc5.o .libs/ccm.o .libs/simple.o .libs/queue.o .libs/xtrcrypt.o .libs/gf256.o .libs/cmac.o .libs/authenc.o .libs/des.o .libs/default.o .libs/idea.o .libs/gcm.o .libs/squaretb.o .libs/xtr.o .libs/emsa2.o .libs/sha.o .libs/network.o .libs/eax.o .libs/tea.o .libs/dessp.o .libs/algparam.o .libs/pch.o .libs/crc.o .libs/elgamal.o .libs/mqueue.o .libs/zlib.o .libs/ecp.o .libs/blowfish.o .libs/marss.o .libs/adler32.o .libs/wait.o .libs/iterhash.o .libs/safer.o .libs/wake.o .libs/gf2n.o .libs/rc2.o .libs/cryptlib_bds.o .libs/oaep.o .libs/square.o .libs/md4.o .libs/ida.o .libs/shark.o .libs/seed.o .libs/shacal2.o .libs/eccrypto.o .libs/ripemd.o .libs/camellia.o .libs/pubkey.o .libs/trdlocal.o .libs/salsa.o .libs/seal.o .libs/luc.o .libs/ttmac.o .libs/gf2_32.o .libs/mqv.o .libs/dh.o .libs/bfinit.o .libs/whrlpool.o .libs/asn.o .libs/rng.o .libs/cast.o .libs/tiger.o .libs/channels.o .libs/zinflate.o .libs/pssr.o .libs/misc.o .libs/pkcspad.o .libs/base64.o .libs/zdeflate.o .libs/basecode.o .libs/algebra.o .libs/blumshub.o .libs/ec2n.o .libs/casts.o .libs/gfpcrypt.o .libs/cryptlib.o .libs/rijndael.o .libs/strciphr.o .libs/modes.o .libs/panama.o .libs/nbtheory.o .libs/md5.o .libs/hmac.o .libs/socketft.o .libs/gost.o .libs/tigertab.o .libs/cbcmac.o .libs/tftables.o .libs/rsa.o .libs/rdtables.o .libs/rw.o .libs/3way.o .libs/rabin.o .libs/filters.o .libs/cpu.o .libs/sosemanuk.o .libs/integer.o .libs/rc6.o .libs/skipjack.o .libs/osrng.o .libs/arc4.o .libs/dll.o .libs/serpent.o .libs/esign.o .libs/randpool.o -lpthread -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o -Wl,-O1 -Wl,--as-needed -pthread -pthread -Wl,-soname -Wl,libcrypto++.so.0 -o .libs/libcrypto++.so.0.0.0
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o: No such file or directory
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o: No such file or directory
make: *** [libcrypto++.la] Error 1
emake failed
* ERROR: dev-libs/crypto++-5.6.1-r3 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2268: Called die
* The specific snippet of code:
* emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LIBDIR="$(get_libdir)" || die "emake failed"
*
* If you need support, post the output of `emerge --info '=dev-libs/crypto++-5.6.1-r3'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/crypto++-5.6.1-r3'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/crypto++-5.6.1-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/crypto++-5.6.1-r3/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/crypto++-5.6.1-r3/work'
* S: '/var/tmp/portage/dev-libs/crypto++-5.6.1-r3/work' |
|
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Wed Aug 08, 2012 1:24 pm Post subject: |
|
|
what is the output of gcc -v? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Ignatius881 Tux's lil' helper
Joined: 04 Apr 2011 Posts: 96 Location: Oviedo
|
Posted: Wed Aug 08, 2012 5:46 pm Post subject: |
|
|
Code: | # gcc -v
Usando especificaciones internas.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
Objetivo: x86_64-pc-linux-gnu
Configurado con: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.5, pie-0.5.2'
Modelo de hilos: posix
gcc versión 4.6.3 (Gentoo 4.6.3 p1.5, pie-0.5.2) |
|
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Thu Aug 09, 2012 11:45 am Post subject: |
|
|
well something is wrong with your system.
try running gcc-config 1 and emerge the lib again _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Ignatius881 Tux's lil' helper
Joined: 04 Apr 2011 Posts: 96 Location: Oviedo
|
Posted: Thu Aug 09, 2012 12:47 pm Post subject: |
|
|
No, it doesn't work anyhow. The same error |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Thu Aug 09, 2012 2:10 pm Post subject: |
|
|
Ignatius881 wrote: | No, it doesn't work anyhow. The same error | it
seems that your system is broken somehow. what is the output of ?
can you post the full build log? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Ignatius881 Tux's lil' helper
Joined: 04 Apr 2011 Posts: 96 Location: Oviedo
|
Posted: Thu Aug 09, 2012 3:15 pm Post subject: |
|
|
Code: | # eix gcc
* dev-ada/asis-gcc
Available versions:
(3.4) (~)3.4.6
(4.1) (~)4.1.2 4.1.2-r1
(4.2) (~)4.2.2
(4.3) (~)4.3.0_pre132166 (~)4.3.1 (~)4.3.1-r1
(4.4) (~)4.4
{{doc nls}}
Homepage: https://libre.adacore.com/
Description: The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)
* dev-cpp/gccxml
Available versions: (~)0.9.0_pre20090516-r1 0.9.0_pre20120309
Homepage: http://www.gccxml.org/
Description: XML output extension to GCC
* dev-embedded/msp430-gcc
Available versions:
(4.6) [M](~)4.6.1_p20120224^s [M](~)4.6.2_p20120311^s [M](~)4.6.2_p20120330^s [M](~)4.6.3_p20120406^s
(4.7) [M]**4.7.0_p20120514^s
{{altivec bootstrap build cxx doc fixed-point fortran gcj go graphite gtk hardened libssp mudflap multilib multislot nls nocxx nptl objc objc++ objc-gc openmp test vanilla}}
Homepage: http://gcc.gnu.org/
Description: The GNU Compiler Collection for MSP430 microcontrollers
* dev-embedded/tigcc
Available versions: (~)0.95_p3 0.96_beta7^s (~)0.96_beta8^s {{doc}}
Homepage: http://tigcc.ticalc.org/
Description: Cross compiler for Texas Instruments TI-89, TI-92(+) and V200 calculators
* dev-java/relaxngcc
Available versions: 1.12 1.12-r1 {{doc elibc_FreeBSD examples source}}
Homepage: http://relaxngcc.sourceforge.net/
Description: RELAX NG Compiler Compiler
* dev-lang/gnat-gcc
Available versions:
(3.4) 3.4.6
(4.1) 4.1.2
(4.2) 4.2.3
(4.3) *4.3.2 ~*4.3.3 4.3.5 (~)4.3.6
(4.4) (~)4.4.3 (~)4.4.5
{{nls}}
Homepage: http://gcc.gnu.org/
Description: GNAT Ada Compiler - gcc version
* dev-util/colorgcc
Available versions: 1.3.2-r4 (~)1.3.2-r5
Homepage: http://schlueters.de/colorgcc.html
Description: Adds color to gcc output
[I] sys-devel/gcc
Available versions:
(2.95) *2.95.3-r9 ~*2.95.3-r10^s
(3.1) *3.1.1-r2
(3.2) **3.2.2^s *3.2.3-r4
(3.3) (~)3.3.6-r1^s
(3.4) 3.4.6-r2^s
(4.0) ~*4.0.4^s
(4.1) 4.1.2^s
(4.2) (~)4.2.4-r1^s
(4.3) (~)4.3.3-r2^s 4.3.4^s (~)4.3.5^s 4.3.6-r1^s
(4.4) (~)4.4.2^s (~)4.4.3-r3^s 4.4.4-r2^s 4.4.5^s 4.4.6-r1^s (~)4.4.7^s
(4.5) (~)4.5.1-r1^s (~)4.5.2^s 4.5.3-r2^s (~)4.5.4^s
(4.6) (~)4.6.0^s (~)4.6.1-r1^s (~)4.6.2^s (~)4.6.3^s
(4.7) [M]**4.7.0^s [M]**4.7.1^s
{{altivec bootstrap boundschecking build cxx d doc fixed-point fortran gcj go graphite gtk hardened ip28 ip32r10k java libssp lto mudflap multilib multislot n32 n64 nls nocxx nopie nossp nptl objc objc++ objc-gc openmp static test vanilla}}
Installed versions: 4.6.3(4.6)^s(21:29:26 07/08/12)(cxx fortran gtk mudflap multilib nls nptl openmp -altivec -bootstrap -build -doc -fixed-point -gcj -go -graphite -hardened -libssp -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla)
Homepage: http://gcc.gnu.org/
Description: The GNU Compiler Collection
* sys-devel/gcc-apple
Available versions:
(40) ~*4.0.1_p5493^s
(42) ~*4.2.1_p5664^s ~*4.2.1_p5666-r1^s
{{build +cxx fortran multislot nls nptl objc objc++ +openmp test vanilla}}
Homepage: http://gcc.gnu.org
Description: Apple branch of the GNU Compiler Collection, Developer Tools 4.0
[I] sys-devel/gcc-config
Available versions: 1.4.1-r1 (~)1.5-r1 1.5-r2 (~)1.5.1 (~)1.5.1-r1 1.6 (~)1.7 (~)1.7.1 (~)1.7.2 1.7.3
Installed versions: 1.7.3(22:36:15 06/08/12)
Homepage: http://git.overlays.gentoo.org/gitweb/?p=proj/gcc-config.git
Description: utility to manage compilers
* sys-devel/kgcc64
Available versions:
(3.4) *3.4.6^s
(4.1) *4.1.2^s
(4.2) *4.2.4^s
(4.3) *4.3.3^s ~*4.3.5^s
(4.4) *4.4.4^s *4.4.5^s ~*4.4.6^s
(4.5) *4.5.2^s *4.5.3^s
(4.6) ~*4.6.3^s
{{build multislot nls nptl test vanilla}}
Homepage: http://gcc.gnu.org/
Description: 64bit kernel compiler
* x11-misc/gccmakedep
Available versions: 1.0.2 1.0.2-r1 {{debug static-libs}}
Homepage: http://xorg.freedesktop.org/
Description: create dependencies in makefiles using 'gcc -M'
Found 12 matches. |
|
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Sat Aug 11, 2012 4:33 pm Post subject: |
|
|
full build log please _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
richliu n00b
Joined: 13 Aug 2012 Posts: 6
|
Posted: Mon Aug 13, 2012 6:20 am Post subject: |
|
|
DaggyStyle wrote: | full build log please |
I got the same error message like this, and tried to run fix_libtool_files.sh to fix the libtool issue.
I don't know how to upload log, but my Build.log can be downloaded from here
https://dl.dropbox.com/u/6241711/build.log |
|
Back to top |
|
|
richliu n00b
Joined: 13 Aug 2012 Posts: 6
|
Posted: Mon Aug 13, 2012 8:26 am Post subject: |
|
|
richliu wrote: | DaggyStyle wrote: | full build log please |
I got the same error message like this, and tried to run fix_libtool_files.sh to fix the libtool issue.
|
I just re-emerge libtool and this issue is solved . |
|
Back to top |
|
|
Ignatius881 Tux's lil' helper
Joined: 04 Apr 2011 Posts: 96 Location: Oviedo
|
Posted: Mon Aug 20, 2012 7:30 am Post subject: |
|
|
richliu wrote: | I just re-emerge libtool and this issue is solved . |
Thanks so much |
|
Back to top |
|
|
j-kidd Apprentice
Joined: 20 Feb 2003 Posts: 213
|
Posted: Tue Mar 05, 2013 3:11 am Post subject: |
|
|
Found this thread while half way reemerging libtool from random guess. Works for me |
|
Back to top |
|
|
NerdIII n00b
Joined: 10 Oct 2010 Posts: 12
|
Posted: Sat Jun 29, 2013 12:28 pm Post subject: |
|
|
Oh thanks for the OP! I ran into this yesterday and now I know how I hopefully get around it. |
|
Back to top |
|
|
rvalles Tux's lil' helper
Joined: 19 Feb 2003 Posts: 121
|
Posted: Mon Jul 08, 2013 2:44 am Post subject: |
|
|
Had same problem, had also tried fix_libtool_files.sh.
Remerging libtool fixed it for me too. |
|
Back to top |
|
|
scolpi n00b
Joined: 15 Jun 2009 Posts: 35
|
Posted: Sun Jul 14, 2013 8:45 am Post subject: |
|
|
reemrging libtool work for me too |
|
Back to top |
|
|
RAPHEAD Tux's lil' helper
Joined: 20 Jun 2003 Posts: 134 Location: Germany
|
Posted: Tue Sep 03, 2013 8:12 am Post subject: |
|
|
Helped me in a similar siutation, just do:
|
|
Back to top |
|
|
|