aMule Bug Tracker - aMule
View Issue Details
0001331aMuleMulti Platformpublic2008-05-23 18:072009-07-11 22:18
xushi 
bootstrap 
normalblockalways
closedunable to reproduce 
SVN 
 
Leopard on Macbook Pro (intel)
0001331: SVN fails to compile on Leopard with wxMac 2.8.7/2.8.6
I'm compiling aMule-cvs-20080523, and it fails with the following error.

BCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -O2 -DUSE_WX_EXTENSIONS -c -o amuleweb-WebInterface.o `test -f 'WebInterface.cpp' || echo './'`WebInterface.cpp
In file included from /Developer/sourcecode/wxMac-2.8.7/include/wx/platform.h:196,
                 from /Developer/sourcecode/wxMac-2.8.7/include/wx/defs.h:21,
                 from /Developer/sourcecode/wxMac-2.8.7/include/wx/stdpaths.h:15,
                 from WebInterface.cpp:32:
/Developer/sourcecode/wxMac-2.8.7/build/lib/wx/include/mac-unicode-debug-static-2.8/wx/setup.h:1083:1: warning: "ICONV_CONST" redefined
In file included from WebInterface.cpp:28:
../../../config.h:403:1: warning: this is the location of the previous definition
In file included from /Developer/sourcecode/wxMac-2.8.7/include/wx/platform.h:196,
                 from /Developer/sourcecode/wxMac-2.8.7/include/wx/defs.h:21,
                 from /Developer/sourcecode/wxMac-2.8.7/include/wx/stdpaths.h:15,
                 from WebInterface.cpp:32:
/Developer/sourcecode/wxMac-2.8.7/build/lib/wx/include/mac-unicode-debug-static-2.8/wx/setup.h:1083:1: warning: "ICONV_CONST" redefined
In file included from WebInterface.cpp:28:
../../../config.h:403:1: warning: this is the location of the previous definition
WebInterface.cpp:50:22: error: libintl.h: No such file or directory
WebInterface.cpp:50:22: error: libintl.h: No such file or directory
WebInterface.cpp: In member function 'virtual wxString CamulewebApp::SetLocale(const wxString&)':
WebInterface.cpp:783: error: 'bindtextdomain' was not declared in this scope
WebInterface.cpp:787: error: 'bind_textdomain_codeset' was not declared in this scope
WebInterface.cpp:790: error: 'textdomain' was not declared in this scope
WebInterface.cpp: In member function 'virtual wxString CamulewebApp::SetLocale(const wxString&)':
WebInterface.cpp:783: error: 'bindtextdomain' was not declared in this scope
WebInterface.cpp:787: error: 'bind_textdomain_codeset' was not declared in this scope
WebInterface.cpp:790: error: 'textdomain' was not declared in this scope
lipo: can't figure out the architecture type of: /var/folders/S9/S97oLIIrFR0LyKKUzS3t7E+++TI/-Tmp-//ccs5fSXD.out
make[4]: *** [amuleweb-WebInterface.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The same thing happens with wxMac 2.8.6.

Is unicode messed or something?
OS: OSX Leopard 1.5.2 (Macbook Pro Intel)

wxMac-2.8.7 compiled

amule-cvs compiled with,
./configure --enable-amulecmd --enable-debug --enable-optimize --enable-amule-daemon --enable-nls --enable-webserver --disable-cas --disable-alcc --enable-amule-gui --with-wx-config=../wxMac-2.8.7/build/wx-config --disable-dependency-tracking CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk" CXXFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk" --with-crypto-prefix=/usr/local/cryptopp


I've attached a copy of my config.log too in case it helps.

Any more info, feel free to ask.

No tags attached.
log config.log (229,408) 2008-05-23 18:07
https://bugs.amule.org/file_download.php?file_id=250&type=bug
Issue History
2008-05-23 18:07xushiNew Issue
2008-05-23 18:07xushiFile Added: config.log
2008-05-23 18:07xushiOperating System => Leopard on Macbook Pro (intel)
2008-05-24 04:16GonoszTopiNote Added: 0002819
2008-05-24 04:16GonoszTopiStatusnew => feedback
2009-06-03 00:21lvcargniniNote Added: 0003157
2009-06-03 00:21lvcargniniNote Added: 0003158
2009-06-03 00:22lvcargniniNote Added: 0003159
2009-06-03 00:23lvcargniniNote Added: 0003160
2009-06-03 00:24lvcargniniNote Added: 0003161
2009-06-03 00:24lvcargniniNote Deleted: 0003159
2009-06-03 00:24lvcargniniNote Deleted: 0003158
2009-06-03 00:24lvcargniniNote Deleted: 0003160
2009-06-03 00:25lvcargniniNote Deleted: 0003161
2009-06-25 22:03sturedmanNote Added: 0003182
2009-07-11 22:18sturedmanAssigned To => bootstrap
2009-07-11 22:18sturedmanStatusfeedback => closed
2009-07-11 22:18sturedmanResolutionopen => unable to reproduce
2009-07-11 22:18sturedmanDescription Updated
2009-07-11 22:18sturedmanAdditional Information Updated

Notes
(0002819)
GonoszTopi   
2008-05-24 04:16   
I would need the compilation command, just a few lines before what you posted.
(0003157)
lvcargnini   
2009-06-03 00:21   
I having almost the same issue:
Config:

It was created by aMule configure SVN, which was
generated by GNU Autoconf 2.59. Invocation command line was

  $ ./configure --enable-optimize --enable-amule-gui --enable-geoip --enable-alc --enable-alcc --enable-wxcas --enable-cas --enable-webserver --enable-amule-gui --ena
ble-amulecmd --enable-amule-daemon --with-crypto-prefix=/opt/local --with-libupnp-prefix=/opt/local --with-geoip-headers=/opt/local/include --with-geoip-prefix=/opt/l
ocal --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

## --------- ##
## Platform. ##
## --------- ##

hostname = Shark
uname -m = i386
uname -r = 9.7.0
uname -s = Darwin
uname -v = Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEA

Result:
Making all in skins
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
(0003182)
sturedman   
2009-06-25 22:03   
That's not the same. Not even close.