aMule Forum
English => aMule Help => Topic started by: realcruncher on June 19, 2004, 12:31:13 PM
-
Hi,
when i compile amule-cvs everything works until the linking process:
g++ -I/usr/include/ -D__CRYPTO_DEBIAN_GENTOO__ -o amule amule-ListenSocke
t.o amule-ECSocket.o amule-EMSocket.o amule-AddFriend.o amule-AddFileThread.o am
ule-BarShader.o amule-BaseClient.o amule-ChatSelector.o amule-ChatWnd.o amule-Ca
tDialog.o amule-CFile.o amule-ClientCredits.o amule-ClientDetailDialog.o amule-C
lientList.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-EditServerListD
lg.o amule-ExternalConn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o am
ule-filemem.o amule-filefn.o amule-Friend.o amule-FriendListCtrl.o amule-MuleGif
Ctrl.o amule-HTTPDownloadDlg.o amule-IPFilter.o amule-KnownFile.o amule-KnownFil
eList.o amule-listctrl.o amule-MD5Sum.o amule-MuleListCtrl.o amule-MuleNotebook.
o amule-muuli_wdr.o amule-OScopeCtrl.o amule-otherfunctions.o amule-packets.o am
ule-PartFile.o amule-Preferences.o amule-PrefsUnifiedDlg.o amule-Preview.o amule
-QueueListCtrl.o amule-SafeFile.o amule-SearchDlg.o amule-SearchList.o amule-Sea
rchListCtrl.o amule-server.o amule-ServerList.o amule-ServerListCtrl.o amule-Ser
verSocket.o amule-ServerWnd.o amule-SharedFileList.o amule-SharedFilesCtrl.o amu
le-SharedFilesWnd.o amule-sockets.o amule-SplitterControl.o amule-StatisticsDlg.
o amule-TransferWnd.o amule-UDPSocket.o amule-UploadClient.o amule-UploadListCtr
l.o amule-UploadQueue.o amule-amule.o amule-amuleDlg.o amule-gsocket.o amule-eg
gtrayicon.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 -lcry
pto -ldl -lz -lcrypto++
then the following erros occur (only the first few lines shown):
amule-ListenSocket.o(.text+0x2b): In function `ArrayOfwxStrings::~ArrayOfwxStrin
gs [not-in-charge]()':
: undefined reference to `wxArrayPtrVoid::~wxArrayPtrVoid [not-in-charge]()'
amule-ListenSocket.o(.text+0x44): In function `ArrayOfwxStrings::~ArrayOfwxStrin
gs [not-in-charge]()':
: undefined reference to `wxArrayPtrVoid::~wxArrayPtrVoid [not-in-charge]()'
amule-ListenSocket.o(.text+0x6f): In function `ArrayOfwxStrings::~ArrayOfwxStrin
gs [in-charge]()':
: undefined reference to `wxArrayPtrVoid::~wxArrayPtrVoid [not-in-charge]()'
amule-ListenSocket.o(.text+0x88): In function `ArrayOfwxStrings::~ArrayOfwxStrin
gs [in-charge]()':
: undefined reference to `wxArrayPtrVoid::~wxArrayPtrVoid [not-in-charge]()'
amule-ListenSocket.o(.text+0xa6): In function `ArrayOfwxStrings::DoCopy(ArrayOfw
xStrings const&)':
: undefined reference to `wxBaseArrayPtrVoid::Count() const'
What's wrong ?
-
http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian
-
http://amule.hirnriss.net/cvs/aMule-cvs-20040619.tar.bz2
and i followed your instructions...i am using debian testing and all packets are installed, the symlink made... so something wrong in the makefile ?
-
do ls -l /usr/bin/wx*
-
Are you sure you installed the correct wx version? that is, 2.4.2 or 2.5.1? Are you sure you uninstalled any previously installed or compiled/installed wx version?
This howto has been tested on about twenty different debian systems, and works fine. What's more, I use Debian/Testing too. So I guess there's some step wrong when you're following the howto or some weird config in your system.
Greetings!
-
root@master [5]% (.../src/amule-cvs): ls -l /usr/bin/wx*
lrwxrwxrwx 1 root root 27 Jun 18 19:47 /usr/bin/wx-config -> /etc/alternatives/wx-config*
-rwxr-xr-x 1 root root 4865 Jan 6 14:34 /usr/bin/wxbase-2.4-config*
-rwxr-xr-x 1 root root 170276 Apr 29 17:03 /usr/bin/wxcas*
-rwxr-xr-x 1 root root 5159 Jan 6 15:07 /usr/bin/wxgtk-2.4-config*
I used the debian packages from thermoman.
-
thermoman's are for woody/stable.
Better use the official debian packages if you're using sarge/testing.
Report if still problems are there.
Greetings!
-
Hi Jacobo221,
when i remove all wx packages and comment thermoman in sources.list then
i can install all but libcrypto++. So i had to reenable thermoman again and install libcrypto++.
Btw. to remove the packages i had to remove amule aswell.
So now if i want to install amule again debian wants to "upgrade" my wx* packages from thermoman and then i have the woody packages again.
I just want the amule 2.0.0rc3 and replace it with a newer self compiled version because emule often freezes and i have to restart amule 2.0.0rc3 which might be fixed in the cvs-amule.
So is there a newer debian package or can't someone try the same as me and compile amule on debian sarge without self compiled wx* libraries ?
Thanks.
-
On Sarge/Sid you can isntall Debian's official wx packages wit no problems. just purge both wx, amule, crypto++ and curl and install from debian official wx, crypto++ and curl. then compile aMule. Just as the howto says ;-) http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian
Luck and report problems.
Greetings!