aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: cvs07.01.07 compile problem  (Read 2653 times)

Coolzero1982

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 36
cvs07.01.07 compile problem
« on: January 07, 2007, 08:55:46 PM »

hello, i have tried to install the cvs version from 07.01.07 but wenn i type make it shows me this:

64): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-listctrl.o) .rodata._ZTVN10MuleExtern16wxListMainWindowE[vtable for MuleExtern::wxListMainWindow]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-listctrl.o) .rodata._ZTVN10MuleExtern18wxListHeaderWindowE[vtable for MuleExtern::wxListHeaderWindow]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleGifCtrl.o) .rodata._ZTV11MuleGifCtrl[vtable for MuleGifCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o): In function `__static_initialization_and_destruction_0':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/./libs/common/StringFunctions.h:76: undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o): In function `CMuleListCtrl: nChar(wxKeyEvent&)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:549: undefined reference to `wxString::StartsWith(wchar_t const*, wxString*) const'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:566: undefined reference to `wxString::StartsWith(wchar_t const*, wxString*) const'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o): In function `CMuleListCtrl::LoadSettings()':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:136: undefined reference to `operator+(wchar_t const*, wxString const&)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:148: undefined reference to `wxString::BeforeFirst(wchar_t) const'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:149: undefined reference to `wxString::AfterFirst(wchar_t) const'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:173: undefined reference to `operator+(wchar_t const*, wxString const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o): In function `CMuleListCtrl::SaveSettings()':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:111: undefined reference to `wxString::Format(wchar_t const*, ...)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:114: undefined reference to `operator+(wchar_t const*, wxString const&)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:124: undefined reference to `operator+(wchar_t const*, wxString const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o) .rodata._ZTV13CMuleListCtrl[vtable for CMuleListCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleNotebook.o) .rodata._ZTV13CMuleNotebook[vtable for CMuleNotebook]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleTextCtrl.o) .rodata._ZTV13CMuleTextCtrl[vtable for CMuleTextCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o) .rodata._ZTV19CFileDetailListCtrl[vtable for CFileDetailListCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-muuli_wdr.o): In function `__static_initialization_and_destruction_0':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/./libs/common/StringFunctions.h:76: undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-muuli_wdr.o) .rodata._ZTV12wxButtonBase[vtable for wxButtonBase]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-muuli_wdr.o) .rodata._ZTV18wxBitmapButtonBase[vtable for wxBitmapButtonBase]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-muuli_wdr.o) .rodata._ZTV12wxSliderBase[vtable for wxSliderBase]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-ColorFrameCtrl.o) .rodata._ZTV15CColorFrameCtrl[vtable for CColorFrameCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
collect2: ld returned 1 exit status
make[3]: *** [amule] Fehler 1
make[3]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/amule-cvs'
make: *** [all] Fehler 2


when i type make install after this make it shows me this:



onst*)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/ThreadScheduler.cpp:233: undefined reference to `operator+(wchar_t const*, wxString const&)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/ThreadScheduler.cpp:233: undefined reference to `operator+(wxString const&, wchar_t const*)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/ThreadScheduler.cpp:249: undefined reference to `operator+(wchar_t const*, wxString const&)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/ThreadScheduler.cpp:249: undefined reference to `operator+(wxString const&, wchar_t const*)'
./libmuleappcore.a(libmuleappcore_a-ThreadScheduler.o): In function `CThreadScheduler::AddTask(CThreadTask*, bool)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/ThreadScheduler.cpp:111: undefined reference to `operator+(wchar_t const*, wxString const&)'
./libmuleappgui.a(libmuleappgui_a-ChatWnd.o): In function `__static_initialization_and_destruction_0':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/./libs/common/StringFunctions.h:76: undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-ChatWnd.o) .rodata._ZTV8CChatWnd[vtable for CChatWnd]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-CommentDialog.o): In function `__static_initialization_and_destruction_0':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/./libs/common/StringFunctions.h:76: undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-CommentDialog.o) .rodata._ZTV14CCommentDialog[vtable for CCommentDialog]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-CommentDialogLst.o): In function `__static_initialization_and_destruction_0':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/./libs/common/StringFunctions.h:76: undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-CommentDialogLst.o) .rodata._ZTV17CCommentDialogLst[vtable for CCommentDialogLst]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-DirectoryTreeCtrl.o): In function `CDirectoryTreeCtrl: elShare(wxString const&)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/DirectoryTreeCtrl.cpp:395: undefined reference to `wxArrayString::Remove(wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-DirectoryTreeCtrl.o): In function `CDirectoryTreeCtrl::IsShared(wxString const&)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/DirectoryTreeCtrl.cpp:375: undefined reference to `wxArrayString::Index(wchar_t const*, bool, bool) const'
./libmuleappgui.a(libmuleappgui_a-DirectoryTreeCtrl.o): In function `CDirectoryTreeCtrl::HasSharedSubdirectory(wxString const&)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/DirectoryTreeCtrl.cpp:344: undefined reference to `wxString::StartsWith(wchar_t const*, wxString*) const'
./libmuleappgui.a(libmuleappgui_a-DirectoryTreeCtrl.o): In function `CDirectoryTreeCtrl::GetFullPath(wxTreeItemId)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/DirectoryTreeCtrl.cpp:215: undefined reference to `operator+(wchar_t const*, wxString const&)'
./libmuleappgui.a(libmuleappgui_a-DirectoryTreeCtrl.o): In function `CDirectoryTreeCtrl::AddChildItem(wxTreeItemId, wxString const&)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/DirectoryTreeCtrl.cpp:182: undefined reference to `operator+(wxString const&, wchar_t)'
./libmuleappgui.a(libmuleappgui_a-DirectoryTreeCtrl.o): In function `CDirectoryTreeCtrl::AddSubdirectories(wxTreeItemId, wxString const&)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/DirectoryTreeCtrl.cpp:240: undefined reference to `wxString::Find(wchar_t, bool) const'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/DirectoryTreeCtrl.cpp:242: undefined reference to `wxString::Find(wchar_t, bool) const'
./libmuleappgui.a(libmuleappgui_a-DirectoryTreeCtrl.o): In function `wxString::append(unsigned int, wchar_t)':
/usr/local/include/wx-2.8/wx/string.h:1250: undefined reference to `wxStringBase::append(unsigned int, wchar_t)'
./libmuleappgui.a(libmuleappgui_a-DirectoryTreeCtrl.o) .rodata._ZTV18CDirectoryTreeCtrl[vtable for CDirectoryTreeCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-EditServerListDlg.o): In function `EditServerListDlg: nOK(wxCommandEvent&)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/EditServerListDlg.cpp:85: undefined reference to `operator+(wchar_t const*, wxString const&)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/EditServerListDlg.cpp:85: undefined reference to `operator+(wxString const&, wchar_t const*)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/EditServerListDlg.cpp:85: undefined reference to `wxLogSysError(wchar_t const*, ...)'
./libmuleappgui.a(libmuleappgui_a-EditServerListDlg.o): In function `EditServerListDlg':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/EditServerListDlg.cpp:68: undefined reference to `wxFile::Exists(wchar_t const*)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/EditServerListDlg.cpp:68: undefined reference to `wxFile::Exists(wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-EditServerListDlg.o) .rodata._ZTV17EditServerListDlg[vtable for EditServerListDlg]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-listctrl.o): In function `MuleExtern::wxListTextCtrlWrapper: nKeyUp(wxKeyEvent&)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/extern/wxWidgets/listctrl.cpp:2074: undefined reference to `operator+(wxString const&, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-listctrl.o) .rodata._ZTVN10MuleExtern17wxGenericListCtrlE[vtable for MuleExtern::wxGenericListCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-listctrl.o) .rodata._ZTVN10MuleExtern16wxListMainWindowE[vtable for MuleExtern::wxListMainWindow]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-listctrl.o) .rodata._ZTVN10MuleExtern18wxListHeaderWindowE[vtable for MuleExtern::wxListHeaderWindow]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleGifCtrl.o) .rodata._ZTV11MuleGifCtrl[vtable for MuleGifCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o): In function `__static_initialization_and_destruction_0':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/./libs/common/StringFunctions.h:76: undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o): In function `CMuleListCtrl: nChar(wxKeyEvent&)':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:549: undefined reference to `wxString::StartsWith(wchar_t const*, wxString*) const'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:566: undefined reference to `wxString::StartsWith(wchar_t const*, wxString*) const'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o): In function `CMuleListCtrl::LoadSettings()':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:136: undefined reference to `operator+(wchar_t const*, wxString const&)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:148: undefined reference to `wxString::BeforeFirst(wchar_t) const'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:149: undefined reference to `wxString::AfterFirst(wchar_t) const'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:173: undefined reference to `operator+(wchar_t const*, wxString const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o): In function `CMuleListCtrl::SaveSettings()':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:111: undefined reference to `wxString::Format(wchar_t const*, ...)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:114: undefined reference to `operator+(wchar_t const*, wxString const&)'
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/MuleListCtrl.cpp:124: undefined reference to `operator+(wchar_t const*, wxString const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o) .rodata._ZTV13CMuleListCtrl[vtable for CMuleListCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleNotebook.o) .rodata._ZTV13CMuleNotebook[vtable for CMuleNotebook]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-MuleTextCtrl.o) .rodata._ZTV13CMuleTextCtrl[vtable for CMuleTextCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-FileDetailListCtrl.o) .rodata._ZTV19CFileDetailListCtrl[vtable for CFileDetailListCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-muuli_wdr.o): In function `__static_initialization_and_destruction_0':
/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src/./libs/common/StringFunctions.h:76: undefined reference to `wxCSConv::wxCSConv(wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-muuli_wdr.o) .rodata._ZTV12wxButtonBase[vtable for wxButtonBase]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-muuli_wdr.o) .rodata._ZTV18wxBitmapButtonBase[vtable for wxBitmapButtonBase]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-muuli_wdr.o) .rodata._ZTV12wxSliderBase[vtable for wxSliderBase]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
./libmuleappgui.a(libmuleappgui_a-ColorFrameCtrl.o) .rodata._ZTV15CColorFrameCtrl[vtable for CColorFrameCtrl]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
collect2: ld returned 1 exit status
make[2]: *** [amule] Fehler 1
make[2]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src'
make[1]: *** [install-recursive] Fehler 1
make[1]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/amule-cvs/src'
make: *** [install-recursive] Fehler 1



When i want to start amule,it shows me this:    : bash: amule: command not found

What is the Problem?
Has anybody rpms for oss 10.2 from a current cvs?
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: cvs07.01.07 compile problem
« Reply #1 on: January 08, 2007, 12:01:12 AM »

Why do you cross-post?

Anyway, it builds just fine for me, is currently uploading and should be available in ~15 minutes
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: cvs07.01.07 compile problem
« Reply #2 on: January 08, 2007, 12:26:10 AM »

Coolzero1982,

Most probably your wxWidgets is not in your library path. So:

1) Find the location of the instalation of your wxWidgets. If you have installed it from a rpm package, it should be in /usr/lib. If you installed by hand with "make install" it should be in /usr/local/lib.

2) Either:
   a) make sure that the location from item 1) is listed in the file /etc/ld.so.conf.
or
   b) when typing make, do it using LD_LIBRARY_PATH like this:  (assuming the location of item 1) is /usr/local/lib)

$ LD_LIBRARY_PATH=/usr/local/lib make

a) is a good solution if this is the only wxWidgets on your system. By the way, if you install everything from rpm packages, you should not have to do anything else, a) should probably be implemented without your knowledge. b) is good when you have compiled wx by hand and have several different versions of wx in your system that should not be used by default.

Maybe you should take a look at the wiki pages, if you have not done so:
http://www.amule.org/wiki/index.php/Using_another_wxinstall
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: cvs07.01.07 compile problem
« Reply #3 on: January 08, 2007, 12:29:20 AM »

And another useful thing is to post longer error messages...

Messages from build errors should include the last g++ invocation and everything that follows. The advantage is that this allows everyone to see where your libraries are, why they are not found and what's going on in general.
Logged