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 Problem on Leopard  (Read 3223 times)

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Compilation Problem on Leopard
« on: December 21, 2007, 02:35:50 AM »

Hello All,

I don't have much experience with aMule source code (yet) and I need to compile it on a leopard mostly to check a certain translation. I tried the wiki instructions along with the compilation script (amulecc.sh), but both failed when compiling MuleDebug.cpp with the attached error. I am wondering if anyone knows how to resolve it in a clean way (without installing a different compiler for example).

Thanks,
g

if g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -I/usr/local/include -I/Users/galanaki/Downloads/Browsers/wxMac-2.8.7/build/lib/wx/include/mac-unicode-release-static-2.8 -I/Users/galanaki/Downloads/Browsers/wxMac-2.8.7/include -I/Users/galanaki/Downloads/Browsers/wxMac-2.8.7/contrib/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__    -DUSE_EMBEDDED_CRYPTO  -W -Wall -Wshadow -Wundef -O2  -DUSE_WX_EXTENSIONS -MT libmulecommon_a-MuleDebug.o -MD -MP -MF ".deps/libmulecommon_a-MuleDebug.Tpo" -c -o libmulecommon_a-MuleDebug.o `test -f 'MuleDebug.cpp' || echo './'`MuleDebug.cpp; \
   then mv -f ".deps/libmulecommon_a-MuleDebug.Tpo" ".deps/libmulecommon_a-MuleDebug.Po"; else rm -f ".deps/libmulecommon_a-MuleDebug.Tpo"; exit 1; fi
MuleDebug.cpp:41:7: warning: "HAVE_BFD" is not defined
MuleDebug.cpp: In function ‘void OnUnhandledException()’:
MuleDebug.cpp:54: error: ‘__cxa_current_exception_type’ is not a member of ‘__cxxabiv1’
MuleDebug.cpp:57: error: invalid use of undefined type ‘struct std::type_info’
<built-in>:0: error: forward declaration of ‘struct std::type_info’
MuleDebug.cpp:61: error: ‘__cxa_demangle’ is not a member of ‘__cxxabiv1’
make: *** [libmulecommon_a-MuleDebug.o] Error 1
Logged