1 |
I can't get the package net-libs/gnutls-2.10.5 to emerge because of a |
2 |
c++ linker error. What can I do to fix this? |
3 |
|
4 |
# MAKEOPTS="-j1" FEATURES="-ccache" ebuild $(equery which |
5 |
net-libs/gnutls-2.10.5) merge |
6 |
... |
7 |
make[4]: Entering directory |
8 |
`/var/tmp/portage/net-libs/gnutls-2.10.5/work/gnutls-2.10.5/doc/examples' |
9 |
/bin/sh ../../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++ |
10 |
-march=pentium3 -mtune=pentium3 -m32 -Os -fmessage-length=0 -pipe |
11 |
-fno-implicit-templates -no-install -Wl,-O1 -Wl,--as-needed -o ex-cxx |
12 |
ex-cxx.o libexamples.la ../../lib/libgnutls.la |
13 |
../../libextra/libgnutls-extra.la ../../gl/libgnu.la |
14 |
../../lib/libgnutlsxx.la |
15 |
|
16 |
libtool: link: i686-pc-linux-gnu-g++ -march=pentium3 -mtune=pentium3 |
17 |
-m32 -Os -fmessage-length=0 -pipe -fno-implicit-templates -Wl,-O1 -o |
18 |
ex-cxx ex-cxx.o -Wl,--as-needed ./.libs/libexamples.a |
19 |
../../lib/.libs/libgnutls.so -L/usr/lib |
20 |
../../libextra/.libs/libgnutls-extra.so ../../gl/.libs/libgnu.a |
21 |
../../lib/.libs/libgnutlsxx.so |
22 |
/var/tmp/portage/net-libs/gnutls-2.10.5/work/gnutls-2.10.5/lib/.libs/libgnutls.so |
23 |
-ltasn1 -lz /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -Wl,-rpath |
24 |
-Wl,/var/tmp/portage/net-libs/gnutls-2.10.5/work/gnutls-2.10.5/lib/.libs |
25 |
-Wl,-rpath -Wl,/var/tmp/portage/net-libs/gnutls-2.10.5/work/gnutls-2.10.5/libextra/.libs |
26 |
|
27 |
../../lib/.libs/libgnutlsxx.so: undefined reference to |
28 |
`std::vector<gnutls_datum_t, std::allocator<gnutls_datum_t> |
29 |
>::_M_insert_aux(__gnu_cxx::__normal_iterator<gnutls_datum_t*, |
30 |
std::vector<gnutls_datum_t, std::allocator<gnutls_datum_t> > >, |
31 |
gnutls_datum_t const&)' |
32 |
|
33 |
collect2: ld returned 1 exit status |
34 |
|
35 |
... |
36 |
|
37 |
# emerge --info =net-libs/gnutls-2.10.5 |
38 |
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.12.2-r0, |
39 |
2.6.32-35-generic i686) |
40 |
================================================================= |
41 |
System Settings |
42 |
================================================================= |
43 |
System uname: Linux-2.6.32-35-generic-i686-Intel-R-_Atom-TM-_CPU_N280_@_1.66GHz-with-gentoo-2.0.3 |
44 |
Timestamp of tree: Sat, 12 Nov 2011 23:30:01 +0000 |
45 |
ccache version 2.4 [enabled] |
46 |
app-shells/bash: 4.1_p9 |
47 |
dev-lang/python: 2.6.6-r1, 2.7.2-r3, 3.1.4-r3 |
48 |
dev-util/ccache: 2.4-r9 |
49 |
dev-util/cmake: 2.8.4-r1 |
50 |
dev-util/pkgconfig: 0.26 |
51 |
sys-apps/baselayout: 2.0.3 |
52 |
sys-apps/openrc: 0.8.3-r1 |
53 |
sys-apps/sandbox: 2.4 |
54 |
sys-devel/autoconf: 2.68 |
55 |
sys-devel/automake: 1.11.1 |
56 |
sys-devel/binutils: 2.20.1-r1 |
57 |
sys-devel/gcc: 4.4.4-r2, 4.5.3-r1 |
58 |
sys-devel/gcc-config: 1.4.1-r1 |
59 |
sys-devel/libtool: 2.4-r1 |
60 |
sys-devel/make: 3.82-r1 |
61 |
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) |
62 |
sys-libs/glibc: 2.12.2 |
63 |
Repositories: gentoo enlightenment |
64 |
ACCEPT_KEYWORDS="x86" |
65 |
ACCEPT_LICENSE="* -@EULA" |
66 |
CBUILD="i686-pc-linux-gnu" |
67 |
CFLAGS="-march=pentium3 -mtune=pentium3 -m32 -Os -fmessage-length=0 -pipe" |
68 |
CHOST="i686-pc-linux-gnu" |
69 |
CONFIG_PROTECT="/etc" |
70 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d |
71 |
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release |
72 |
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo |
73 |
/etc/texmf/language.dat.d /etc/texmf/language.def.d |
74 |
/etc/texmf/updmap.d /etc/texmf/web2c" |
75 |
CXXFLAGS="-march=pentium3 -mtune=pentium3 -m32 -Os -fmessage-length=0 |
76 |
-pipe -fno-implicit-templates" |
77 |
DISTDIR="/usr/portage/distfiles" |
78 |
FEATURES="assume-digests binpkg-logs ccache collision-protect |
79 |
distlocks ebuild-locks fakeroot fixlafiles fixpackages news |
80 |
parallel-fetch protect-owned sandbox sfperms strict |
81 |
unknown-features-warn unmerge-logs unmerge-orphans userfetch |
82 |
usersandbox usersync" |
83 |
FFLAGS="" |
84 |
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/ |
85 |
http://gentoo.llarian.net/ http://gentoo.osuosl.org/ |
86 |
http://gentoo.chem.wisc.edu/gentoo/ |
87 |
http://mirror.its.uidaho.edu/pub/gentoo/" |
88 |
LANG="en_US.UTF-8" |
89 |
LC_ALL="en_US.UTF-8" |
90 |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
91 |
LINGUAS="en en_US en_US.UTF-8" |
92 |
MAKEOPTS=" -j3 -l3.5" |
93 |
PKGDIR="/usr/portage/packages" |
94 |
PORTAGE_CONFIGROOT="/" |
95 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
96 |
--compress --force --whole-file --delete --stats --timeout=180 |
97 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
98 |
PORTAGE_TMPDIR="/var/tmp" |
99 |
PORTDIR="/usr/portage" |
100 |
PORTDIR_OVERLAY="/var/lib/layman/enlightenment" |
101 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
102 |
USE="X acl avahi bash-completion berkdb blas bzip2 cairo cli cracklib |
103 |
crypt cscope cups curl cxx dbus dri fortran gcj gdbm gpm iconv ipv6 |
104 |
jpeg kpathsea lapack latex lua modules mudflap ncurses networkmanager |
105 |
nls nptl nptlonly openmp pam pcre perl png pppd python readline |
106 |
session ssl svg sysfs tcpd truetype unicode vim-pager vim-with-x x86 |
107 |
xorg xpm zlib" ALSA_CARDS="hda-intel loopback virmidi" |
108 |
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty |
109 |
extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul |
110 |
mulaw multi null plug rate route share shm softvol" |
111 |
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon |
112 |
authn_dbm authn_default authn_file authz_dbm authz_default |
113 |
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi |
114 |
cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter |
115 |
file_cache filter headers include info log_config logio mem_cache mime |
116 |
mime_magic negotiation rewrite setenvif speling status unique_id |
117 |
userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan |
118 |
stage tables krita karbon braindump" CAMERAS="ptp2" |
119 |
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" |
120 |
ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 |
121 |
garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver |
122 |
oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip |
123 |
tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" |
124 |
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 |
125 |
lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_US.UTF-8" |
126 |
PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" |
127 |
VIDEO_CARDS="intel vesa vga fbdev" XTABLES_ADDONS="quota2 psd pknock |
128 |
lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee |
129 |
tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" |
130 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, |
131 |
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
132 |
PORTAGE_RSYNC_EXTRA_OPTS |
133 |
|
134 |
# emerge -pqv =net-libs/gnutls-2.10.5 |
135 |
[ebuild N ] net-libs/gnutls-2.10.5 USE="cxx nls zlib -bindist |
136 |
-doc -examples -guile -lzo -test" |