aMule Forum
English => en_Bugs => Topic started by: alGo on April 16, 2004, 03:49:43 AM
-
Hi
I've compiled most of the previous releases without problems, but when making the latest rc2 I got the following error:
BaseClient.cpp: In member function `void CUpDownClient::Init()':
BaseClient.cpp:210: no matching function for call to `wxIPV4address::IPAddress()'
BaseClient.cpp: In member function `bool CUpDownClient::ProcessHelloTypePacket(CSafeMemFile*)':
BaseClient.cpp:516: no matching function for call to `wxIPV4address::IPAddress()'
BaseClient.cpp: In member function `void CUpDownClient::SendHelloPacket()':
BaseClient.cpp:624: no matching function for call to `wxIPV4address::IPAddress()'
BaseClient.cpp:1578:10: warning: #warning ADDME - Import needed
make[2]: *** [amule-BaseClient.o] Error 1
Any ideas? I got no idea where to start looking...
Thanks
Al
-
hi,
maybe u updated your wxgtk last days ?
plz do ls -l /usr/bin/wx* and ls -l /usr/local/bin/wx*
greets
-
Hi
maybe u updated your wxgtk last days ?
Most likely no. Not that I can remember anyway...
plz do ls -l /usr/bin/wx* and ls -l /usr/local/bin/wx*
[14:08:01][al@~]$ ls -l /usr/bin/wx*
lrwxrwxrwx 1 root root 16 jul 25 2003 /usr/bin/wx-config -> wxgtk-2.4-config*
-rwxr-xr-x 1 root root 4818 jul 25 2003 /usr/bin/wxgtk-2.4-config*
-rwxr-xr-x 1 root root 244476 oct 1 2003 /usr/bin/wxrc*
[14:08:12][al@~]$ ls -l /usr/local/bin/wx*
ls: /usr/local/bin/wx*: No such file or directory
[14:08:27][al@~]$
BTW, I noticed this on the configure script:
checking for wxbase-2.4-config... no
configure:
WARNING: libwx_base >= 2.4.0 is not found.
This is not needed for compiling aMule, but it is for compiling amulecmd.
If you have no wxbase, amulecmd will be linked against wxgtk, thus removing
all the non-graphical client meaning at all.
Please check that wxbase-2.4-config is in path, the directory
where wxWidgets base libraries are installed (returned by
'wxbase-2.4-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets base is version 2.4.0 or above.
Or this might also be that your wxbase-config has other name.
Please try again with --with-wxbase-config=/usr/bin/wxbase-config
(replace /usr/bin/wxbase-config with a valid path to your wxbase-config)
* Note:
Most probably, either one of the above aren't correct, you don't
have wxbase installed, or are missing wxbase-devel (or equivalent) package.
...
checking if wxWidgets version >=2.5.0 ... no
...
Don't know, maybe it's important.
I'm going to try to make the rc1, wich should compile if I didn't touch anything.
Thanks for your help.
Al
-
u don't have wxBase ..
take a look at my sig, comp / install. howto
greets
-
The problem is you have wxWindows 2.4.1
-
Thanks!
It seems to be compiling right now.
Thing is, just before installing wxbase i tried rc1 again and compiled without problems. Hasn't wxbase been actually requiered until now, or was i just having (bad) luck?
Well, guess it's not really important now. Many thanks for your help.
Al
-
Well, seems I spoke too soon.
It seems to compile the files without errors, but in the end it complains about undefined references (That's in the linking part, right?)
++ -I/usr/local/include -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__ -Wall -g -ggdb -fno-inline -D__DEBUG__ -g -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-FriendList.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/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -lz -L/usr/local/lib -lcurl -lz -lssl -lcrypto -ldl -lz -lcryptopp
amule-BaseClient.o(.text+0x177e): In function `CUpDownClient::Init()':
: undefined reference to `wxIPV4address::IPAddress() const'
amule-BaseClient.o(.text+0x288e): In function `CUpDownClient::ProcessHelloTypePacket(CSafeMemFile*)':
: undefined reference to `wxIPV4address::IPAddress() const'
amule-BaseClient.o(.text+0x3463): In function `CUpDownClient::SendHelloPacket()':
: undefined reference to `wxIPV4address::IPAddress() const'
amule-ClientUDPSocket.o(.text+0x450): In function `CClientUDPSocket::OnReceive(int)':
: undefined reference to `wxIPV4address::IPAddress() const'
amule-ServerSocket.o(.text+0x4fa): In function `CServerSocket::OnConnect(wxSocketError)':
: undefined reference to `wxIPV4address::IPAddress() const'
amule-UDPSocket.o(.text+0x610): more undefined references to `wxIPV4address::IPAddress() const' follow
collect2: ld returned 1 exit status
Any ideas about what should i do next?
what's that about wxWindows 2.4.1?
BTW, here's the configure report, maybe it's useful:
Configured aMule 2.0.0rc2 for 'i686-pc-linux'.
Should aMule be compiled in debug mode? no
Should aMule be compiled with release grp code? no
Should aMule be compiled without debug reporting? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? yes
Should aMule be compiled with systray? yes
Should aMule be compiled with safe systray? no
Should aMule be compiled with pure GTK code? yes
Should aMule be compiled without bar drawing? no
Should aMule be linked against patched gsocket? yes
Should ccache support be enabled? no
Should aMule command line client be built? no
Should aMule GUI client be build? no
Should aMule WebServer be build? no
Should aMule WebServer GUI be build? no
Should aMule ed2k links handler be build? yes
Should C aMule Statistics (CAS) be build? yes
Crypto++ library/headers style? mdk_suse_fc
Which libraries should aMule use?
wxWidgets 2.4.1
GTK 1.2.10
and ls -l /usr/bin/wx*
[15:15:41][al@~]$ ls -l /usr/bin/wx*
-rwxr-xr-x 1 root root 4864 abr 16 14:47 /usr/bin/wxbase-2.4-config*
lrwxrwxrwx 1 root root 26 abr 16 14:48 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config*
lrwxrwxrwx 1 root root 25 abr 16 14:47 /usr/bin/wx-config -> /usr/bin/wxgtk-2.4-config*
-rwxr-xr-x 1 root root 4818 jul 25 2003 /usr/bin/wxgtk-2.4-config*
-rwxr-xr-x 1 root root 244476 oct 1 2003 /usr/bin/wxrc*
[15:15:44][al@~]$
Many many thanks for your help.
Al
-
update your wxgtk to 2.4.2 plz
-
Thank you all, I'm downloading with rc2 right now.
deltaHF, your howtos are really good and simple. It's a shame we users don't usually read them :-(
Thanks again for your help, you're really nice people.
Al