aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compilation pb.. with the Debian Howto  (Read 2479 times)

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
compilation pb.. with the Debian Howto
« on: June 21, 2004, 11:19:26 AM »

having big problems compiling amule, i finally found http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian

fantastic!!!

but still pb..

i have absolutely no errors before compiling amule, but when i type ./configure --disable-debug --enable-optimise && make, here is the error after some compiling stuff :

/usr/bin/ld: ne peut trouver -lcrypto++
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [amule] Erreur 1
make[2]: Leaving directory `/home/guepe/Receive/aMule/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/guepe/Receive/aMule/aMule-2.0.0rc3'
make: *** [all] Erreur 2
e/crypto++/config.hpe

what can i do????

i didn't forget to link crypto++, as said in the howto.... plz, i'm desperate, 3 days i'm on this crazy stuff!!!
Logged
Sincerily

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
new infos
« Reply #1 on: June 21, 2004, 11:24:23 AM »

new infos with the translation...

Making all in src
make[2]: Entering directory `/home/guepe/Receive/aMule/aMule-2.0.0rc3/src'
g++  -I/usr/include/ -D__CRYPTO_DEBIAN_GENTOO__  -O2    -o amule  amule-ListenSocket.o amule-ECSocket.o amule-EMSocket.o amule-AddFriend.o amule-AddFileThread.o amule-animate.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-EditServerListDlg.o amule-ExternalConn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o amule-filemem.o amule-filefn.o amule-Friend.o amule-FriendListCtrl.o amule-HTTPDownloadDlg.o amule-ini2.o amule-IPFilter.o amule-KnownFile.o amule-KnownFileList.o amule-listctrl.o amule-mfc.o amule-MD5Sum.o amule-MuleListCtrl.o amule-MuleNotebook.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-sockets.o amule-SplitterControl.o amule-StatisticsDlg.o amule-TransferWnd.o amule-treebasc.o amule-treectlc.o amule-UDPSocket.o amule-UploadClient.o amule-UploadListCtrl.o amule-UploadQueue.o amule-XBMDraw.o amule-amule.o amule-amuleDlg.o amule-gsocket.o  amule-eggtrayicon.o amule-SysTray.o amule-gtk2-funcs.o amule-gtkplugxembed.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 -lcrypto++
/usr/bin/ld: can't find -lcrypto++
collect2: ld returned 1 code of 'execution d'état' (state of execution ??)
make[2]: *** [amule] Erreur 1
make[2]: Leaving directory `/home/guepe/Receive/aMule/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/guepe/Receive/aMule/aMule-2.0.0rc3'
make: *** [all] Erreur 2


uname -a
Linux HOME 2.4.24-xfs #1 SMP Mi Feb 4 01:03:50 CET 2004 i686 GNU/Linux
Logged
Sincerily

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Re: compilation pb.. with the Debian Howto
« Reply #2 on: June 21, 2004, 02:35:37 PM »

this pb was solved by an apt-get install libgda0 et libgda0-devel...
see http://www.amule.org/wiki/index.php/CryptoppDebian

but i now have another error :

make[2]: Entering directory `/home/guepe/Receive/aMule/aMule-2.0.0rc3/src'
g++  -I/usr/include/ -D__CRYPTO_DEBIAN_GENTOO__  -O2    -o amule  amule-ListenSocket.o amule-ECSocket.o amule-EMSocket.o amule-AddFriend.o amule-AddFileThread.o amule-animate.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-EditServerListDlg.o amule-ExternalConn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o amule-filemem.o amule-filefn.o amule-Friend.o amule-FriendListCtrl.o amule-HTTPDownloadDlg.o amule-ini2.o amule-IPFilter.o amule-KnownFile.o amule-KnownFileList.o amule-listctrl.o amule-mfc.o amule-MD5Sum.o amule-MuleListCtrl.o amule-MuleNotebook.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-sockets.o amule-SplitterControl.o amule-StatisticsDlg.o amule-TransferWnd.o amule-treebasc.o amule-treectlc.o amule-UDPSocket.o amule-UploadClient.o amule-UploadListCtrl.o amule-UploadQueue.o amule-XBMDraw.o amule-amule.o amule-amuleDlg.o amule-gsocket.o  amule-eggtrayicon.o amule-SysTray.o amule-gtk2-funcs.o amule-gtkplugxembed.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 -lcrypto++
amule-listctrl.o(.gnu.linkonce.r._ZTV16wxODListTextCtrl+0x294): undefined reference to `wxTextCtrlBase::overflow(int)'
amule-listctrl.o(.gnu.linkonce.r._ZTV16wxODListTextCtrl+0x2d4): undefined reference to `non-virtual thunk [nv:-344] to wxTextCtrlBase::overflow(int)'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [amule] Erreur 1
make[2]: Leaving directory `/home/guepe/Receive/aMule/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/guepe/Receive/aMule/aMule-2.0.0rc3'
make: *** [all] Erreur 2


i have wxwindows installed, but i'll re-do it for a try..

but if u know how to do, plz tell me!!!!! (3days.. a bit long to compile!!)
Logged
Sincerily

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compilation pb.. with the Debian Howto
« Reply #3 on: June 21, 2004, 03:57:13 PM »

I'd suggest you to do the following:
make clean
configure ...
make
So you start again from the begining.
The compilation error comes from the final linking, so I mostly can guess that some object got compiled with different references than the others.
Try that and report.
Greetings and good luck! ;-)
Logged

guepe

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Re: compilation pb.. with the Debian Howto
« Reply #4 on: June 21, 2004, 04:23:59 PM »

all done (reinstalling all wxBase and GTK, compile great!!!
yes!)
thkx all lol!
Logged
Sincerily

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compilation pb.. with the Debian Howto
« Reply #5 on: June 29, 2004, 11:55:56 AM »

no prob ;-)
Have a nice aMule experience
Greetings!
Logged