aMule Bug Tracker - aMule
View Issue Details
0001527aMuleMulti Platformpublic2009-06-03 00:322010-07-02 02:49
lvcargnini 
 
normalblockN/A
closedwon't fix 
2.2.5 
 
Mac OSX
0001527: Problem with SVN and 2.2.5 compiling into MacBook Pro error compiling-CryptoPP
Compiling the aMule for a Mac OSX 10.5.7 generate the following problem:
make[3]: Nothing to be done for `all'.
g++ -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -O2 -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-IP2Country.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 -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lwx_macud-2.8 -L/opt/local/lib -lGeoIP
Undefined symbols:
  "std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)", referenced from:
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::Integer const&)in libcryptopp.a(integer.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::Integer const&)in libcryptopp.a(integer.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::Integer const&)in libcryptopp.a(integer.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::Integer const&)in libcryptopp.a(integer.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.o)
      CryptoPP::operator<<(std::basic_ostream<char, std::char_traits<char> >&, CryptoPP::PolynomialMod2 const&)in libcryptopp.a(gf2n.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

The problem seems related to libcryptopp.
information about the system follow in the attached config.log the configure command-line was:
 ./configure --enable-optimize --enable-amule-gui --enable-geoip --enable-alc --enable-alcc --enable-wxcas --enable-cas --enable-webserver --enable-amule-gui --enable-amulecmd --enable-amule-daemon --with-crypto-prefix=/opt/local --with-libupnp-prefix=/opt/local --with-geoip-headers=/opt/local/include --with-geoip-prefix=/opt/local --with-geoip-lib=/opt/local/lib --with-wx-config=wx-config --with-gdlib-config=/opt/local/bin/gdlib-config --enable-debug --with-libiconv-prefix=/opt/local

No tags attached.
log config.log (215,475) 2009-06-03 00:32
https://bugs.amule.org/file_download.php?file_id=308&type=bug
Issue History
2009-06-03 00:32lvcargniniNew Issue
2009-06-03 00:32lvcargniniFile Added: config.log
2009-06-03 00:32lvcargniniOperating System => Mac OSX
2009-09-04 02:19GonoszTopiNote Added: 0003285
2010-07-02 02:49GonoszTopiNote Added: 0003450
2010-07-02 02:49GonoszTopiStatusnew => closed
2010-07-02 02:49GonoszTopiResolutionopen => won't fix

Notes
(0003285)
GonoszTopi   
2009-09-04 02:19   
Nope, this problem is related to your standard C++ library (libstdc++).
(0003450)
GonoszTopi   
2010-07-02 02:49   
Moreover, compilation problems are better discussed on the forum: http://forum.amule.org/ [^]