aMule Forum

English => aMule Help => Topic started by: guepe on October 23, 2004, 06:11:43 PM

Title: Amule rc7 doesn't compile :-(
Post by: guepe on October 23, 2004, 06:11:43 PM
i'm really sorry to bother you, but i tried to compile rc7 (after rc5 , didn't follow rc6...)

i have an error (which doesn't appear with rc5) on my linux knoppix (debian) :

after ./configure && make....

when linking all files i have this error :
g++  -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0    -lpthread -o amule  amule-ListenSocket.o amule-EMSocket.o amule-AddFriend.o amule-AddFileThread.o amule-AICHSyncThread.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-ClientUDPSocket.o amule-ColorFrameCtrl.o amule-CommentDialog.o amule-CommentDialogLst.o amule-DirectoryTreeCtrl.o amule-DownloadClient.o amule-DownloadListCtrl.o amule-DownloadQueue.o amule-ED2KLink.o amule-ECSocket.o amule-EditServerListDlg.o amule-ExternalConn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o amule-filemem.o amule-filefn.o amule-Friend.o amule-FriendListCtrl.o amule-MuleGifCtrl.o amule-HTTPDownload.o amule-IPFilter.o amule-KnownFile.o amule-KadDlg.o amule-KnownFileList.o amule-listctrl.o amule-MD5Sum.o amule-MuleListCtrl.o amule-MuleNotebook.o amule-MuleTextCtrl.o amule-muuli_wdr.o amule-OScopeCtrl.o amule-otherfunctions.o amule-packets.o amule-PartFile.o amule-Preferences.o amule-PrefsUnifiedDlg.o amule-Preview.o amule-QueueListCtrl.o amule-SafeFile.o amule-SearchDlg.o amule-SearchList.o amule-SearchListCtrl.o amule-server.o amule-ServerList.o amule-ServerListCtrl.o amule-ServerSocket.o amule-ServerWnd.o amule-SharedFileList.o amule-SharedFilesCtrl.o amule-SharedFilesWnd.o amule-SHA.o amule-SHAHashSet.o amule-sockets.o amule-StatisticsDlg.o amule-TransferWnd.o amule-UDPSocket.o amule-UploadClient.o amule-UploadListCtrl.o amule-UploadQueue.o amule-amule.o amule-amuleDlg.o amule-UInt128.o amule-gsocket.o  amule-eggtrayicon.o amule-SysTray.o amule-gtk2-funcs.o amule-gtkplugxembed.o amule-CryptoPP.o  -pthread -lwx_gtk-2.4 -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lz -L/usr/lib -lcurl -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz
collect2: ld a retourné 1 code d'état d'exécution

what's wrong with me  ;(
Title: Re: Amule rc7 doesn't compile :-(
Post by: Jacobo221 on October 24, 2004, 04:11:24 PM
worng ld configuration. That's BAD. Your system is broken :-(((
Check /etc/ld.conf
In that file is 99% your problem.
Have luck! Greetigns!

P.S.: I suggest you to reinstall wx btw ;)
Title: Re: Amule rc7 doesn't compile :-(
Post by: Jacobo221 on October 24, 2004, 04:12:54 PM
btw, was there any output after that? if there was, maybe you lack something, so please paste it too. I relaly mean AFTER what you have pasted. no text BEFORE that is needed at all ;)
Greetings!
Title: Re: Amule rc7 doesn't compile :-(
Post by: guepe on October 24, 2004, 04:20:10 PM
the end of the error (not really interesting)

make[4]: *** [amule] Erreur 1
make[4]: Leaving directory `/home/guepe/Receive/aMule-2.0.0rc7/src'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/home/guepe/Receive/aMule-2.0.0rc7/src'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/home/guepe/Receive/aMule-2.0.0rc7/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/guepe/Receive/aMule-2.0.0rc7'
make: *** [all] Erreur 2
Title: Re: Amule rc7 doesn't compile :-(
Post by: guepe on October 24, 2004, 04:32:57 PM
argggggh.. strange thing... i tried to find ld.conf ... but i don't have this file :-(.. seems my system is really broken...

how could i find that file??  what could i do???
Title: Re: Amule rc7 doesn't compile :-(
Post by: thepolish on October 24, 2004, 06:23:17 PM
/etc/ld.so.conf

Must contains your library (wx) directory (/usr/local/lib or what ever)

Thepolish
Title: Re: Amule rc7 doesn't compile :-(
Post by: guepe on October 25, 2004, 10:30:21 AM
hello guys!!

i tried to add /usr/local/lib in my ld.conf file... doesn't work

i tried to reinstall wxgtk and wxbase lib.. works!!!

i'm an amule rc7 user now (greets) thx for all, sorry for this topic...
Title: Re: Amule rc7 doesn't compile :-(
Post by: thepolish on October 25, 2004, 12:02:21 PM
Did u run "ldconfig" under root after modifying the file ?

Thepolish