Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems building Anjuta on ppc64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
tarzan420
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2003
Posts: 81
Location: Fairbanks AK

PostPosted: Tue Aug 03, 2004 8:57 pm    Post subject: Problems building Anjuta on ppc64 Reply with quote

I'm trying to build this, looks perdy. I've successfully emerged all the dependencies (including the masked ones), but it seems to be bailing out near the end of compilation:
Code:

g++ -mpowerpc64 -O2 -o anjuta about.o an_file_view.o an_symbol_view.o anjuta-tools.o anjuta-plugins.o aneditor.o anjuta_cbs.o anjuta_dirs.o anjuta-encodings.o anjuta_info.o anjuta-marshalers.o appwiz_page1.o appwiz_page2.o appwiz_page3.o appwizard.o appwizard_cbs.o appwizard_gui.o attach_process.o breakpoints.o build_file.o build_project.o clean_project.o commands.o compile.o compiler_options.o configurer.o controls.o cvs.o cvs_gui.o cvs_cbs.o debug_tree.o debugger.o dnd.o executer.o file.o file_history.o fileselection.o getline.o gnome_project.o goto_line.o help.o launcher.o main.o main_menubar.o mainmenu_callbacks.o memory.o message-manager.o message-manager-private.o message-manager-dock.o preferences.o preferences-dialog.o project_config.o project_dbase.o project_type.o project_dbase_gui.o project_import.o project_import_gui.o project_import_cbs.o properties.o registers.o registers_cbs.o registers_gui.o search-replace.o search-replace_backend.o search_incremental.o search_preferences.o sharedlib.o sharedlib_cbs.o sharedlib_gui.o signals.o src_paths.o stack_trace.o support.o text_editor.o text_editor_cbs.o text_editor_gui.o text_editor_menu.o toolbar.o toolbar_callbacks.o utilities.o watch.o watch_cbs.o watch_gui.o wizard_gui.o appwiz_page4.o source.o anjuta.o anjuta_gui.o glade_iface.o compatibility_0.o defaults.o resources.o session.o start-with.o style-editor.o widget-registry.o -Wl,--export-dynamic -pthread ../scintilla/StyleContext.o ../scintilla/LexAda.o ../scintilla/LexAsm.o ../scintilla/LexAVE.o ../scintilla/LexBaan.o ../scintilla/LexBullant.o ../scintilla/LexCLW.o ../scintilla/LexConf.o ../scintilla/LexCPP.o ../scintilla/LexCrontab.o ../scintilla/LexCSS.o ../scintilla/LexEiffel.o ../scintilla/LexErlang.o ../scintilla/LexEScript.o ../scintilla/LexForth.o ../scintilla/LexFortran.o ../scintilla/LexHTML.o ../scintilla/LexLisp.o ../scintilla/LexLout.o ../scintilla/LexLua.o ../scintilla/LexMatlab.o ../scintilla/LexMetapost.o ../scintilla/LexMMIXAL.o ../scintilla/LexMPT.o ../scintilla/LexNsis.o ../scintilla/LexOthers.o ../scintilla/LexPascal.o ../scintilla/LexPB.o ../scintilla/LexPerl.o ../scintilla/LexPOV.o ../scintilla/LexPS.o ../scintilla/LexPython.o ../scintilla/LexRuby.o ../scintilla/LexScriptol.o ../scintilla/LexSQL.o ../scintilla/LexTeX.o ../scintilla/LexVB.o ../scintilla/LexYAML.o  -L/usr/X11R6/lib /usr/lib/libglade-2.0.so /usr/lib/libgnomeui-2.so -L/usr/lib /usr/lib/libgnome-keyring.so /usr/lib/libjpeg.so /usr/lib/libgnomeprintui-2-2.so /usr/lib/libgnomeprint-2-2.so /usr/lib/libbonoboui-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-2.so -lssl -lcrypto -lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgthread-2.0.so /usr/lib/libvte.so -lncurses -lSM -lICE -lXft -lX11 -lXrender /usr/lib/libgtk-x11-2.0.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libxml2.so -lpthread -lz -lm /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lutil /usr/lib/libpcre.so ../scintilla/libscintilla.a ../tagmanager/libctags.a ../widgets/libwidgets.a ../gdl/libgdl.a ../printing/libanjutaprint.a -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib
aneditor.o(.text+0x16470): In function `.AnEditor::HandleDwellStart(int)':
: undefined reference to `.__gnu_cxx::__exchange_and_add(int volatile*, int)'
...
<Many, many more undefined references to __exchange_and_add>
...
collect2: ld returned 1 exit status
distcc[32235] ERROR: compile (null) on localhost failed


any ideas? - exchange_and_add is defined in bits/atomicity.h, iirc, but... I have libstdc++-v3 installed, hmm...
Back to top
View user's profile Send private message
tarzan420
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2003
Posts: 81
Location: Fairbanks AK

PostPosted: Wed Aug 04, 2004 4:37 pm    Post subject: Reply with quote

Well, i was able to get it to compile by adding -L/usr/lib/gcc-lib/powerpc64-unknown-linux-gnu/3.4.1 to the command before the one that was dying. My guess is that this lib should be linked somewhere, though.

Any suggestions on what change/links need to be made?
Back to top
View user's profile Send private message
tarzan420
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2003
Posts: 81
Location: Fairbanks AK

PostPosted: Wed Aug 04, 2004 5:03 pm    Post subject: Reply with quote

success!

i did
Code:
# LDFLAGS="-L/usr/lib/gcc-lib/powerpc64-unknown-linux-gnu/3.4.1" emerge anjuta


and it works. cool.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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