aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: RC3 compilation failure  (Read 4371 times)

pr0fess0r

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
RC3 compilation failure
« on: April 29, 2004, 11:30:15 AM »

Is this glitch during compilation my bad?

In file included from utils/wxCas/src/wxcasframe.h:42,
                 from utils/wxCas/src/wxcas.cpp:38:
utils/wxCas/src/wxcascanvas.h:41: error: syntax error before `{' token
utils/wxCas/src/wxcascanvas.h:50: error: destructors must be member functions
utils/wxCas/src/wxcascanvas.h:52: error: syntax error before `protected'
utils/wxCas/src/wxcascanvas.h:56: error: virtual outside class declaration
utils/wxCas/src/wxcascanvas.h:56: error: non-member function `const
   wxEventTable* GetEventTable()' cannot have `const' method qualifier
utils/wxCas/src/wxcascanvas.h:58: error: syntax error before `private'
utils/wxCas/src/wxcascanvas.h:62: error: syntax error before `}' token
In file included from utils/wxCas/src/wxcas.cpp:38:
utils/wxCas/src/wxcasframe.h:52: error: base class `wxFrame' has incomplete
   type
utils/wxCas/src/wxcasframe.h:65: error: `wxCommandEvent' was not declared in
   this scope
utils/wxCas/src/wxcasframe.h:65: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:65: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:65: error: (use `=' to initialize static data
   members)
utils/wxCas/src/wxcasframe.h:65: error: variable or field `OnBarRefresh'
   declared void
utils/wxCas/src/wxcasframe.h:66: error: `wxCommandEvent' was not declared in
   this scope
utils/wxCas/src/wxcasframe.h:66: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:66: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:66: error: variable or field `OnBarAbout' declared
   void
utils/wxCas/src/wxcasframe.h:67: error: `wxCommandEvent' was not declared in
   this scope
utils/wxCas/src/wxcasframe.h:67: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:67: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:67: error: variable or field `OnBarSave' declared
   void
utils/wxCas/src/wxcasframe.h:68: error: `wxCommandEvent' was not declared in
   this scope
utils/wxCas/src/wxcasframe.h:68: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:68: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:68: error: variable or field `OnBarPrint' declared
   void
utils/wxCas/src/wxcasframe.h:69: error: `wxTimerEvent' was not declared in this
   scope
utils/wxCas/src/wxcasframe.h:69: error: `event' was not declared in this scope
utils/wxCas/src/wxcasframe.h:69: error: invalid data member initialization
utils/wxCas/src/wxcasframe.h:69: error: variable or field `OnTimer' declared
   void
utils/wxCas/src/wxcasframe.h:75: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:79: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:80: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:82: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:83: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:85: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:86: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:88: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:89: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:91: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:92: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:93: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:94: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:95: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:96: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:100: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:101: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:105: error: syntax error before `*' token
utils/wxCas/src/wxcasframe.h:52: warning: `class WxCasFrame' has virtual
   functions but non-virtual destructor
utils/wxCas/src/wxcas.cpp: In function `wxApp* wxCreateApp()':
utils/wxCas/src/wxcas.cpp:41: error: cannot allocate an object of type `WxCas'
utils/wxCas/src/wxcas.cpp:41: error:   because the following virtual functions
   are abstract:
/usr/include/wx/app.h:131: error:       virtual int wxAppBase::OnRun()
utils/wxCas/src/wxcas.cpp: In member function `virtual bool WxCas::OnInit()':
utils/wxCas/src/wxcas.cpp:44: error: cannot convert `WxCasFrame*' to `wxFrame*'
   in initialization
utils/wxCas/src/wxcas.cpp:47: error: `Show' undeclared (first use this
   function)
utils/wxCas/src/wxcas.cpp:47: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
utils/wxCas/src/wxcas.cpp:48: error: `SetTopWindow' undeclared (first use this
   function)
make[2]: *** [wxcas-wxcas.o] Error 1
make[2]: Leaving directory `/data/downloads/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/downloads/aMule-2.0.0rc3'
make: *** [all] Error 2


cheers
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: RC3 compilation failure
« Reply #1 on: April 29, 2004, 11:38:09 AM »

ls -l /usr/bin/wx*

wx-config --basename
wx-config --version

greets

pr0fess0r

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
2.4.2
« Reply #2 on: April 29, 2004, 11:46:02 AM »

According to them linuxy commands I got 2.4.2...
[root@hobbiton root]# ls -l /usr/bin/wx*
-rwxr-xr-x  1 root root 4864 Nov 29 01:08 /usr/bin/wxbase-2.4-config
lrwxrwxrwx  1 root root   17 Apr 24 23:40 /usr/bin/wx-config -> wxbase-2.4-config
-rwxr-xr-x  1 root root 5159 Sep 22  2003 /usr/bin/wxgtk-2.4-config
[root@hobbiton root]# wx-config --basename
wx_base
[root@hobbiton root]# wx-config --version
2.4.2
[root@hobbiton root]#
« Last Edit: April 29, 2004, 11:52:01 AM by pr0fess0r »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: RC3 compilation failure
« Reply #3 on: April 29, 2004, 12:12:22 PM »

and now take a look at my sig, comp/install howto, wxbase step and look which symlinks u forgot ;)

then recompile amule

greets

pr0fess0r

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Yay
« Reply #4 on: April 29, 2004, 10:36:33 PM »

That did it - sorry for my ignorance :)
cheers
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: RC3 compilation failure
« Reply #5 on: April 29, 2004, 10:58:55 PM »

ur welcome ;)