aMule Forum

English => Multiplatform => Mac OSX => Topic started by: RussellMcGaha on June 09, 2008, 10:05:12 PM

Title: Build dying on 10.5.3 & 10.5.2
Post by: RussellMcGaha on June 09, 2008, 10:05:12 PM
I've built aMule from tar ball before with no problems [the last time a couple of mounths ago].  I just went to compile it again, and no mater which tarball I use I keep dying with :

   then mv -f ".deps/amuleweb-UPnPCompatibility.Tpo" ".deps/amuleweb-UPnPCompatibility.Po"; else rm -f ".deps/amuleweb-UPnPCompatibility.Tpo"; exit 1; fi
g++     -o amuleweb -bind_at_load -lpthread -L../../libs/common -L../../libs/ec/cpp -L/sw/lib  amuleweb-WebServer.o amuleweb-WebInterface.o amuleweb-WebSocket.o amuleweb-ExternalConnector.o amuleweb-OtherFunctions.o amuleweb-RLE.o amuleweb-NetworkFunctions.o amuleweb-php_parser.o amuleweb-php_lexer.o amuleweb-php_syntree.o amuleweb-php_amule_lib.o amuleweb-php_core_lib.o amuleweb-UPnP.o amuleweb-UPnPCompatibility.o  -lec -lmulecommon -L/Users/russellm/aMuleCompile/wxMac-2.8.7/build/lib   -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime  /Users/russellm/aMuleCompile/wxMac-2.8.7/build/lib/libwx_base_carbonud_net-2.8.a /Users/russellm/aMuleCompile/wxMac-2.8.7/build/lib/libwx_base_carbonud-2.8.a -lwxregexud-2.8 -lwxtiffd-2.8 -lwxpngd-2.8 -lz -lpthread -liconv  -lz -lreadline -lpng12    ../../../intl/libintl.a -liconv
Undefined symbols:
  "_iconv_open", referenced from:
      wxMBConv_iconv::wxMBConv_iconv(wchar_t const*)in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(wchar_t const*)in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(wchar_t const*)in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(wchar_t const*)in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      __nl_init_domain_conv in libintl.a(loadmsgcat.o)
      __nl_init_domain_conv in libintl.a(loadmsgcat.o)
  "_iconv_close", referenced from:
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      __nl_free_domain_conv in libintl.a(loadmsgcat.o)
  "_iconv", referenced from:
      wxMBConv_iconv::wxMBConv_iconv(wchar_t const*)in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::MB2WC(wchar_t*, char const*, unsigned long) constin libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::MB2WC(wchar_t*, char const*, unsigned long) constin libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::WC2MB(char*, wchar_t const*, unsigned long) constin libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::WC2MB(char*, wchar_t const*, unsigned long) constin libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::GetMBNulLen() const  in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      __nl_find_msg in libintl.a(dcigettext.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [amuleweb] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I've even blown away my wxMac build folder and re-compiles clean and still get this.  Anyone know what I've done wrong; or have any suggestions??

Russell

PS {approx 2hrs later} I just tried it on 10.5.2 PPC [the other was intel] and got the same exact error!
Title: Re: Build dying on 10.5.3 & 10.5.2
Post by: jchiar on June 12, 2008, 06:03:52 PM
Get the same issue on 10.5.3 on my intel imac.

wxmac installs cleanly here too.

See the compilation problem forum for my post.
Title: Re: Build dying on 10.5.3 & 10.5.2
Post by: isulzer on June 13, 2008, 01:36:16 AM
--disable-webserver

unless you use it. then you will need a newer libiconv
Title: Re: Build dying on 10.5.3 & 10.5.2
Post by: greek on June 14, 2008, 04:53:04 AM
to install libiconv from macports:
post install libiconv
When you compile wxMac add a --with-libiconv-prefix=/opt/local in its configure script.
Let me know if this works.