aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: wxGTK 2.6 and "undefined reference"  (Read 6411 times)

lotDIMM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
wxGTK 2.6 and "undefined reference"
« on: May 21, 2005, 01:22:01 PM »

I try to compile aMule 2.0 using wxGTK 2.6. My OS, Ubuntu 5.04, don't have packages for this version of wxGTK so i choose to compile from source: i followed the guide on wiki's pages and wxGTK 2.6 compiled perfectly but aMule seem to not find the library and show me a lot of these message (example):

amule-MuleTrayIcon.o(.text+0x1dab):/home/mauro/Download/aMule-2.0.0/src/MuleTrayIcon.cpp:535: undefined reference to `wxString::Format(wchar_t const*, ...)'

Could someone help me?
Thanks
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: wxGTK 2.6 and "undefined reference"
« Reply #1 on: May 21, 2005, 02:44:34 PM »

well, first get amule 2.0.1, then show me the output of:

ls -l /usr/bin/wx* and ls -l /usr/local/bin/wx*

lotDIMM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: wxGTK 2.6 and "undefined reference"
« Reply #2 on: May 21, 2005, 04:07:36 PM »

ls -l /usr/bin/wx*

mauro@demon:~/Download/wxGTK-2.6.0/buildgtk $ ls -l /usr/bin/wx*
lrwxrwxrwx  1 root root    43 2005-05-21 15:48 /usr/bin/wx-config ->/usr/lib/wx/config/gtk2-unicode-release-2.6
lrwxrwxrwx  1 root root     8 2005-05-21 15:48 /usr/bin/wxrc -> wxrc-2.6
-rwxr-xr-x  1 root root 80147 2005-05-21 15:48 /usr/bin/wxrc-2.6

and ls -l /usr/local/bin/wx*

mauro@demon:~/Download/wxGTK-2.6.0/buildgtk $ ls -l /usr/local/bin/wx*
-rwxr-xr-x  1 root staff 1695302 2005-03-11 13:49 /usr/local/bin/wxcas

I tried to compile aMule 2.0.1 too but make show me the same errors.
Logged

Nodsu

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 62
Re: wxGTK 2.6 and "undefined reference"
« Reply #3 on: May 21, 2005, 07:22:40 PM »

Did you run ldconfig after installing wxGTK?
Do you have the directories wxGTK installed itself to in the ld.so.conf file so ldconfig would find them?
Logged

lotDIMM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: wxGTK 2.6 and "undefined reference"
« Reply #4 on: May 21, 2005, 09:19:08 PM »

After make install of wxGTK I run ldconfig and in the output there is libwx.

        libesd.so.0 -> libesd.so.0.2.35
        libwx_gtk2_core-2.6.so.0 -> libwx_gtk2_core-2.6.so.0.0.0
        libpt.so.1.8.4 -> libpt.so.1.8.4
        libkdeinit_kmix.so -> libkdeinit_kmix.so
        libgdchart.so.0 -> libgdchart.so.0.10.1


With wxGTK 2.4.2 aMule compile without problem...But I want the feature of GTK 2.x!!! :(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxGTK 2.6 and "undefined reference"
« Reply #5 on: May 22, 2005, 08:16:18 AM »

well can you post some more compile errors? starting from the top when it first starts, I think there might also be some gtk2 files missing...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lotDIMM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: wxGTK 2.6 and "undefined reference"
« Reply #6 on: May 22, 2005, 04:30:04 PM »

well can you post some more compile errors? starting from the top when it first starts, I think there might also be some gtk2 files missing...

It's strange (I think), I already installed all GTK 2 packages that I found in Ubuntu repository but I'm going to prepare the file with make output and post it on forum.

Thaks to all  :)
Logged

lotDIMM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Compilation Error
« Reply #7 on: May 23, 2005, 02:02:28 PM »

This is the error message's final part:

Code: [Select]
amule-Statistics.o(.text+0x8c62): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/Format.h:220: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-StatisticsDlg.o(.text+0x66f): In function `CStatisticsDlg::InitGraphs()':
/home/mauro/Download/aMule-2.0.1/src/StatisticsDlg.cpp:97: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-StatisticsDlg.o(.text+0x71d):/home/mauro/Download/aMule-2.0.1/src/StatisticsDlg.cpp:99: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-StatisticsDlg.o(.text+0xb32): In function `CStatisticsDlg::UpdateStatGraphs(bool, unsigned, UpdateInfo const&)':
/home/mauro/Download/aMule-2.0.1/src/StatisticsDlg.cpp:172: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-StatisticsDlg.o(.text+0xb42):/home/mauro/Download/aMule-2.0.1/src/StatisticsDlg.cpp:172: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-StatisticsDlg.o(.text+0xda7): In function `CStatisticsDlg::InitTree()':
/home/mauro/Download/aMule-2.0.1/src/StatisticsDlg.cpp:212: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-StatisticsDlg.o(.text+0x11e2): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/StringFunctions.h:82: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-StatisticsDlg.o(.gnu.linkonce.r._ZTV14CStatisticsDlg+0x274):/home/mauro/Download/aMule-2.0.1/src/StatisticsDlg.cpp:72: undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
amule-StateMachine.o(.text+0x57a): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/StringFunctions.h:82: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-StringFunctions.o(.text+0x15f): In function `TruncateFilename(wxString const&, unsigned, bool)':
/home/mauro/Download/aMule-2.0.1/src/StringFunctions.cpp:72: undefined reference to `wxString::BeforeLast(wchar_t) const'
amule-StringFunctions.o(.text+0x184):/home/mauro/Download/aMule-2.0.1/src/StringFunctions.cpp:73: undefined reference to `wxString::AfterLast(wchar_t) const'
amule-StringFunctions.o(.text+0x202):/home/mauro/Download/aMule-2.0.1/src/StringFunctions.cpp:91: undefined reference to `operator+(wxString const&, wchar_t)'
amule-StringFunctions.o(.text+0x2ab):/home/mauro/Download/aMule-2.0.1/src/StringFunctions.cpp:97: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-StringFunctions.o(.text+0x354):/home/mauro/Download/aMule-2.0.1/src/StringFunctions.cpp:84: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-StringFunctions.o(.text+0x6ca): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/StringFunctions.h:82: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-StringFunctions.o(.gnu.linkonce.t._Z12unicode2charRK8wxString+0x2e): In function `unicode2char(wxString const&)':
/home/mauro/Download/aMule-2.0.1/src/StringFunctions.h:116: undefined reference to `wxMBConv::cWX2MB(wchar_t const*) const'
amule-StringFunctions.o(.gnu.linkonce.t._Z12unicode2UTF8RK8wxString+0x2e): In function `unicode2UTF8(wxString const&)':
/home/mauro/Download/aMule-2.0.1/src/StringFunctions.h:116: undefined reference to `wxMBConv::cWX2MB(wchar_t const*) const'
amule-StringFunctions.o(.gnu.linkonce.t._Z17MakeStringEscaped8wxString+0x31): In function `MakeStringEscaped(wxString)':
/home/mauro/Download/aMule-2.0.1/src/StringFunctions.h:115: undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
amule-TransferWnd.o(.text+0xfd5): In function `CTransferWnd::UpdateCategory(int, bool)':
/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:182: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-TransferWnd.o(.text+0x1148): In function `CTransferWnd::OnSetCatStatus(wxCommandEvent&)':
/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:198: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-TransferWnd.o(.text+0x1163):/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:198: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-TransferWnd.o(.text+0x1633): In function `CTransferWnd::ShowQueueCount(unsigned)':
/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:279: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-TransferWnd.o(.text+0x166b):/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:279: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-TransferWnd.o(.text+0x17b3): In function `CTransferWnd::OnNMRclickDLtab(wxMouseEvent&)':
/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:306: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-TransferWnd.o(.text+0x1818):/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:336: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-TransferWnd.o(.text+0x1895):/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:339: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-TransferWnd.o(.text+0x18f9):/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:340: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-TransferWnd.o(.text+0x1968):/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:345: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-TransferWnd.o(.text+0x19cc):/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:346: more undefined references to `wxGetTranslation(wchar_t const*)' follow
amule-TransferWnd.o(.gnu.linkonce.r._ZTV12CTransferWnd+0x274):/home/mauro/Download/aMule-2.0.1/src/TransferWnd.cpp:104: undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
amule-UploadClient.o(.text+0x84c): In function `CUpDownClient::CreateNextBlockPackage()':
/home/mauro/Download/aMule-2.0.1/src/UploadClient.cpp:264: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-UploadClient.o(.text+0xb0f):/home/mauro/Download/aMule-2.0.1/src/UploadClient.cpp:244: undefined reference to `operator+(wxString const&, wchar_t)'
amule-UploadClient.o(.text+0xc8e):/home/mauro/Download/aMule-2.0.1/src/UploadClient.cpp:306: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-UploadClient.o(.text+0xcb2):/home/mauro/Download/aMule-2.0.1/src/UploadClient.cpp:306: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-UploadClient.o(.text+0xcec):/home/mauro/Download/aMule-2.0.1/src/UploadClient.cpp:306: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-UploadClient.o(.text+0x230c): In function `CUpDownClient::SendHashsetPacket(CMD4Hash const&)':
/home/mauro/Download/aMule-2.0.1/src/UploadClient.cpp:637: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-UploadClient.o(.text+0x296e): In function `CUpDownClient::Ban()':
/home/mauro/Download/aMule-2.0.1/src/UploadClient.cpp:743: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-UploadClient.o(.text+0x2986):/home/mauro/Download/aMule-2.0.1/src/UploadClient.cpp:743: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-UploadClient.o(.text+0x2d32): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/Format.h:220: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-UploadQueue.o(.text+0x197f): In function `CUploadQueue::ResumeUpload(CMD4Hash const&)':
/home/mauro/Download/aMule-2.0.1/src/UploadQueue.cpp:509: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-UploadQueue.o(.text+0x1aa8): In function `CUploadQueue::SuspendUpload(CMD4Hash const&)':
/home/mauro/Download/aMule-2.0.1/src/UploadQueue.cpp:518: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-UploadQueue.o(.text+0x2062): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/Format.h:220: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-DataIO.o(.text+0xf2a): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/StringFunctions.h:82: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-UInt128.o(.text+0x4b6): In function `Kademlia::CUInt128::toHexString(wxString*) const':
kademlia/utils/UInt128.cpp:179: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-UInt128.o(.text+0x550): In function `Kademlia::CUInt128::toBinaryString(wxString*, bool) const':
kademlia/utils/UInt128.cpp:192: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x4b): In function `GetSpeedFromString(wxString)':
/usr/include/wx-2.6/wx/string.h:399: undefined reference to `wxString::Replace(wchar_t const*, wchar_t const*, bool)'
amule-MuleTrayIcon.o(.text+0x103): In function `CMuleTrayIcon::SetUploadSpeed(wxCommandEvent&)':
/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:129: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x213): In function `CMuleTrayIcon::SetDownloadSpeed(wxCommandEvent&)':
/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:150: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x355): In function `CMuleTrayIcon::ServerConnection(wxCommandEvent&)':
/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:168: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0xdb9): In function `CMuleTrayIcon::CreatePopupMenu()':
/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:328: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0xe3c):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:334: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0xe64):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:339: more undefined references to `wxGetTranslation(wchar_t const*)' follow
amule-MuleTrayIcon.o(.text+0xe73): In function `CMuleTrayIcon::CreatePopupMenu()':
/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:339: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0xeac):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:348: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0xebb):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:348: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0xf35):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:355: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0xf4b):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:355: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0xfc5):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:357: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0xfdb):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:357: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x1067):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:363: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x10a2):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:367: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x10d2):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:369: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x113f):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:379: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x118e):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:383: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x120c):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:392: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1227):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:393: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x134c):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:408: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x142b):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:421: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1447):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:421: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x14e6):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:432: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1502):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:432: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x1598):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:443: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x162a):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:453: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1640):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:453: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-MuleTrayIcon.o(.text+0x16be):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:459: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x16da):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:459: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x174d):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:465: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1769):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:465: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x180a):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:472: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x190d):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:479: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1a48):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:490: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1aa9):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:494: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1aea):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:498: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1bbd):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:512: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x1cad):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:520: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1d80):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:535: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x1ea4):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:546: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1f34):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:557: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x1fa6):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:567: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x2027):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:560: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x2091):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:549: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x210d):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:446: more undefined references to `wxGetTranslation(wchar_t const*)' follow
amule-MuleTrayIcon.o(.text+0x220f): In function `CMuleTrayIcon::CreatePopupMenu()':
/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:351: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x2238):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:342: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-MuleTrayIcon.o(.text+0x224b):/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:342: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-MuleTrayIcon.o(.text+0x2496): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/MuleTrayIcon.cpp:86: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
collect2: ld returned 1 exit status
make[3]: *** [amule] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Logged

lotDIMM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: wxGTK 2.6 and "undefined reference"
« Reply #8 on: May 23, 2005, 02:05:48 PM »

And this is the begin part of the error messages:

Code: [Select]
amule-AddFriend.o(.text+0x51): In function `CAddFriend::CAddFriend[not-in-charge](wxWindow*)':
/home/mauro/Download/aMule-2.0.1/src/AddFriend.cpp:56: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFriend.o(.text+0x171): In function `CAddFriend::CAddFriend[in-charge](wxWindow*)':
/home/mauro/Download/aMule-2.0.1/src/AddFriend.cpp:56: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFriend.o(.text+0x3d5): In function `CAddFriend::OnAddBtn(wxCommandEvent&)':
/home/mauro/Download/aMule-2.0.1/src/AddFriend.cpp:75: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFriend.o(.text+0x48e):/home/mauro/Download/aMule-2.0.1/src/AddFriend.cpp:80: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFriend.o(.text+0x722): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/StringFunctions.h:82: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-AddFriend.o(.gnu.linkonce.r._ZTV10CAddFriend+0x274):/home/mauro/Download/aMule-2.0.1/src/AddFriend.cpp:62: undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
amule-AddFriend.o(.gnu.linkonce.t._ZN12wxStringBaseC2EPKw+0x23): In function `wxStringBase::wxStringBase[not-in-charge](wchar_t const*)':
/home/mauro/Download/aMule-2.0.1/src/AddFriend.cpp:54: undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned, unsigned)'
amule-AddFileThread.o(.text+0xee): In function `CAddFileThread::CreateNewThread()':
/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:83: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFileThread.o(.text+0x34b): In function `CAddFileThread::Stop()':
/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:137: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFileThread.o(.text+0x725): In function `CAddFileThread::Entry()':
/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:221: undefined reference to `operator+(wxString const&, wchar_t)'
amule-AddFileThread.o(.text+0x797):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:228: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-AddFileThread.o(.text+0x80c):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:235: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-AddFileThread.o(.text+0x941):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:271: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFileThread.o(.text+0xa2c):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:285: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-AddFileThread.o(.text+0xc1a):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:337: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFileThread.o(.text+0xcd8):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:326: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-AddFileThread.o(.text+0xd71):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:273: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFileThread.o(.text+0xdf3):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:241: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-AddFileThread.o(.text+0xe3a):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:216: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFileThread.o(.text+0xe6d):/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:346: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AddFileThread.o(.text+0x12da): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/AddFileThread.cpp:60: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-AICHSyncThread.o(.text+0x19d): In function `CAICHSyncThread::Stop()':
/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:86: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0x35b): In function `CAICHSyncThread::~CAICHSyncThread [not-in-charge]()':
/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:139: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0x42b): In function `CAICHSyncThread::~CAICHSyncThread [in-charge]()':
/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:139: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0x4fc): In function `CAICHSyncThread::~CAICHSyncThread [in-charge deleting]()':
/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:139: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0x5b0): In function `CAICHSyncThread::Entry()':
/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:145: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0x615):/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:151: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-AICHSyncThread.o(.text+0x6e9):/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:188: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0x912):/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:226: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0x925):/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:226: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-AICHSyncThread.o(.text+0x9c8):/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:231: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0xace):/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:239: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-AICHSyncThread.o(.text+0xafe):/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:243: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0xb3c):/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:245: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-AICHSyncThread.o(.text+0xe54): In function `__static_initialization_and_destruction_0':
/home/mauro/Download/aMule-2.0.1/src/AICHSyncThread.cpp:48: undefined reference to `wxCSConv::wxCSConv[in-charge](wchar_t const*)'
amule-amule.o(.text+0xb9f): In function `CamuleApp::OnInit()':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:411: undefined reference to `wxString::BeforeFirst(wchar_t) const'
amule-amule.o(.text+0xc0b):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:417: undefined reference to `wxCmdLineParser::wxCmdLineParser[in-charge](int, wchar_t**)'
amule-amule.o(.text+0x1159):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:478: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x1428):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:528: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x1446):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:528: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x149a):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:529: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x14b2):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:529: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x14e7):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:531: undefined reference to `wxDirExists(wchar_t const*)'
amule-amule.o(.text+0x152a):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:565: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x155c):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:566: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x1605):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:576: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x16bc):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:582: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x17a3):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:589: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x17bb):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:589: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x17d9):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:589: undefined reference to `wxFFileOutputStream::wxFFileOutputStream[in-charge](wxString const&, wchar_t const*)'
amule-amule.o(.text+0x19aa):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:627: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x19c8):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:627: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x1c87):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:711: undefined reference to `wxString::StartsWith(wchar_t const*, wxString*) const'
amule-amule.o(.text+0x1ca7):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:717: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x1d25):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:728: undefined reference to `wxString::StartsWith(wchar_t const*, wxString*) const'
amule-amule.o(.text+0x207e):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:840: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x20f2):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:848: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x2183):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:852: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x2279):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:733: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x22db):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:664: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x232c):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:666: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x244d):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:532: undefined reference to `wxDirExists(wchar_t const*)'
amule-amule.o(.text+0x248a):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:536: undefined reference to `wxDirExists(wchar_t const*)'
amule-amule.o(.text+0x255b):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:545: undefined reference to `wxString::AfterLast(wchar_t) const'
amule-amule.o(.text+0x2586):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:545: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x26d6):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:552: undefined reference to `wxString::AfterLast(wchar_t) const'
amule-amule.o(.text+0x2701):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:552: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x27c1):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:556: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x27df):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:556: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x3263): In function `CamuleApp::ReinitializeNetwork(wxString*)':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:980: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x3304):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:984: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x3350):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:988: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x3a82): In function `CamuleApp::CreateHTMLED2kLink(CAbstractFile const*)':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1060: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-amule.o(.text+0x3aa0):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1060: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x3ad7):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1060: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x3ea4): In function `CamuleApp::OnlineSig(bool)':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1119: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x3f1b):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1127: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x438a):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1250: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-amule.o(.text+0x4400):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1143: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-amule.o(.text+0x4446):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1143: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-amule.o(.text+0x4464):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1143: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x44a7):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1143: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x45e3):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1164: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-amule.o(.text+0x4690):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1190: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-amule.o(.text+0x46c8):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1192: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x4723):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1196: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-amule.o(.text+0x475b):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1198: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x47b6):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1202: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-amule.o(.text+0x482a):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1208: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-amule.o(.text+0x4c8b): In function `CamuleApp::Localize_mule()':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1287: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x4cfd): In function `CamuleApp::Trigger_New_version(wxString)':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1297: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x4d35):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1297: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-amule.o(.text+0x4d53):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1297: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x4d8a):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1299: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x4da5):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1300: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x4dc0):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1301: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x4def):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1306: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x4e0a):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1307: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x4e39):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1309: more undefined references to `wxGetTranslation(wchar_t const*)' follow
amule-amule.o(.text+0x4f5e): In function `CamuleApp::SetOSFiles(wxString)':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1318: undefined reference to `wxDirExists(wchar_t const*)'
amule-amule.o(.text+0x4f85):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1319: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x4fa0):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1319: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x4fe7):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1320: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x5002):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1320: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x505b):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1322: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x5073):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1322: undefined reference to `wxGetTranslation(wchar_t const*)'
amule-amule.o(.text+0x5361): In function `CamuleApp::OnCoreTimer(wxTimerEvent&)':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1479: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-amule.o(.text+0x53ff):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1482: undefined reference to `wxString::Format(wchar_t const*, ...)'
amule-amule.o(.text+0x570e): In function `CamuleApp::OnFinishedHashing(wxEvent&)':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1533: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-amule.o(.text+0x5836):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1549: undefined reference to `operator+(wchar_t const*, wxString const&)'
amule-amule.o(.text+0x5bcc): In function `CamuleApp::AddLogLine(wxString const&)':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1635: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x5c06):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1635: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x5c3d):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1635: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x5e82): In function `CamuleApp::GetLog(bool)':
/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1683: undefined reference to `operator+(wxString const&, wchar_t)'
amule-amule.o(.text+0x5e9d):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1683: undefined reference to `operator+(wxString const&, wchar_t const*)'
amule-amule.o(.text+0x5ec3):/home/mauro/Download/aMule-2.0.1/src/amule.cpp:1683: undefined reference to `wxFile::Open(wchar_t const*, wxFile::OpenMode, int)'
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxGTK 2.6 and "undefined reference"
« Reply #9 on: May 23, 2005, 02:07:08 PM »

hum, can you post

ls -la /usr/bin/wx*

AND

ls -la /usr/local/bin/wx*

BOTH please :))
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lotDIMM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: wxGTK 2.6 and "undefined reference"
« Reply #10 on: May 23, 2005, 02:12:42 PM »

YesSir :)
Code: [Select]
mauro@demon:~/Download/aMule-2.0.1 $ ls -la /usr/bin/wx*
lrwxrwxrwx  1 root root    43 2005-05-23 12:35 /usr/bin/wx-config -> /usr/lib/wx/config/gtk2-unicode-release-2.6
lrwxrwxrwx  1 root root     8 2005-05-23 12:35 /usr/bin/wxrc -> wxrc-2.6
-rwxr-xr-x  1 root root 80147 2005-05-23 12:35 /usr/bin/wxrc-2.6
mauro@demon:~/Download/aMule-2.0.1 $ ls -la /usr/local/bin/wx*
-rwxr-xr-x  1 root staff 1695302 2005-03-11 13:49 /usr/local/bin/wxcas
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxGTK 2.6 and "undefined reference"
« Reply #11 on: May 23, 2005, 03:24:23 PM »

hmm well looks goog,

can you try running configure with

--with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.6 + your_options

and see if that fixes it...other then that I can only ask you to recompile wxGTK, since I cannot see any error
and use

./configure --prefix=/usr/ --enable-unicode --with-gtk2

and then retry amule....

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lotDIMM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Problem extinguished
« Reply #12 on: May 23, 2005, 07:37:54 PM »

OK!!!
I recompiled wxGTK with your (stefanero) configure option and then aMule compile without problem  :)  :).
Probably it's the unicode support.

I'm pleasing for your aid and suggestions.

Thank you very much.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxGTK 2.6 and "undefined reference"
« Reply #13 on: May 24, 2005, 06:31:09 AM »

but btw you had unicode enabled aswell before..thats why I did it to :))
anyway good to know it works :)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."