aMule Forum
English => Compilation problems => Topic started by: monossido 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
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:
...
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
-
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
-
i followed the wiki...and i got another error!!
./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.
-
it seems to me the linker is having problems finding the libraries where wx symbols are. Which was your ./configure line?
Regards.
-
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
-
You need to tell aMule where your wx config file for 2.8 is. Use --with-wx-config=/usr/local/bin/wx-config
-
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
-
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]
-
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