aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation Problems on Mac  (Read 2900 times)

maneater_R1

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Compilation Problems on Mac
« on: October 26, 2005, 12:12:38 AM »

I tried to compile the aMule-Sources downloaded from http://www.amule.org/files/download.php?file=122, following the HOWTO from the aMule-Wiki (http://www.amule.org/wiki/index.php/HowTo_compile_on_Mac), but I'm stuck when compiling:

Compiler Output:

Code: [Select]
ld: Undefined symbols:
__ZNSt15_List_node_base4hookEPS_
__ZNSt15_List_node_base6unhookEv
_fprintf$LDBLStub
_printf$LDBLStub
_sprintf$LDBLStub
__ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base
__ZNK7CFormatcv8wxStringEv
__ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
__ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
__ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_
__ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
__ZNSs4_Rep20_S_empty_rep_storageE
__ZN9__gnu_cxx18__exchange_and_addEPVii
__ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base
__ZNSi5seekgExSt12_Ios_Seekdir
make[3]: *** [amule] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Configure Output:

Code: [Select]
Configure script has finished system check.

  Configured aMule 2.0.3 for 'powerpc-apple-darwin8.2.0'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                no
  Should aMule be compiled in debug mode?                    no
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               yes
  Should aMule be compiled with taskbar icon support?        no
  Should aMule be compiled with old GTK taskbar icon?        no
  Should aMule be compiled with UTF-8 taskbar icon support?  no
  Should aMule be linked against patched gsocket?            no
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      no
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 no
  Should aMule GUI Client be built?                          no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           no
  Should aMule WebServer GUI be built?                       no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.6.1
                                       crypto++              embedded
                                       zlib                  1.2.2


 WARNING! gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
 amuleweb will be compiled but file download progress bar images will NOT be generated.
 See the above error on gd check for solutions.
Output of ls -l /usr/bin/wx*:
Code: [Select]
lrwxr-xr-x   1 root  wheel     38 May  7 17:30 /usr/bin/wx-config -> ../lib/wx/config/mac-unicode-debug-2.5
-rwxr-xr-x   1 root  wheel  13728 Mar 21  2005 /usr/bin/wxPerl
Output of ls -l /usr/local/bin/wx*:
Code: [Select]
tcsh: ls: No match.
I am using Mac OS X 10.4 and used the gcc 3.3. I am quite new to the whole compilation procedure, but I thought the Wiki-HowTo explains every step in the compilation process.
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Compilation Problems on Mac
« Reply #1 on: October 26, 2005, 09:28:09 AM »

Hmm.  Weird.  And Ugly.  ;)  I've never seen that error or anything quite like it.  I can't even see a common denominator among the symbols that it's missing.

My first impression is that this is because you're using gcc 3.3.  If possible, you should upgrade to the latest Xcode and use gcc 4.0.
Logged

maneater_R1

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Compilation Problems on Mac
« Reply #2 on: October 26, 2005, 09:40:59 AM »

OK, tried again with gcc 4.0.0 and got a little less errors:

Code: [Select]
/usr/bin/ld: Undefined symbols:
CFormat::operator wxString() const
collect2: ld returned 1 exit status
make[3]: *** [amule] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any more ideas? I am still stuck...
Logged