aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3 4 ... 7

Author Topic: aMule, wxWidgets 2.9+ and Snow Leopard... (we got it!)  (Read 60594 times)

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: aMule, wxWidgets 2.9.0 and Snow Leopard...
« Reply #15 on: September 10, 2009, 10:55:17 AM »

aMule SVN Release 2.2.X
You are trying to build aMule 2.2.5 with wx 2.9. Only aMule SVN builds with it.
He meant trunk, not the 2_2_X branch.
Logged
concordia cum veritate

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9.0 and Snow Leopard...
« Reply #16 on: September 10, 2009, 12:15:25 PM »

He meant trunk, not the 2_2_X branch.

Thanks... using the last trunk r9792 I get:

Quote
extern/wxWidgets/listctrl.cpp:374: warning: declaration of ‘Item’ shadows a member of 'this'
extern/wxWidgets/listctrl.cpp: In member function ‘bool MuleExtern::wxListLineData::SetAttributes(wxDC*, const wxListItemAttr*, bool)’:
extern/wxWidgets/listctrl.cpp:1419: error: ‘ControlRef’ was not declared in this scope
extern/wxWidgets/listctrl.cpp:1419: error: ‘IsControlActive’ was not declared in this scope
extern/wxWidgets/listctrl.cpp: In member function ‘void MuleExtern::wxListLineData::Draw(wxDC*)’:
extern/wxWidgets/listctrl.cpp:1483: error: ‘ControlRef’ was not declared in this scope
extern/wxWidgets/listctrl.cpp:1483: error: ‘IsControlActive’ was not declared in this scope
extern/wxWidgets/listctrl.cpp: In member function ‘void MuleExtern::wxListLineData::DrawInReportMode(wxDC*, const wxRect&, const wxRect&, bool)’:
extern/wxWidgets/listctrl.cpp:1546: error: ‘ControlRef’ was not declared in this scope
extern/wxWidgets/listctrl.cpp:1546: error: ‘IsControlActive’ was not declared in this scope
extern/wxWidgets/listctrl.cpp: In member function ‘void MuleExtern::wxListMainWindow::OnScroll(wxScrollWinEvent&)’:
extern/wxWidgets/listctrl.cpp:4871: warning: ‘OnScroll’ is deprecated (declared at /Users/mirko/Desktop/wxWidgets_2.9_trunk/include/wx/scrolwin.h:197)
extern/wxWidgets/listctrl.cpp: In member function ‘void MuleExtern::wxGenericListCtrl::CalculateAndSetHeaderHeight()’:
extern/wxWidgets/listctrl.cpp:4977: error: ‘SInt32’ was not declared in this scope
extern/wxWidgets/listctrl.cpp:4977: error: expected `;' before ‘h’
extern/wxWidgets/listctrl.cpp:4978: error: ‘kThemeMetricListHeaderHeight’ was not declared in this scope
extern/wxWidgets/listctrl.cpp:4978: error: ‘h’ was not declared in this scope
extern/wxWidgets/listctrl.cpp:4978: error: ‘GetThemeMetric’ was not declared in this scope
make[3]: *** [libmuleappgui_a-listctrl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Now I think I will start from scratch using wxWidgets trunk, since the dev-team released lots of patches...  :-X

EDIT: The above error occurs using wxWidgets 2.9.1 (trunk) too...
« Last Edit: September 17, 2009, 06:37:02 AM by mirko.g »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #17 on: September 10, 2009, 11:24:01 PM »

I knew that thing would bite our ass some day. Just what happens when you hack around in wx source and then update wx.  :-X
Problem code is inside a #ifdef __WXMAC__ , that' s why it works on Windows and Linux.
I'll take a look if I can merge a bit, but that's ticklish and may break 2.8 build of course.

osx_cocoa is probably the new name. The corect thing to do would be to use the m4 included with wx svn.
Except that that one has no cocoa toolkit (and no base either).
Code: [Select]
                    dnl PORT must be one of the allowed values
                    if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
                            "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
                            "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
                            "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" ; then
                        AC_MSG_ERROR([
    Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb)
                        ])
                    fi
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #18 on: September 11, 2009, 09:29:24 PM »

Try if it works with this patched file. If it does, try again with wx 2.8 if that works still.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #19 on: September 14, 2009, 10:32:02 AM »

Try if it works with this patched file. If it does, try again with wx 2.8 if that works still.

We have been unlucky:

Code: [Select]
extern/wxWidgets/listctrl.cpp: In member function ‘int MuleExtern::wxListLineDataArray::Index(const MuleExtern::_wxObjArraywxListLineDataArray&, bool) const’:
extern/wxWidgets/listctrl.cpp:374: warning: declaration of ‘Item’ shadows a member of 'this'
extern/wxWidgets/listctrl.cpp: In member function ‘void MuleExtern::wxListMainWindow::OnScroll(wxScrollWinEvent&)’:
extern/wxWidgets/listctrl.cpp:4867: warning: ‘OnScroll’ is deprecated (declared at /Users/mirko/Desktop/TEMP/wxWidgets_trunk/include/wx/scrolwin.h:197)
extern/wxWidgets/listctrl.cpp: In member function ‘void MuleExtern::wxGenericListCtrl::CalculateAndSetHeaderHeight()’:
extern/wxWidgets/listctrl.cpp:4974: error: ‘kThemeMetricListHeaderHeight’ was not declared in this scope
extern/wxWidgets/listctrl.cpp:4974: error: ‘GetThemeMetric’ was not declared in this scope
make[3]: *** [libmuleappgui_a-listctrl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #20 on: September 14, 2009, 12:12:10 PM »

We have been unlucky:
No, I have been careless.  :-[ Try this one.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #21 on: September 14, 2009, 12:29:19 PM »

No, I have been careless.  :-[ Try this one.

No way...  :-[

Code: [Select]
then mv -f ".deps/libmuleappgui_a-MuleListCtrl.Tpo" ".deps/libmuleappgui_a-MuleListCtrl.Po"; else rm -f ".deps/libmuleappgui_a-MuleListCtrl.Tpo"; exit 1; fi
make[3]: *** [libmuleappgui_a-listctrl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #22 on: September 14, 2009, 05:57:52 PM »

Well, at least we've come up to link stage. But you've cropped the actual error message.  :)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #23 on: September 14, 2009, 06:11:29 PM »

This is the whole output... attached is better!  ;D
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #24 on: September 14, 2009, 06:51:17 PM »

Getting closer.
As a rule of thumb with compiler errors:
- rerun make (it will weed out all that went ok)
- search for the first line with "error" and post evrything from there on (within reason of course)

This error must have been there from the beginning, but you didn't post it.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #25 on: September 15, 2009, 09:56:04 AM »

It failed again.
This is the re-make log:
Code: [Select]
make  all-recursive
Making all in intl
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in docs
Making all in man
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in src
Making all in libs
Making all in ec
make  all-recursive
Making all in cpp
make  all-am
make[7]: Nothing to be done for `all-am'.
make[6]: Nothing to be done for `all-am'.
Making all in common
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in utils
make[4]: Nothing to be done for `all-am'.
Making all in pixmaps
make[4]: Nothing to be done for `all-am'.
Making all in skins
make[3]: Nothing to be done for `all'.
rm -f libmuleappcore.a
ar cru libmuleappcore.a libmuleappcore_a-AsyncDNS.o libmuleappcore_a-DeadSourceList.o libmuleappcore_a-FileArea.o libmuleappcore_a-FileAutoClose.o libmuleappcore_a-Scanner.o libmuleappcore_a-Parser.o libmuleappcore_a-PlatformSpecific.o libmuleappcore_a-Entry.o libmuleappcore_a-SearchManager.o libmuleappcore_a-RoutingBin.o libmuleappcore_a-RandomFunctions.o libmuleappcore_a-StateMachine.o libmuleappcore_a-ThreadScheduler.o libmuleappcore_a-UInt128.o
ranlib libmuleappcore.a
rm -f libmuleappgui.a
ar cru libmuleappgui.a libmuleappgui_a-BarShader.o libmuleappgui_a-ChatWnd.o libmuleappgui_a-ColorFrameCtrl.o libmuleappgui_a-CommentDialog.o libmuleappgui_a-CommentDialogLst.o libmuleappgui_a-DirectoryTreeCtrl.o libmuleappgui_a-EditServerListDlg.o libmuleappgui_a-listctrl.o libmuleappgui_a-FileDetailListCtrl.o libmuleappgui_a-MuleGifCtrl.o libmuleappgui_a-MuleListCtrl.o libmuleappgui_a-MuleNotebook.o libmuleappgui_a-MuleTextCtrl.o libmuleappgui_a-MuleCollection.o libmuleappgui_a-muuli_wdr.o
ranlib libmuleappgui.a
rm -f libmuleappcommon.a
ar cru libmuleappcommon.a libmuleappcommon_a-CFile.o libmuleappcommon_a-DataToText.o libmuleappcommon_a-ED2KLink.o libmuleappcommon_a-MagnetURI.o libmuleappcommon_a-MemFile.o libmuleappcommon_a-NetworkFunctions.o libmuleappcommon_a-Packet.o libmuleappcommon_a-RLE.o libmuleappcommon_a-SafeFile.o libmuleappcommon_a-SHA.o libmuleappcommon_a-Tag.o libmuleappcommon_a-Timer.o
ranlib libmuleappcommon.a
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH -DUSE_WX_EXTENSIONS -I/opt/local/include/upnp   -DENABLE_UPNP=1 -D_THREAD_SAFE   -I/Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib/wx/include/osx_cocoa-unicode-release-static-2.9 -I/Users/mirko/Desktop/TEMP/wxWidgets_trunk/include -D_FILE_OFFSET_BITS=64 -D__WXOSX_COCOA__  -I./libs -Ilibs -I./include -I/opt/local//include -D__WEAK_CRYPTO__ -I/opt/local/include -W -Wall -Wshadow -Wundef    -MT amule-amule.o -MD -MP -MF ".deps/amule-amule.Tpo" -c -o amule-amule.o `test -f 'amule.cpp' || echo './'`amule.cpp; \
then mv -f ".deps/amule-amule.Tpo" ".deps/amule-amule.Po"; else rm -f ".deps/amule-amule.Tpo"; exit 1; fi
amule.cpp:98:69: error: wx/mac/corefoundation/cfstring.h: No such file or directory
In file included from /opt/local/include/upnp/upnp.h:505,
                 from UPnPCompatibility.h:31,
                 from UPnPBase.h:37,
                 from amule.cpp:88:
/opt/local/include/upnp/upnpdebug.h:130: warning: unused parameter ‘log_level’
/opt/local/include/upnp/upnpdebug.h:171: warning: unused parameter ‘ErrFileName’
/opt/local/include/upnp/upnpdebug.h:171: warning: unused parameter ‘InfoFileName’
/opt/local/include/upnp/upnpdebug.h:194: warning: unused parameter ‘level’
/opt/local/include/upnp/upnpdebug.h:194: warning: unused parameter ‘module’
/opt/local/include/upnp/upnpdebug.h:223: warning: unused parameter ‘DLevel’
/opt/local/include/upnp/upnpdebug.h:223: warning: unused parameter ‘Module’
/opt/local/include/upnp/upnpdebug.h:268: warning: unused parameter ‘DLevel’
/opt/local/include/upnp/upnpdebug.h:268: warning: unused parameter ‘Module’
/opt/local/include/upnp/upnpdebug.h:268: warning: unused parameter ‘DbgFileName’
/opt/local/include/upnp/upnpdebug.h:268: warning: unused parameter ‘DbgLineNo’
/opt/local/include/upnp/upnpdebug.h:268: warning: unused parameter ‘FmtStr’
/opt/local/include/upnp/upnpdebug.h:297: warning: unused parameter ‘fd’
/opt/local/include/upnp/upnpdebug.h:297: warning: unused parameter ‘lines’
/opt/local/include/upnp/upnpdebug.h:297: warning: unused parameter ‘size’
/opt/local/include/upnp/upnpdebug.h:297: warning: unused parameter ‘starlength’
/opt/local/include/upnp/upnpdebug.h:324: warning: unused parameter ‘fd’
/opt/local/include/upnp/upnpdebug.h:324: warning: unused parameter ‘DbgFileName’
/opt/local/include/upnp/upnpdebug.h:324: warning: unused parameter ‘DbgLineNo’
amule.cpp: In member function ‘virtual bool CamuleApp::OnInit()’:
amule.cpp:850: error: ‘wxMacCFStringHolder’ was not declared in this scope
make[3]: *** [amule-amule.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Attached the full make log.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #26 on: September 15, 2009, 01:15:23 PM »

listctrl seems fine at last.  :)
The remake log is enough, you can even remove the noise before the first if g++ line.
Next step. I'm flying blind here, just try it. If it fails again, just remove the two #if __WXMAC__ blocks at lines 96  and 842. It's just code for loading amuleweb from a "bundle" (whatever that is, remember I have no clue about macs). aMule will run without it.  :P
And you don't need a full remake. Just drop in the modified amule.cpp and make it.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #27 on: September 15, 2009, 03:31:49 PM »

It failed even without the cited blocks:
Code: [Select]
g++ -W -Wall -Wshadow -Wundef  -bind_at_load -lpthread  -o amule  amule-CaptchaDialog.o amule-CaptchaGenerator.o amule-RC4Encrypt.o amule-amule.o amule-BaseClient.o amule-ClientList.o amule-ClientCreditsList.o amule-ClientTCPSocket.o amule-ClientUDPSocket.o amule-CorruptionBlackBox.o amule-DownloadClient.o amule-DownloadQueue.o amule-ECSpecialCoreTags.o amule-EMSocket.o amule-EncryptedStreamSocket.o amule-EncryptedDatagramSocket.o amule-ExternalConn.o amule-Friend.o amule-FriendList.o amule-HTTPDownload.o amule-IPFilter.o amule-KnownFileList.o amule-ListenSocket.o amule-MuleUDPSocket.o amule-SearchFile.o amule-SearchList.o amule-ServerConnect.o amule-ServerList.o amule-ServerSocket.o amule-ServerUDPSocket.o amule-SharedFileList.o amule-ThreadTasks.o amule-UploadBandwidthThrottler.o amule-UploadClient.o amule-UploadQueue.o amule-Indexed.o amule-Kademlia.o amule-Prefs.o amule-Search.o amule-UDPFirewallTester.o amule-KademliaUDPListener.o amule-PacketTracking.o amule-Contact.o amule-RoutingZone.o amule-UPnPBase.o amule-amule-gui.o amule-amuleDlg.o amule-AddFriend.o amule-CatDialog.o amule-ChatSelector.o amule-ClientDetailDialog.o amule-FileDetailDialog.o amule-KadDlg.o amule-OScopeCtrl.o amule-PartFileConvert.o amule-PrefsUnifiedDlg.o amule-SearchDlg.o amule-ServerWnd.o amule-SharedFilesWnd.o amule-StatisticsDlg.o amule-SearchListCtrl.o amule-DownloadListCtrl.o amule-ClientListCtrl.o amule-FriendListCtrl.o amule-ServerListCtrl.o amule-SharedFilesCtrl.o amule-MuleTrayIcon.o amule-MuleColour.o amule-TransferWnd.o  amule-ClientCredits.o amule-ECSpecialMuleTags.o amule-KnownFile.o amule-GapList.o amule-GetTickCount.o amule-GuiEvents.o amule-Logger.o amule-PartFile.o amule-Preferences.o amule-Proxy.o amule-Server.o amule-Statistics.o amule-StatTree.o amule-SHAHashSet.o amule-TerminationProcess.o amule-TerminationProcessAmuleweb.o amule-UserEvents.o amule-OtherFunctions.o amule-NetworkFunctions.o -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec   -lz  -L/opt/local//lib -lcryptopp -L. -lmuleappcore -L/opt/local/lib   -lupnp -lthreadutil -lixml    -L. -lmuleappgui  -L/Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib   -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL  /Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib/libwx_osx_cocoau_adv-2.9.a /Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib/libwx_osx_cocoau_core-2.9.a /Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib/libwx_baseu_net-2.9.a /Users/mirko/Desktop/TEMP/wxWidgets_trunk/lib/libwx_baseu-2.9.a -framework WebKit -lwxregexu-2.9 -lwxtiff-2.9 -lwxjpeg-2.9 -lwxpng-2.9 -lz -lpthread -liconv     
ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime, missing required architecture x86_64 in file
Undefined symbols:
  "_iconv_open", referenced from:
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
  "_iconv", referenced from:
      wxMBConv_iconv::ToWChar(wchar_t*, unsigned long, char const*, unsigned long) constin libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::ToWChar(wchar_t*, unsigned long, char const*, unsigned long) constin libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::FromWChar(char*, unsigned long, wchar_t const*, unsigned long) constin libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::FromWChar(char*, unsigned long, wchar_t const*, unsigned long) constin libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::GetMBNulLen() const  in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::wxMBConv_iconv(char const*)in libwx_baseu-2.9.a(baselib_strconv.o)
  "_iconv_close", referenced from:
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_baseu-2.9.a(baselib_strconv.o)
      wxMBConv_iconv::~wxMBConv_iconv()in libwx_baseu-2.9.a(baselib_strconv.o)
ld: symbol(s) not found
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
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #28 on: September 15, 2009, 03:34:57 PM »

This doesn't look like a problem caused by aMule. Could you please check if libiconv is compiled for both 32 bit and 64 bit? (It should be part of the core system, it is required for gettext for instance.)
Logged

mirko.g

  • Global Moderator
  • Full Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 188
  • Grattatio pallorum omnia mala repellent!
    • Personal WebSite
Re: aMule, wxWidgets 2.9+ and Snow Leopard...
« Reply #29 on: September 15, 2009, 03:46:36 PM »

This doesn't look like a problem caused by aMule. Could you please check if libiconv is compiled for both 32 bit and 64 bit? (It should be part of the core system, it is required for gettext for instance.)

I use libiconv from MacPorts and is compiled for 64 bit only, like all portfiles under Snow Leopard:
Code: [Select]
$ file /opt/local/lib/libiconv.dylib
/opt/local/lib/libiconv.dylib: Mach-O 64-bit dynamically linked shared library x86_64

$ file /opt/local/lib/libiconv.2.dylib
/opt/local/lib/libiconv.2.dylib: Mach-O 64-bit dynamically linked shared library x86_64
Logged
Pages: 1 [2] 3 4 ... 7