aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compiling debian etch  (Read 4217 times)

monossido

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Compiling debian etch
« on: May 17, 2007, 11:57:20 PM »

i'm italian...so sorry for my bud english  ;)
i'm trying to compile amule cvs in my debian etch...i need more than 4gb file size support
i have compiled wxwigets version 2.8

Code: [Select]
lorenzo@debian:~/amule-cvs$ ls -l /usr/local/bin/wx*
lrwxrwxrwx 1 root staff    49 May 14 23:27 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-unicode-release-2.8
lrwxrwxrwx 1 root staff     8 May 14 23:27 /usr/local/bin/wxrc -> wxrc-2.8
-rwxr-xr-x 1 root staff 77705 May 14 23:27 /usr/local/bin/wxrc-2.8

the error is:

Code: [Select]
...
wxcas-wxcasprefs.o:(.rodata._ZTV10WxCasPrefs[vtable for WxCasPrefs]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
wxcas-wxcasprefs.o:(.rodata._ZTV14wxCheckBoxBase[vtable for wxCheckBoxBase]+0x264): undefined reference to `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'
wxcas-wxcascte.o: In function `GetDefaultAmulesigPath()':
/home/lorenzo/amule-cvs/src/utils/wxCas/src/wxcascte.cpp:165: undefined reference to `operator+(wxString const&, wchar_t)'
/home/lorenzo/amule-cvs/src/utils/wxCas/src/wxcascte.cpp:165: undefined reference to `operator+(wxString const&, wchar_t const*)'
collect2: ld returned 1 exit status
make[5]: *** [wxcas] Error 1
make[5]: Leaving directory `/home/lorenzo/amule-cvs/src/utils/wxCas/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/lorenzo/amule-cvs/src/utils/wxCas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lorenzo/amule-cvs/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lorenzo/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lorenzo/amule-cvs'
make: *** [all] Error 2
Logged

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
Re: Compiling debian etch
« Reply #1 on: May 18, 2007, 06:21:44 AM »

To help others, always post exact version numbers. Additionally, post how You did configure (./configure ...) wxgtk and amule. I have no probs compiling wxgtk 2.8.3 and amule svn-2007-05-15 on Debian Etch i386. You can see my Algorithm on http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian
« Last Edit: May 18, 2007, 06:24:29 AM by Arichy »
Logged
Gentoo i686

monossido

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Compiling debian etch
« Reply #2 on: May 18, 2007, 02:06:09 PM »

i followed the wiki...and i got another error!!

Code: [Select]
./libmuleappgui.a(libmuleappgui_a-muuli_wdr.o):muuli_wdr.cpp:(.text+0x3cac): more undefined references to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)' follow
./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): In function `CColorFrameCtrl::CColorFrameCtrl(wxWindow*, int, int, int)':
ColorFrameCtrl.cpp:(.text+0x75b): undefined reference to `wxStringBase::InitWith (wchar_t const*, unsigned int, unsigned int)'
./libmuleappgui.a(libmuleappgui_a-ColorFrameCtrl.o): In function `CColorFrameCtrl::CColorFrameCtrl(wxWindow*, int, int, int)':
ColorFrameCtrl.cpp:(.text+0xb2b): undefined reference to `wxStringBase::InitWith (wchar_t const*, unsigned int, unsigned int)'
./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] Error 1
make[3]: Leaving directory `/home/lorenzo/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lorenzo/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lorenzo/amule-cvs'
make: *** [all] Error 2

edited by skolnick: -> removed the huge spaces from the error so it will be easier to read.
« Last Edit: May 20, 2007, 06:35:01 AM by skolnick »
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Compiling debian etch
« Reply #3 on: May 20, 2007, 06:36:24 AM »

it seems to me the linker is having problems finding the libraries where wx symbols are. Which was your ./configure line?

Regards.
Logged

monossido

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Compiling debian etch
« Reply #4 on: May 20, 2007, 10:20:27 PM »

tnx skolnick for edit

the ./configure for wxgtk and amule are = to wiki

wxgtk
./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise

and

amule
./configure --disable-debug --enable-optimize
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compiling debian etch
« Reply #5 on: May 21, 2007, 01:52:23 AM »

You need to tell aMule where your wx config file for 2.8 is. Use --with-wx-config=/usr/local/bin/wx-config
Logged

monossido

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Compiling debian etch
« Reply #6 on: May 21, 2007, 11:12:44 AM »

tnx for help but...
./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise --with-wx-config=/usr/local/bin/wx-config

still doesn't works

same error after make
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compiling debian etch
« Reply #7 on: May 21, 2007, 02:21:33 PM »

You need to tell aMule where your wx config file for 2.8 is. Use --with-wx-config=/usr/local/bin/wx-config

You need to tell aMule
tell aMule
[size=8]aMule[/size]
Logged

monossido

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Compiling debian etch
« Reply #8 on: May 21, 2007, 03:00:52 PM »

ouch...i'm wrong to write...i tell to amule

however i solved like him http://forum.amule.org/index.php?topic=11880.0

the first time with .configure wxGTK i missed unicode...so now i hit make unistall and make distclean...and i recompiled...so now it's all ok!!

another time tnx...and sorry for my bad english
Logged