Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
collect2: ld returned 1 exit status
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
boerns
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 103

PostPosted: Thu Aug 17, 2006 9:23 pm    Post subject: collect2: ld returned 1 exit status Reply with quote

Hi,

in my system, there is something broken.

I get these errors with firefox, aspell, kde


problem emerging kde:

NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -o libkon
solepart.la -rpath /usr/kde/3.5/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,-
-allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/kd
e/3.5/lib -L/usr/qt/3/lib -L/usr/lib TEPty.lo BlockArray.lo konsole_part.lo schema.lo session.lo zm
odem_dialog.lo TEWidget.lo TEmuVt102.lo TEScreen.lo konsole_wcwidth.lo TEmulation.lo TEHistory.lo keyt
rans.lo konsoleiface_skel.lo sessioniface_skel.lo -lXtst -lkparts
`.L894' referenced in section `.rodata' of .libs/TEScreen.o: defined in discarded section `.gnu.linkon
ce.t._ZN5cacolC1Ehi' of .libs/TEScreen.o
`.L897' referenced in section `.rodata' of .libs/TEScreen.o: defined in discarded section `.gnu.linkon
ce.t._ZN5cacolC1Ehi' of .libs/TEScreen.o
`.L898' referenced in section `.rodata' of .libs/TEScreen.o: defined in discarded section `.gnu.linkon
ce.t._ZN5cacolC1Ehi' of .libs/TEScreen.o
`.L899' referenced in section `.rodata' of .libs/TEScreen.o: defined in discarded section `.gnu.linkon
ce.t._ZN5cacolC1Ehi' of .libs/TEScreen.o
`.L900' referenced in section `.rodata' of .libs/TEScreen.o: defined in discarded section `.gnu.linkon
ce.t._ZN5cacolC1Ehi' of .libs/TEScreen.o
`.L465' referenced in section `.rodata' of .libs/TEHistory.o: defined in discarded section `.gnu.linko
nce.t._ZN5cacolC1Ehi' of .libs/TEHistory.o
`.L468' referenced in section `.rodata' of .libs/TEHistory.o: defined in discarded section `.gnu.linko
nce.t._ZN5cacolC1Ehi' of .libs/TEHistory.o
`.L469' referenced in section `.rodata' of .libs/TEHistory.o: defined in discarded section `.gnu.linko
nce.t._ZN5cacolC1Ehi' of .libs/TEHistory.o
`.L470' referenced in section `.rodata' of .libs/TEHistory.o: defined in discarded section `.gnu.linko
nce.t._ZN5cacolC1Ehi' of .libs/TEHistory.o
`.L471' referenced in section `.rodata' of .libs/TEHistory.o: defined in discarded section `.gnu.linko
nce.t._ZN5cacolC1Ehi' of .libs/TEHistory.o
collect2: ld returned 1 exit status
make[3]: *** [libkonsolepart.la] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.4/work/kdebase-3.5.4/konsole/konsole'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.5.4/work/kdebase-3.5.4/konsole'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.5.4/work/kdebase-3.5.4'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kdebase-3.5.4 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
kdebase-3.5.4.ebuild, line 129: Called kde_src_compile
kde.eclass, line 164: Called kde_src_compile 'all'
kde.eclass, line 323: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 319: Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.



I want to do an update from seamonkey 1.0 to 1.02:

ENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsContentDLF.pp nsContentDLF.cpp
rm -f libgklayout.so
i686-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=i686 -pipe -Wno-deprecated -Wno-return-type -w -freorder-blocks -fno-reorder-functions -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -fPIC -shared -Wl,-h -Wl,libgklayout.so -Wl,-rpath,'$ORIGIN:$ORIGIN/..' -o libgklayout.so nsLayoutModule.o nsContentHTTPStartup.o nsContentDLF.o -Wl,-rpath,'$ORIGIN:$ORIGIN/..' -Wl,--whole-archive ../../dist/lib/libgkbase_s.a ../../dist/lib/libgkgeneric_s.a ../../dist/lib/libgkforms_s.a ../../dist/lib/libgkstyle_s.a ../../dist/lib/libgkprinting_s.a ../../dist/lib/libgktable_s.a ../../dist/lib/libgkxulbase_s.a ../../dist/lib/libgkconbase_s.a ../../dist/lib/libgkconcvs_s.a ../../dist/lib/libgkconevents_s.a ../../dist/lib/libgkconhtmlcon_s.a ../../dist/lib/libgkconhtmldoc_s.a ../../dist/lib/libgkconxmlcon_s.a ../../dist/lib/libgkconxmldoc_s.a ../../dist/lib/libgkconxbl_s.a ../../dist/lib/libgkconxulcon_s.a ../../dist/lib/libgkconxuldoc_s.a ../../dist/lib/libgkview_s.a ../../dist/lib/libjsdombase_s.a ../../dist/lib/libjsdomevents_s.a ../../dist/lib/libjsurl_s.a ../../dist/lib/libgkxultree_s.a ../../dist/lib/libgkxulgrid_s.a ../../dist/lib/libgkconxultmpl_s.a ../../dist/lib/libgkmathmlcon_s.a ../../dist/lib/libgkmathmlbase_s.a ../../dist/lib/libgkcontentxtf_s.a ../../dist/lib/libgkxtfbase_s.a ../../dist/lib/libgksvgbase_s.a ../../dist/lib/libgkconsvgdoc_s.a ../../dist/lib/libgkcontentsvg_s.a ../../dist/lib/libgksvgrenderercairo_s.a -Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib -lgkgfx ../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom -lxpcom_core -L../../dist/bin -Wl,-R/usr/lib/nspr -L/usr/lib/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../dist/bin -lmozjs -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lcairo -Wl,--version-script -Wl,../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm
`.L980' referenced in section `.rodata' of ../../dist/lib/libgkstyle_s.a(nsROCSSPrimitiveValue.o): defined in discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of ../../dist/lib/libgkstyle_s.a(nsROCSSPrimitiveValue.o)
`.L982' referenced in section `.rodata' of ../../dist/lib/libgkstyle_s.a(nsROCSSPrimitiveValue.o): defined in discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of ../../dist/lib/libgkstyle_s.a(nsROCSSPrimitiveValue.o)
`.L989' referenced in section `.rodata' of ../../dist/lib/libgkstyle_s.a(nsROCSSPrimitiveValue.o): defined in discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of ../../dist/lib/libgkstyle_s.a(nsROCSSPrimitiveValue.o)
`.L974' referenced in section `.rodata' of ../../dist/lib/libgkstyle_s.a(nsROCSSPrimitiveValue.o): defined in discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of ../../dist/lib/libgkstyle_s.a(nsROCSSPrimitiveValue.o)
`.L115' referenced in section `.rodata' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o): defined in discarded section `.gnu.linkonce.t._ZN13nsXPTCVariant4InitERK17nsXPTCMiniVariantRK9nsXPTTypeh' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o)
`.L116' referenced in section `.rodata' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o): defined in discarded section `.gnu.linkonce.t._ZN13nsXPTCVariant4InitERK17nsXPTCMiniVariantRK9nsXPTTypeh' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o)
`.L129' referenced in section `.rodata' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o): defined in discarded section `.gnu.linkonce.t._ZN13nsXPTCVariant4InitERK17nsXPTCMiniVariantRK9nsXPTTypeh' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o)
`.L111' referenced in section `.rodata' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o): defined in discarded section `.gnu.linkonce.t._ZN13nsXPTCVariant4InitERK17nsXPTCMiniVariantRK9nsXPTTypeh' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o)
`.L112' referenced in section `.rodata' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o): defined in discarded section `.gnu.linkonce.t._ZN13nsXPTCVariant4InitERK17nsXPTCMiniVariantRK9nsXPTTypeh' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o)
`.L113' referenced in section `.rodata' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o): defined in discarded section `.gnu.linkonce.t._ZN13nsXPTCVariant4InitERK17nsXPTCMiniVariantRK9nsXPTTypeh' of ../../dist/lib/libgkcontentxtf_s.a(nsXTFWeakTearoff.o)
collect2: ld returned 1 exit status
gmake[3]: *** [libgklayout.so] Fehler 1
gmake[3]: Leaving directory `/var/tmp/portage/seamonkey-1.0.2/work/mozilla/layout/build'
gmake[2]: *** [libs] Fehler 2
gmake[2]: Leaving directory `/var/tmp/portage/seamonkey-1.0.2/work/mozilla/layout'
gmake[1]: *** [tier_9] Fehler 2
gmake[1]: Leaving directory `/var/tmp/portage/seamonkey-1.0.2/work/mozilla'
make: *** [default] Fehler 2

!!! ERROR: www-client/seamonkey-1.0.2 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
seamonkey-1.0.2.ebuild, line 158: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


when doing emerge aspell fails with this:

i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../crti.o /usr/
lib/gcc-lib/i686-pc-linux-gnu/3.3.5/crtbeginS.o common/.libs/cache.o common/.libs/string.o common/.li
bs/getdata.o common/.libs/itemize.o common/.libs/file_util.o common/.libs/string_map.o common/.libs/st
ring_list.o common/.libs/config.o common/.libs/posib_err.o common/.libs/errors.o common/.libs/error.o
common/.libs/fstream.o common/.libs/iostream.o common/.libs/info.o common/.libs/can_have_error.o commo
n/.libs/convert.o common/.libs/tokenizer.o common/.libs/speller.o common/.libs/document_checker.o comm
on/.libs/filter.o common/.libs/objstack.o common/.libs/strtonum.o common/.libs/gettext_init.o common/.
libs/file_data_util.o modules/speller/default/.libs/readonly_ws.o modules/speller/default/.libs/sugges
t.o modules/speller/default/.libs/data.o modules/speller/default/.libs/multi_ws.o modules/speller/defa
ult/.libs/phonetic.o modules/speller/default/.libs/writable.o modules/speller/default/.libs/speller_im
pl.o modules/speller/default/.libs/phonet.o modules/speller/default/.libs/typo_editdist.o modules/spel
ler/default/.libs/editdist.o modules/speller/default/.libs/primes.o modules/speller/default/.libs/lang
uage.o modules/speller/default/.libs/leditdist.o modules/speller/default/.libs/affix.o modules/tokeniz
er/.libs/basic.o lib/.libs/filter-c.o lib/.libs/word_list-c.o lib/.libs/info-c.o lib/.libs/mutable_con
tainer-c.o lib/.libs/error-c.o lib/.libs/document_checker-c.o lib/.libs/string_map-c.o lib/.libs/new_c
onfig.o lib/.libs/config-c.o lib/.libs/string_enumeration-c.o lib/.libs/can_have_error-c.o lib/.libs/d
ummy.o lib/.libs/new_filter.o lib/.libs/new_fmode.o lib/.libs/string_list-c.o lib/.libs/find_speller.o
lib/.libs/speller-c.o lib/.libs/string_pair_enumeration-c.o lib/.libs/new_checker.o modules/filter/.l
ibs/url.o -Wl,--rpath -Wl,//usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5 -Wl,--rpath -Wl,//usr/lib/gcc-lib
/i686-pc-linux-gnu/3.3.5 -L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin -L/usr/lib/gcc-lib/
i686-pc-linux-gnu/3.3.5 -L/usr/lib/gcc/i686-pc-linux-gnu/3.3.5 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.
3.5/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../.. -lgpm -ldl /
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc-lib/i686-pc-linux-g
nu/3.3.5/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../crtn.o -march=i686 -mmmx -msse -
Wl,-soname -Wl,libaspell.so.15 -o .libs/libaspell.so.15.1.4
`.L4247' referenced in section `.rodata' of modules/speller/default/.libs/speller_impl.o: defined in d
iscarded section `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of modules/
speller/default/.libs/speller_impl.o
`.L4260' referenced in section `.rodata' of modules/speller/default/.libs/speller_impl.o: defined in d
iscarded section `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of modules/
speller/default/.libs/speller_impl.o
`.L4274' referenced in section `.rodata' of modules/speller/default/.libs/speller_impl.o: defined in d
iscarded section `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of modules/
speller/default/.libs/speller_impl.o
`.L4241' referenced in section `.rodata' of modules/speller/default/.libs/speller_impl.o: defined in d
iscarded section `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of modules/
speller/default/.libs/speller_impl.o
`.L2680' referenced in section `.rodata' of modules/speller/default/.libs/affix.o: defined in discarde
d section `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of modules/speller
/default/.libs/affix.o
`.L2693' referenced in section `.rodata' of modules/speller/default/.libs/affix.o: defined in discarde
d section `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of modules/speller
/default/.libs/affix.o
`.L2707' referenced in section `.rodata' of modules/speller/default/.libs/affix.o: defined in discarde
d section `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of modules/speller
/default/.libs/affix.o
`.L2674' referenced in section `.rodata' of modules/speller/default/.libs/affix.o: defined in discarde
d section `.gnu.linkonce.t._ZN8aspeller10LookupInfoC1EPNS_11SpellerImplENS0_4ModeE' of modules/speller
/default/.libs/affix.o
collect2: ld returned 1 exit status
make[1]: *** [libaspell.la] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/aspell-0.60.4/work/aspell-0.60.4'
make: *** [all-recursive] Fehler 1

!!! ERROR: app-text/aspell-0.60.4 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
aspell-0.60.4.ebuild, line 47: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4830
Location: Gothenburg, Sweden

PostPosted: Fri Aug 18, 2006 9:26 am    Post subject: Reply with quote

Please don't start multiple threads on the same topic. Change the subject of the first thread instead if you think it needs a better description. Please follow up to the original thread.

Moved from Portage & Programming to Duplicate Threads.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum