aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compile Error  (Read 13482 times)

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Compile Error
« on: February 02, 2009, 06:56:07 PM »

Hi Guys,

I'm trying to compile aMule from source on slackware 11 but i get this errorwhen i use

make install

.....
Linking amule
amule-amuleDlg.o(.text+0x3fe3): In function `CamuleDlg::SetMessagesTool()':
: undefined reference to `wxToolBar::SetToolNormalBitmap(int, wxBitmap const&)'
amule-PrefsUnifiedDlg.o(.text+0x23f): In function `PrefsUnifiedDlg::EnableServerTab(bool)':
: undefined reference to `wxGenericListCtrl::SetItemPtrData(long, unsigned long)'
amule-PrefsUnifiedDlg.o(.text+0x3e0b): In function `PrefsUnifiedDlg::PrefsUnifiedDlg(wxWindow*)':
: undefined reference to `wxGenericListCtrl::SetItemPtrData(long, unsigned long)'
amule-PrefsUnifiedDlg.o(.text+0x52eb): In function `PrefsUnifiedDlg::PrefsUnifiedDlg(wxWindow*)':
: undefined reference to `wxGenericListCtrl::SetItemPtrData(long, unsigned long)'
collect2: ld returned 1 exit status
make[2]: *** [amule] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1


anyone can help please?

Thx
Logged

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #1 on: February 02, 2009, 07:10:02 PM »

Which aMule version? Please don't send reports if you are not trying to compile the latest stable version (currently 2.2.3) or one of the latest SVN test versions.

Said that, have you had a look at the wiki page about Slackware? Perhaps there are good hints for you.
http://www.amule.org/wiki/index.php/HowTo_Compile_In_Slackware

I'm compiling the 2.2.3 version.
I try with the guide but the packages refer to slackware 12 and i'm on 11 do you think i can update the pachakes anyway?
Thx
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Compile Error
« Reply #2 on: February 03, 2009, 09:39:25 PM »

Probably a bad wxWidgets version.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #3 on: February 23, 2009, 07:24:04 PM »

Probably a bad wxWidgets version.

Thx,
 do I need to install wxGTK 2.8.9?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Compile Error
« Reply #4 on: February 23, 2009, 11:36:34 PM »

Yes.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #5 on: February 26, 2009, 06:57:06 PM »

Yes.
Hi i Downloaded and compiled from source but it seems not to work anyway :(
any other suggestions?
Logged

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #6 on: February 26, 2009, 06:58:58 PM »

Sorry, Just one more doubt, is there a particular way to compile amule from source under slacware 11?
I mean some particular parameters or something else...
Thx  :)
Logged

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #7 on: February 26, 2009, 07:20:55 PM »

This it's strange...
I installed the wx 2.8.9 here the versin check...

root@Slacky:/mnt/Dati/Dati/Backup/aMule-2.2.3# wx-config --version
2.8.9

but giving the command ./configure


                                       wxWidgets             2.8.6 (gtk2,shared)
                                       crypto++              5.5.2 (installed, in /usr)
                                       libintl               system
                                       zlib                  1.2.3


and the make ....

root@Slacky:/mnt/Dati/Dati/Backup/aMule-2.2.3# make
Linking amule
/usr/lib/libwx_baseu-2.8.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<long>(long&)@GLIBCXX_3.4.9'
/usr/lib/libwx_baseu-2.8.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<void const*>(void const*)@GLIBCXX_3.4.9'
/usr/lib/libwx_baseu-2.8.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)@GLIBCXX_3.4.9'
/usr/lib/libwx_baseu-2.8.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/usr/lib/libwx_gtk2u_adv-2.8.so: undefined reference to `g_assertion_message_expr'
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

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #8 on: February 26, 2009, 08:14:21 PM »

Perhaps you have the previous wxGTK libraries installed in the default directory (/usr/lib ? ) and the new , self-compiled 2.8.9 ones installed elsewhere (/usr/local/lib??).

Have a look at where 'make install' copied your files,
or do a
Code: [Select]
find /usr -name "libwx*" to see if you have multiple sets .




THX!
I think you arre right :)
here the output


root@Slacky:~# find /usr -name "libwx*"
/usr/lib/libwx_baseu-2.8.so.0.0.0
/usr/lib/libwx_baseu_net-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_core-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_adv-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_html-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_qa-2.8.so.0.0.0
/usr/lib/libwx_baseu_xml-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_xrc-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_aui-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_richtext-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_gizmos-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_stc-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_ogl-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_ogl-2.8.so.0
/usr/lib/libwx_gtk2u_stc-2.8.so.0
/usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so.0
/usr/lib/libwx_gtk2u_gizmos-2.8.so.0
/usr/lib/libwx_gtk2u_richtext-2.8.so.0
/usr/lib/libwx_gtk2u_aui-2.8.so.0
/usr/lib/libwx_gtk2u_xrc-2.8.so.0
/usr/lib/libwx_baseu_xml-2.8.so.0
/usr/lib/libwx_gtk2u_qa-2.8.so.0
/usr/lib/libwx_gtk2u_html-2.8.so.0
/usr/lib/libwx_gtk2u_adv-2.8.so.0
/usr/lib/libwx_gtk2u_core-2.8.so.0
/usr/lib/libwx_baseu_net-2.8.so.0
/usr/lib/libwx_baseu-2.8.so.0
/usr/lib/libwx_baseu-2.8.so
/usr/lib/libwx_baseu_net-2.8.so
/usr/lib/libwx_gtk2u_core-2.8.so
/usr/lib/libwx_gtk2u_adv-2.8.so
/usr/lib/libwx_gtk2u_html-2.8.so
/usr/lib/libwx_gtk2u_qa-2.8.so
/usr/lib/libwx_baseu_xml-2.8.so
/usr/lib/libwx_gtk2u_xrc-2.8.so
/usr/lib/libwx_gtk2u_aui-2.8.so
/usr/lib/libwx_gtk2u_richtext-2.8.so
/usr/lib/libwx_gtk2u_gizmos-2.8.so
/usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so
/usr/lib/libwx_gtk2u_stc-2.8.so
/usr/lib/libwx_gtk2u_ogl-2.8.so
/usr/lib/autopackage/libwx_base-2.6.so
/usr/lib/autopackage/libwx_base-2.6.so.0
/usr/lib/autopackage/libwx_base-2.6.so.0.3.1
/usr/lib/autopackage/libwx_base_net-2.6.so
/usr/lib/autopackage/libwx_base_net-2.6.so.0
/usr/lib/autopackage/libwx_base_net-2.6.so.0.3.1
/usr/lib/autopackage/libwx_base_xml-2.6.so
/usr/lib/autopackage/libwx_base_xml-2.6.so.0
/usr/lib/autopackage/libwx_base_xml-2.6.so.0.3.1
/usr/lib/autopackage/libwx_gtk2_adv-2.6.so
/usr/lib/autopackage/libwx_gtk2_adv-2.6.so.0
/usr/lib/autopackage/libwx_gtk2_adv-2.6.so.0.3.1
/usr/lib/autopackage/libwx_gtk2_core-2.6.so
/usr/lib/autopackage/libwx_gtk2_core-2.6.so.0
/usr/lib/autopackage/libwx_gtk2_core-2.6.so.0.3.1
/usr/lib/autopackage/libwx_gtk2_media-2.6.so
/usr/lib/autopackage/libwx_gtk2_media-2.6.so.0
/usr/lib/autopackage/libwx_gtk2_media-2.6.so.0.3.1
/usr/lib/autopackage/libwx_gtk2_qa-2.6.so
/usr/lib/autopackage/libwx_gtk2_qa-2.6.so.0
/usr/lib/autopackage/libwx_gtk2_qa-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_gl-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_core-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_xrc-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_plot-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_html-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_stc-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_gizmos-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_ogl-2.8.so.0.5.0
/usr/lib/libwx_baseu-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_aui-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_qa-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_svg-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_fl-2.8.so.0.5.0
/usr/lib/libwx_baseu_net-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_richtext-2.8.so.0.5.0
/usr/lib/libwx_baseu_xml-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_mmedia-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_adv-2.8.so.0.5.0
/usr/lib/libwx_gtk2u_mmedia-2.8.so.0
/usr/lib/libwx_gtk2u_fl-2.8.so.0
/usr/lib/libwx_gtk2u_svg-2.8.so.0
/usr/lib/libwx_gtk2u_plot-2.8.so.0
/usr/lib/libwx_gtk2u_gl-2.8.so.0
/usr/lib/libwx_gtk2u_plot-2.8.so
/usr/lib/libwx_gtk2u_gl-2.8.so
/usr/lib/libwx_gtk2u_mmedia-2.8.so
/usr/lib/libwx_gtk2u_fl-2.8.so
/usr/lib/libwx_gtk2u_svg-2.8.so
/usr/local/lib/libwx_baseu-2.8.so.0
/usr/local/lib/libwx_baseu-2.8.so.0.3.0
/usr/local/lib/libwx_baseu-2.8.so
/usr/local/lib/libwx_baseu_net-2.8.so.0
/usr/local/lib/libwx_baseu_net-2.8.so.0.3.0
/usr/local/lib/libwx_baseu_net-2.8.so
/usr/local/lib/libwx_gtk2u_core-2.8.so
/usr/local/lib/libwx_gtk2u_core-2.8.so.0.3.0
/usr/local/lib/libwx_gtk2u_core-2.8.so.0
/usr/local/lib/libwx_gtk2u_adv-2.8.so.0
/usr/local/lib/libwx_gtk2u_adv-2.8.so.0.3.0
/usr/local/lib/libwx_gtk2u_adv-2.8.so
/usr/local/lib/libwx_gtk2u_html-2.8.so
/usr/local/lib/libwx_gtk2u_html-2.8.so.0.3.0
/usr/local/lib/libwx_gtk2u_html-2.8.so.0
/usr/local/lib/libwx_gtk2u_qa-2.8.so.0
/usr/local/lib/libwx_gtk2u_qa-2.8.so.0.3.0
/usr/local/lib/libwx_gtk2u_qa-2.8.so
/usr/local/lib/libwx_baseu_xml-2.8.so.0
/usr/local/lib/libwx_baseu_xml-2.8.so.0.3.0
/usr/local/lib/libwx_baseu_xml-2.8.so
/usr/local/lib/libwx_gtk2u_xrc-2.8.so.0
/usr/local/lib/libwx_gtk2u_xrc-2.8.so.0.3.0
/usr/local/lib/libwx_gtk2u_xrc-2.8.so
/usr/local/lib/libwx_gtk2u_aui-2.8.so.0
/usr/local/lib/libwx_gtk2u_aui-2.8.so.0.3.0
/usr/local/lib/libwx_gtk2u_aui-2.8.so
/usr/local/lib/libwx_gtk2u_richtext-2.8.so
/usr/local/lib/libwx_gtk2u_richtext-2.8.so.0.3.0
/usr/local/lib/libwx_gtk2u_richtext-2.8.so.0
/usr/local/lib/libwx_base-2.8.so.0
/usr/local/lib/libwx_base-2.8.so.0.5.0
/usr/local/lib/libwx_base-2.8.so
/usr/local/lib/libwx_base_net-2.8.so.0
/usr/local/lib/libwx_base_net-2.8.so.0.5.0
/usr/local/lib/libwx_base_net-2.8.so
/usr/local/lib/libwx_gtk2_core-2.8.so.0
/usr/local/lib/libwx_gtk2_core-2.8.so.0.5.0
/usr/local/lib/libwx_gtk2_core-2.8.so
/usr/local/lib/libwx_gtk2_adv-2.8.so.0
/usr/local/lib/libwx_gtk2_adv-2.8.so.0.5.0
/usr/local/lib/libwx_gtk2_adv-2.8.so
/usr/local/lib/libwx_gtk2_html-2.8.so.0
/usr/local/lib/libwx_gtk2_html-2.8.so.0.5.0
/usr/local/lib/libwx_gtk2_html-2.8.so
/usr/local/lib/libwx_gtk2_qa-2.8.so
/usr/local/lib/libwx_gtk2_qa-2.8.so.0.5.0
/usr/local/lib/libwx_gtk2_qa-2.8.so.0
/usr/local/lib/libwx_base_xml-2.8.so.0
/usr/local/lib/libwx_base_xml-2.8.so.0.5.0
/usr/local/lib/libwx_base_xml-2.8.so
/usr/local/lib/libwx_gtk2_xrc-2.8.so.0
/usr/local/lib/libwx_gtk2_xrc-2.8.so.0.5.0
/usr/local/lib/libwx_gtk2_xrc-2.8.so
/usr/local/lib/libwx_gtk2_aui-2.8.so.0
/usr/local/lib/libwx_gtk2_aui-2.8.so.0.5.0
/usr/local/lib/libwx_gtk2_aui-2.8.so
/usr/local/lib/libwx_gtk2_richtext-2.8.so.0
/usr/local/lib/libwx_gtk2_richtext-2.8.so.0.5.0
/usr/local/lib/libwx_gtk2_richtext-2.8.so


Any suggestion about how to solve it?
Thx in advance  :-)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Compile Error
« Reply #9 on: February 26, 2009, 08:52:45 PM »

Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #10 on: February 26, 2009, 11:46:25 PM »

http://www.amule.org/wiki/index.php/How_to_uninstall_wxWidgets

Thx man :)
Now I uninstall all version and installa again 2.8.9 from tgz package...
waiting for compiling result :)
Logged

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #11 on: February 27, 2009, 12:12:07 AM »

Nothing :(

/usr/lib/libwx_baseu-2.8.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<long>(long&)@GLIBCXX_3.4.9'
/usr/lib/libwx_baseu-2.8.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<void const*>(void const*)@GLIBCXX_3.4.9'
/usr/lib/libwx_baseu-2.8.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)@GLIBCXX_3.4.9'
/usr/lib/libwx_baseu-2.8.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/usr/lib/libwx_gtk2u_adv-2.8.so: undefined reference to `g_assertion_message_expr'
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

what is missing there????
:(
Logged

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #12 on: February 27, 2009, 02:21:45 PM »

Hi, thx for help.
i remove everything, and i try to compile amule and i get the error that wxdigets is not installed, and that's right...
Then I try to install wxDigets from source and compiling amule i get again teh error thata scdigets are missing, so i try to install them from tgz package, but nothing change,...
now i'm not able to make the configure for amule because i get the errore that the wxdigets are missing...
I'm really frustated now :(
Logged

liloh4a

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 34
Re: Compile Error
« Reply #13 on: February 27, 2009, 06:38:13 PM »

Hi Guys!!!
Thx to everybody :)
Finally i solved it :)
I removed everything and then compiled everything package by package and now it's working :P
Thx again  ;D

P.S.:I have to apologyse for my english :)
Logged