aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: undefined reference to `Kademlia::...  (Read 3285 times)

Armin76

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
undefined reference to `Kademlia::...
« on: October 28, 2005, 09:35:47 PM »

Hi
I did ./configure --disable-debug --enable-optimize && make
and this is the output:

g++  -DUSE_EMBEDDED_CRYPTO  -O2   -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-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-NodeListCtrl.o amule-OScopeCtrl.o amule-OtherFunctions.o amule-Packet.o amule-PartFile.o amule-PartFileConvert.o amule-PlatformSpecific.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-StateMachine.o amule-Statistics.o amule-StatisticsDlg.o amule-StatTree.o amule-StringFunctions.o amule-TransferWnd.o amule-UploadBandwidthThrottler.o amule-UploadClient.o amule-UploadQueue.o amule-UInt128.o   amule-CryptoPP.o   amule-MuleTrayIcon.o -pthread   -L/usr/X11R6/lib  -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6  -lz
amule-KadDlg.o(.text+0x889): In function `CKadDlg::OnBnClickedBootstrapClient(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::m_running'
amule-KadDlg.o(.text+0x89f): In function `CKadDlg::OnBnClickedBootstrapClient(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::bootstrap(unsigned, unsigned short)'
amule-KadDlg.o(.text+0x8a9): In function `CKadDlg::OnBnClickedBootstrapClient(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::start()'
amule-KadDlg.o(.text+0xca2): In function `CKadDlg::OnBnClickedBootstrapKnown(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::m_running'
amule-KadDlg.o(.text+0xcc2): In function `CKadDlg::OnBnClickedDisconnectKad(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::m_running'
amule-KadDlg.o(.text+0xcb2): In function `CKadDlg::OnBnClickedBootstrapKnown(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::start()'
amule-KadDlg.o(.text+0xcd2): In function `CKadDlg::OnBnClickedDisconnectKad(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::stop()'
amule-NodeListCtrl.o(.text+0x72f): In function `CNodeListCtrl::RemoveAllNodes(int)':
: undefined reference to `Kademlia::CKademlia::getRoutingZone()'
amule-NodeListCtrl.o(.text+0x73b): In function `CNodeListCtrl::RemoveAllNodes(int)':
: undefined reference to `Kademlia::CRoutingZone::remove(Kademlia::CUInt128 const&)'
amule-NodeListCtrl.o(.text+0x8b8): In function `CNodeListCtrl::RefreshNode(Kademlia::CContact const*)':
: undefined reference to `Kademlia::CContact::getClientIDString() const'
amule-NodeListCtrl.o(.text+0x8ff): In function `CNodeListCtrl::RefreshNode(Kademlia::CContact const*)':
: undefined reference to `Kademlia::CContact::getType() const'
amule-NodeListCtrl.o(.text+0x96b): In function `CNodeListCtrl::RefreshNode(Kademlia::CContact const*)':
: undefined reference to `Kademlia::CContact::getDistanceString() const'
amule-NodeListCtrl.o(.text+0xa5c): In function `CNodeListCtrl::RefreshNode(Kademlia::CContact const*)':
: undefined reference to `Kademlia::CContact::getClientIDString() const'
amule-NodeListCtrl.o(.text+0x178b): In function `CNodeListCtrl::OnBootstrapNode(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::m_running'
amule-NodeListCtrl.o(.text+0x17a4): In function `CNodeListCtrl::OnBootstrapNode(wxCommandEvent&)':
: undefined reference to `Kademlia::CContact::getUDPPort() const'
amule-NodeListCtrl.o(.text+0x17b2): In function `CNodeListCtrl::OnBootstrapNode(wxCommandEvent&)':
: undefined reference to `Kademlia::CContact::getIPAddress() const'
amule-NodeListCtrl.o(.text+0x17c8): In function `CNodeListCtrl::OnBootstrapNode(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::start()'
amule-NodeListCtrl.o(.text+0x1a53): In function `CNodeListCtrl::OnRemoveNodes(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::stop()'
amule-NodeListCtrl.o(.text+0x1c3c): In function `CNodeListCtrl::SortProc(long, long, long)':
: undefined reference to `Kademlia::CContact::getDistanceString() const'
amule-NodeListCtrl.o(.text+0x1c4b): In function `CNodeListCtrl::SortProc(long, long, long)':
: undefined reference to `Kademlia::CContact::getDistanceString() const'
amule-NodeListCtrl.o(.text+0x1cb6): In function `CNodeListCtrl::SortProc(long, long, long)':
: undefined reference to `Kademlia::CContact::getClientIDString() const'
amule-NodeListCtrl.o(.text+0x1cc5): In function `CNodeListCtrl::SortProc(long, long, long)':
: undefined reference to `Kademlia::CContact::getClientIDString() const'
amule-NodeListCtrl.o(.text+0x1d07): In function `CNodeListCtrl::SortProc(long, long, long)':
: undefined reference to `Kademlia::CContact::getType() const'
amule-NodeListCtrl.o(.text+0x1d12): In function `CNodeListCtrl::SortProc(long, long, long)':
: undefined reference to `Kademlia::CContact::getType() const'
amule-NodeListCtrl.o(.text+0x17c3): In function `CNodeListCtrl::OnBootstrapNode(wxCommandEvent&)':
: undefined reference to `Kademlia::CKademlia::bootstrap(unsigned, unsigned short)'
collect2: ld returned 1 exit status
make[4]: *** [amule] Error 1
make[4]: Leaving directory `/root/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/amule-cvs'
make: *** [all] Error 2

----------
:~/amule-cvs# ls -l /usr/bin/wx*
lrwxrwxrwx  1 root root    43 2005-10-28 19:45 /usr/bin/wx-config -> /usr/lib/wx/config/gtk2-unicode-release-2.6
lrwxrwxrwx  1 root root     8 2005-10-28 19:45 /usr/bin/wxrc -> wxrc-2.6
-rwxr-xr-x  1 root root 91475 2005-10-28 19:45 /usr/bin/wxrc-2.6
:~/amule-cvs# ls -l /usr/local/bin/wx*
ls: /usr/local/bin/wx*: No such file or directory


This error occurs with version 1020,1027,1028 of the CVS. I did a search too, but i didn't find something about this specific error.

Thanks
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: undefined reference to `Kademlia::...
« Reply #1 on: October 28, 2005, 09:48:08 PM »

Yeah, current CVS can't be compiled without Kad enabled.
Logged

Armin76

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: undefined reference to `Kademlia::...
« Reply #2 on: October 28, 2005, 10:24:37 PM »

Thank you. I will try with ./configure --enable-kad-compile
Logged