aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation Error  (Read 3672 times)

Begemot

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Compilation Error
« on: November 15, 2005, 12:45:48 PM »

First: I searched the forum and I didn't find problems similar to mine.

As following the instructions fo compilation of aMule apperared the following errors:

/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../libwx_gtk-2.4.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../libwx_gtk-2.4.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../libwx_gtk-2.4.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../libwx_gtk-2.4.so: undefined reference to `vtable for wxFileProto'
/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../libwx_gtk-2.4.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
collect2: ld returned 1 exit status
make[5]: *** [wxcas] Error 1
make[5]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src/utils/wxCas/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src/utils/wxCas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ncheltsov/aMule-2.0.3'
make: *** [all] Error 2

I attached the file with the configuration information.

Any suggestions
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Compilation Error
« Reply #1 on: November 15, 2005, 12:54:40 PM »

where did you get wxGTK from?

its version 2.4 which is really old, install an up2date one or compile it yourself from http://www.wxwidgets.org
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Begemot

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Compilation Error
« Reply #2 on: November 15, 2005, 01:02:33 PM »

I got this version of wxGTK as was recomended in i instalation instructions for fedora core 4.

I'll try to update.
Logged

Begemot

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Compilation Error
« Reply #3 on: November 15, 2005, 01:23:52 PM »

Still doesn't work. I installed the newer version of wxGTK 2.6.2. But I am not sure, that it automaticly begin using this version, or I must remove the old one.
Logged

Begemot

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Compilation Error
« Reply #4 on: November 15, 2005, 01:42:35 PM »

Here is some output:

make  all-recursive
make[1]: Entering directory `/home/ncheltsov/aMule-2.0.3'
Making all in m4
make[2]: Entering directory `/home/ncheltsov/aMule-2.0.3/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ncheltsov/aMule-2.0.3/m4'
Making all in docs
make[2]: Entering directory `/home/ncheltsov/aMule-2.0.3/docs'
Making all in man
make[3]: Entering directory `/home/ncheltsov/aMule-2.0.3/docs/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ncheltsov/aMule-2.0.3/docs/man'
make[3]: Entering directory `/home/ncheltsov/aMule-2.0.3/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/ncheltsov/aMule-2.0.3/docs'
make[2]: Leaving directory `/home/ncheltsov/aMule-2.0.3/docs'
Making all in src
make[2]: Entering directory `/home/ncheltsov/aMule-2.0.3/src'
Making all in utils
make[3]: Entering directory `/home/ncheltsov/aMule-2.0.3/src/utils'
Making all in xas
make[4]: Entering directory `/home/ncheltsov/aMule-2.0.3/src/utils/xas'
Making all in docs
make[5]: Entering directory `/home/ncheltsov/aMule-2.0.3/src/utils/xas/docs'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src/utils/xas/docs'
make[5]: Entering directory `/home/ncheltsov/aMule-2.0.3/src/utils/xas'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src/utils/xas'
make[4]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src/utils/xas'
Making all in cas
make[4]: Entering directory `/home/ncheltsov/aMule-2.0.3/src/utils/cas'
Making all in docs
make[5]: Entering directory `/home/ncheltsov/aMule-2.0.3/src/utils/cas/docs'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src/utils/cas/docs'
make[5]: Entering directory `/home/ncheltsov/aMule-2.0.3/src/utils/cas'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src/utils/cas'
make[4]: Leaving directory `/home/ncheltsov/aMule-2.0.3/src/utils/cas'
Making all in wxCas
make[4]: Entering directory `/home/ncheltsov/aMule-2.0.3/src/utils/wxCas'
Making all in src
make[5]: Entering directory `/home/ncheltsov/aMule-2.0.3/src/utils/wxCas/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../..    -I/usr/lib/wx/include/gtk-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA   -DUSE_EMBEDDED_CRYPTO  -O2  -MT wxcas-wxcas.o -MD -MP -MF ".deps/wxcas-wxcas.Tpo" -c -o wxcas-wxcas.o `test -f 'wxcas.cpp' || echo './'`wxcas.cpp; \
then mv -f ".deps/wxcas-wxcas.Tpo" ".deps/wxcas-wxcas.Po"; else rm -f ".deps/wxcas-wxcas.Tpo"; exit 1; fi
g++  -DUSE_EMBEDDED_CRYPTO  -O2   -lpthread -o wxcas  wxcas-onlinesig.o wxcas-linuxmon.o wxcas-wxcas.o wxcas-wxcasprint.o wxcas-wxcasframe.o wxcas-wxcasprefs.o wxcas-wxcascte.o wxcas-wxcaspix.o -pthread   -L/usr/X11R6/lib  -lwx_gtk_xrc-2.6 -lwx_gtk_qa-2.6 -lwx_gtk_html-2.6 -lwx_gtk_adv-2.6 -lwx_gtk_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6
wxcas-onlinesig.o(.text+0x9b9): In function `OnLineSig::Refresh()':
onlinesig.cpp: undefined reference to `wxString::InitWith(char const*, unsigned int, unsigned int)'
wxcas-onlinesig.o(.text+0xa00):onlinesig.cpp: undefined reference to `wxString::InitWith(char const*, unsigned int, unsigned int)'
wxcas-onlinesig.o(.text+0xa0c):onlinesig.cpp: undefined reference to `wxString::operator=(wxString const&)'
wxcas-onlinesig.o(.text+0x1cf4): In function `OnLineSig::GetConnexionIDType() const':
onlinesig.cpp: undefined reference to `wxString::InitWith(char const*, unsigned int, unsigned int)'
wxcas-onlinesig.o(.text+0x1d2f):onlinesig.cpp: undefined reference to `wxString::InitWith(char const*, unsigned int, unsigned int)'
wxcas-onlinesig.o(.text+0x1d56):onlinesig.cpp: undefined reference to `wxString::InitWith(char const*, unsigned int, unsigned int)'
wxcas-onlinesig.o(.text+0x1d7e):onlinesig.cpp: undefined reference to `wxString::InitWith(char const*, unsigned int, unsigned int)'
wxcas-onlinesig.o(.text+0x1e4b): In function `OnLineSig::BytesConvertion(wxString const&)':
...........
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Compilation Error
« Reply #5 on: November 15, 2005, 04:34:02 PM »

thre is a summary in the end, there should be said which version of wxGTK is used

and maybe try not to enable wxcas atm and see if its an error with maybe just that
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."