aMule Forum

English => Compilation problems => Topic started by: rk___ on August 03, 2005, 09:35:41 AM

Title: CVS 30.07 and 01.08 problem :(
Post by: rk___ on August 03, 2005, 09:35:41 AM
g++  -mcpu=athlon-xp -march=athlon-xp  -DUSE_EMBEDDED_CRYPTO  -O2 -pg  -z combreloc -pg -lpthread -o amule  amule-AddFriend.o amule-AddFileThread.o amule-AICHSyncThread.o amule-amule.o amule-amule-gui.o amule-amuleDlg.o amule-BarShader.o amule-BaseClient.o amule-ChatSelector.o amule-ChatWnd.o amule-CatDialog.o amule-CFile.o amule-ClientCredits.o amule-ClientDetailDialog.o amule-ClientList.o amule-ClientListCtrl.o amule-ClientUDPSocket.o amule-ColorFrameCtrl.o amule-CommentDialog.o amule-CommentDialogLst.o amule-DataToText.o amule-DeadSourceList.o amule-DirectoryTreeCtrl.o amule-DownloadClient.o amule-DownloadListCtrl.o amule-DownloadQueue.o amule-ECSocket.o amule-ECPacket.o amule-ECSpecialTags.o amule-ED2KLink.o amule-EditServerListDlg.o amule-EMSocket.o amule-ExternalConn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o amule-FileFunctions.o amule-Format.o amule-Friend.o amule-FriendList.o amule-FriendListCtrl.o amule-HTTPDownload.o amule-IPFilter.o amule-KnownFile.o amule-KadDlg.o amule-KadSearchListCtrl.o amule-KnownFileList.o amule-ListenSocket.o amule-listctrl.o amule-Logger.o amule-MemFile.o amule-MD5Sum.o amule-MuleDebug.o amule-MuleGifCtrl.o amule-MuleListCtrl.o amule-MuleNotebook.o amule-MuleTextCtrl.o amule-muuli_wdr.o amule-NetworkFunctions.o amule-OScopeCtrl.o amule-OtherFunctions.o amule-Packet.o amule-PartFile.o amule-PartFileConvert.o amule-Preferences.o amule-PrefsUnifiedDlg.o amule-Proxy.o amule-RLE.o amule-SafeFile.o amule-SearchDlg.o amule-SearchList.o amule-SearchListCtrl.o amule-Server.o amule-ServerConnect.o amule-ServerList.o amule-ServerListCtrl.o amule-ServerSocket.o amule-ServerUDPSocket.o amule-ServerWnd.o amule-SharedFileList.o amule-SharedFilesCtrl.o amule-SharedFilesWnd.o amule-SHA.o amule-SHAHashSet.o amule-Statistics.o amule-StatisticsDlg.o amule-StateMachine.o amule-StringFunctions.o amule-TransferWnd.o amule-UploadBandwidthThrottler.o amule-UploadClient.o amule-UploadQueue.o amule-UInt128.o    amule-MuleTrayIcon.o amule-CryptoPP.o amule-ByteIO.o amule-DataIO.o amule-FileIO.o amule-IOException.o amule-Indexed.o amule-Kademlia.o amule-Prefs.o amule-Search.o amule-SearchManager.o amule-KademliaUDPListener.o amule-Contact.o amule-Ping.o amule-RoutingBin.o amule-RoutingZone.o amule-LittleEndian.o -L/home/michalkr/WL-michal/amulecvs/_2/usr/local/lib -pthread  -z combreloc  -L/usr/X11R6/lib  -lwx_gtk_xrc-2.6 -lwx_gtk_qa-2.6 -lwx_gtk_html-2.6 -lwx_gtk_adv-2.6 -lwx_gtk_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6  -lz   -lbfd -liberty
/usr/bin/ld: `.gnu.linkonce.t._ZN7CFormat13FormatIntegerIjEERS_T_' referenced in section `.rodata' of amule-amule.o: defined in discarded section `.gnu.linkonce.t._ZN7CFormat13FormatIntegerIjEERS_T_' of amule-amule.o /usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: *** [amule] Error 1
make[4]: Leaving directory `/amulecvs/amule-cvs_definitiedporblen/src'
make[3]: *** [all-recursive] BBd 1
make[3]: Leaving directory `/amulecvs/amule-cvs_definitiedporblen/src'
make[2]: *** [all] Error2
make[2]: Leaving directory `/amulecvs/amule-cvs_definitiedporblen/src'
make[1]: *** [all-recursive] BBd 1
make[1]: Leaving directory `//amulecvs/amule-cvs_definitiedporblen'
make: *** [all] Error 2

my conf

./configure  --disable-debug  --with-wxbase-prefix=/amulecvs/_2/usr/local/  --enable-amulecmd --enable-amulecmdgui --enable-amule-gui --enable-webserver --enable-webservergui   --with-wx-config=/amulecvs/_2/usr/local/bin/wx-config --enable-optimise --enable-optimize   --enable-webservergui  --enable-amule-gui  --enable-alc --enable-wxcas --enable-cas --enable-alcc --enable-alc  --with-wxbase-exec-prefix=/amulecvs/_2/usr/bin/wxbase-2.4-config --enable-kad-compile  --enable-profile  --enable-webserver-php

The earlier version was compiling with no problem with this conf-line and with these wx* in these directories.

I would like to use kademlia  8)
and i'm afraid I will not can do it  ;(
Title: Re: CVS 30.07 and 01.08 problem :(
Post by: wuischke on August 03, 2005, 09:54:00 AM
I would recommend you to use wxWidgets 2.6.x (strange, you set a path to the 2.4 but there are things like 'wx-gtk-core-2.6) and the newest available CVS.
I don't set the paths to wx anymore.
Then You don't need to write --enable-optimse, it's the same like --enable-optimize but it ain't gonna used anymore.
Hope it works with the 'real' 2.6 and the newest CVS.
Title: Re: CVS 30.07 and 01.08 problem :(
Post by: stefanero on August 03, 2005, 10:16:52 AM
well we are at 03.08 now...how about trying a snapshot from today,
there were some linking problems on 64bit, but this should not effect you.

1st with wx-2.6 you dont need no more wxBase, so remove the
--with-wxbase-prefix from your configure line
and also the --with-wxbase-exec-prefix

2nd. are both aMule and wxGTk compiled with same gcc? maybe try to recompile wxGTK, there seams to be some libs problem from wx