aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Dep check prevents startup  (Read 3815 times)

Meeni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 26
Dep check prevents startup
« on: March 20, 2006, 02:17:55 AM »

Hi,

I compiled Amule 2.1.1, here is the summary of configure :
Code: [Select]
 Configure script has finished system check.

  Configured aMule 2.1.1 for 'i686-pc-linux-gnu'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    no
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               yes
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           yes
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.6.2
                                       crypto++              embedded
                                       libpng                1.2.8
                                       libgd                 2.0.33
                                       zlib                  1.2.3

Compilation just goes fine. Nice.

And here is what I get when I try to launch it
Code: [Select]
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.6 (no debug,ANSI,compiler with C++ ABI 102,wx containers,compatible with 2.4),
and your program used 2.6 (no debug,ANSI,compiler with C++ ABI 1002,wx containers,compatible with 2.4).
Strange, isn't it ?  ?(
Logged

Meeni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 26
Re: Dep check prevents startup
« Reply #1 on: March 20, 2006, 03:28:45 AM »

Next step. Keep trying to fix the issue, I compiled wxGTK in unicode mode. Now I can launch amuled, but it crashes. Here is the backtrace. This bug is a persistent one I already encountered with amule-cvs since it was exclusively designed for wxGTK 2.6 (and not any more wxBase 2.4). The only way to fix it was so far to use ANSI wxGTK. Well, if none works, I'm in deep...  :P
« Last Edit: March 20, 2006, 03:30:41 AM by Meeni »
Logged

Meeni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 26
Re: Dep check prevents startup
« Reply #2 on: March 20, 2006, 03:29:30 AM »

forgot the backtrace... Here it is

Code: [Select]
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuled 2.1.1 using wxGTK2 v2.6.2 (Unicoded)
Running on: Linux 2.6.11.6 i686

[2] CamuleApp::OnFatalException() in :0
[3] wxFatalSignalHandler in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7e99ea6]
[4] ?? in [0xffffe420]
[5] wxMBConv::cMB2WC(char const*, unsigned int, unsigned int*) const in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7e50e6a]
[6] wxString::wxString(char const*, wxMBConv&, unsigned int) in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7e5a011]
[7] wxMsgCatalogFile::FillHash(wxMessagesHash&, wxString const&, bool) const in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7e3de1c]
[8] wxMsgCatalog::Load(wchar_t const*, wchar_t const*, wchar_t const*, bool) in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7e3fe90]
[9] wxLocale::AddCatalog(wchar_t const*, wxLanguage, wchar_t const*) in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7e43ac8]
[10] wxLocale::AddCatalog(wchar_t const*) in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7e43d52]
[11] InitLocale(wxLocale&, int) in :0
[12] CamuleApp::Localize_mule() in :0
[13] CamuleApp::OnInit() in :0
[14] CamuleDaemonApp::OnInit() in :0
[15] wxAppConsole::CallOnInit() in :0
[16] wxEntry(int&, wchar_t**) in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7e3a6ce]
[17] wxEntry(int&, char**) in /usr/local/lib/libwx_baseu-2.6.so.0[0xb7e3a7ce]
[18] __gxx_personality_v0 in :0
[19] __libc_start_main in /lib/tls/libc.so.6[0xb7bafe14]
[20] wxAppConsole::Initialize(int&, wchar_t**) in start.S:122


--------------------------------------------------------------------------------
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Dep check prevents startup
« Reply #3 on: March 20, 2006, 06:17:27 AM »

Either use wxGTK 2.6.3rc1/CVS or apply the patch for wxGTK 2.6.2. It shall be found somewhere here in our forum, Xaignar posted a link yesterday.
Logged

AmuleFAN

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Dep check prevents startup
« Reply #4 on: March 20, 2006, 11:54:16 AM »

You should try with the new the Wxwidgets 2.6.3 rc2 with configure options --enable-largefile --enable-fontmap --enable-intl --enable-optimise --enable-unicode
Logged
Fuck the MS , Linux forever!

Meeni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 26
Re: Dep check prevents startup
« Reply #5 on: March 21, 2006, 12:55:32 AM »

Thanks, I'll try when I have some time. Not so happy to use a RC version of wxGTK, let's see.
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Dep check prevents startup
« Reply #6 on: March 21, 2006, 02:15:39 AM »

You don't need to use an RC of wxWidgets if you don't want to.

- Your first problem is completely unrelated to the wxWidgets version! It's related to the version of the compiler used to build wxWidgets and the calling application. They need to be the same or compatible, but they are not in your case - this was discussed several times...

Don't mix GCC versions for C++ code! Mixing GCC versions for C code is safe, but for C++ code it is not.

- Your second problem can be fixed by using wxWidgets 2.6.3 RC1 or RC2, but you can also apply this isolated patch if you prefer:

http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/src/common/intl.cpp.diff?r1=1.166&r2=1.166.2.1&diff_format=u
Logged

Meeni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 26
Re: Dep check prevents startup
« Reply #7 on: March 22, 2006, 06:39:40 PM »

Nice Gerd78 ! Very helpful; thanks.
Logged