aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: don't compile  (Read 6014 times)

DoBs

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
don't compile
« on: May 12, 2004, 12:56:56 AM »

Don't compile

In file included from utils/wxCas/src/wxcasframe.h:42,
                 from utils/wxCas/src/wxcas.cpp:38:
utils/wxCas/src/wxcascanvas.h:41: error: parse error before `{' token
utils/wxCas/src/wxcascanvas.h:50: error: destructors must be member functions
utils/wxCas/src/wxcascanvas.h:52: error: parse 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:56: error: no matching function for call to `
   wxEventHashTable::wxEventHashTable()'
/usr/local/include/wx/event.h:2152: error: candidates are:
   wxEventHashTable::wxEventHashTable(const wxEventHashTable&)
/usr/local/include/wx/event.h:2116: error:
   wxEventHashTable::wxEventHashTable(const wxEventTable&)
utils/wxCas/src/wxcascanvas.h:56: error: virtual outside class declaration
utils/wxCas/src/wxcascanvas.h:56: error: non-member function `wxEventHashTable&
   GetEventHashTable()' cannot have `const' method qualifier
utils/wxCas/src/wxcascanvas.h:58: error: parse error before `private'
utils/wxCas/src/wxcascanvas.h:62: error: parse 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 `wxAppConsole* 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/local/include/wx/app.h:100: error:         virtual int wxAppConsole::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 `/tmp/programs/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/programs/aMule-2.0.0rc3'
make: *** [all] Error 2
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: don't compile
« Reply #1 on: May 12, 2004, 01:13:29 AM »

If you misstyped and meant rc3 instead of rc4, then use `configure --disable-wxcas`and let's see if that works...
If you really meant RC4. then you are using CVS which, the last time I tried to compile it on my box (three days ago, maybe?) didn't compile also, so maybe CVS isn't compiling ATM.
Greetings.
Logged

DoBs

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: don't compile
« Reply #2 on: May 12, 2004, 03:18:17 AM »

thanks   :rolleyes:
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: don't compile
« Reply #3 on: May 12, 2004, 04:38:06 AM »

anyway, wxcas should compile without any problems.

try

ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*

DoBs

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: don't compile
« Reply #4 on: May 14, 2004, 03:59:13 PM »

ls -l /usr/lib/wx*:


lrwxr-xr-x  1 root root    17 Apr 22 19:49 /usr/bin/wx-config -> wxbase-2.4-config
-rwxr-xr-x  1 root root  4864 Apr 22 19:49 /usr/bin/wxbase-2.4-config
-rwxr-xr-x  1 root root 10055 Apr  5 01:17 /usr/bin/wxbase-2.5-config
lrwxrwxrwx  1 root root    26 Apr  5 01:17 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config
-rwxr-xr-x  1 root bin   7396 Feb 12  2003 /usr/bin/wxcopy
-rwxr-xr-x  1 root root  5052 Apr 22 19:38 /usr/bin/wxgtk-2.4-config
-rwxr-xr-x  1 root root 10305 Apr 19 12:04 /usr/bin/wxgtk-2.5-config
-rwxr-xr-x  1 root bin   5832 Feb 12  2003 /usr/bin/wxpaste



ls -l /usr/local/bin/wx*:


lrwxr-xr-x  1 root root    17 May 12 00:53 /usr/local/bin/wx-config -> wxbase-2.5-config
-rwxr-xr-x  1 root root 10061 May 12 00:53 /usr/local/bin/wxbase-2.5-config
-rwxr-xr-x  1 root root  4825 Feb  1 22:28 /usr/local/bin/wxgtk-2.4-config
-rwxr-xr-x  1 root root 10311 May 12 00:47 /usr/local/bin/wxgtk-2.5-config
-rwxr-xr-x  1 root root  4994 Feb  1 21:08 /usr/local/bin/wxgtk2-2.4-config
-rwxr-xr-x  1 root root 10655 Apr  4 22:52 /usr/local/bin/wxgtk2-2.5-config
« Last Edit: May 14, 2004, 04:07:52 PM by DoBs »
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: don't compile
« Reply #5 on: May 14, 2004, 11:06:48 PM »

a very unclean system what u have there ..
we don't support wxwidgets 2.5 yet.. having 2 different version of wxgtk may cause problems ..
2nd thing, u miss some symlinks (look at my howto , wxbase step)
3th thing .. u have 2 diff versions of wx* installed twice in 2 different dirs ..

greets

DoBs

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: don't compile
« Reply #6 on: May 22, 2004, 11:09:01 PM »

What do i can do to remove wx 2.5?
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: don't compile
« Reply #7 on: May 22, 2004, 11:11:32 PM »

dunno how u installed / compiled the 2.5 ..

DoBs

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: don't compile
« Reply #8 on: May 22, 2004, 11:18:33 PM »

./configure

make

make install

:?
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: don't compile
« Reply #9 on: May 22, 2004, 11:22:43 PM »

then make uninstall ..
every tarball has a readme & install file.. might help sometimes ;)

greets

DoBs

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: don't compile
« Reply #10 on: June 01, 2004, 07:06:31 PM »

Quote
Originally posted by deltaHF
then make uninstall ..
every tarball has a readme & install file.. might help sometimes ;)

greets

i had read readme file, but make uninstall never works. i can't uninstall wxGTK...  ;(
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: don't compile
« Reply #11 on: June 01, 2004, 07:39:03 PM »

rm -f /usr/lib/libwx*
rm -f /usr/bin/wx*
rm -f /usr/local/lib/libwx*
rm -f /usr/local/bin/wx*
run ldconfig

and recompile wxgtk .. u can use wxgtk 2.5.1 ( not 2.5.2 ) with the cvs tarballs we have.
compile it with --prefix=/usr --disable-gtk2 --with-gkt
and run ldconfig again
now recompile amule

greets

DoBs

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: don't compile
« Reply #12 on: June 10, 2004, 02:22:35 AM »

i have compile amule and now it start, but after few minuts it exit... why?
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: don't compile
« Reply #13 on: June 10, 2004, 02:29:11 AM »

good question .. take a look at the backtraces forum, 1st thread ;)

greets

DoBs

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: don't compile
« Reply #14 on: June 17, 2004, 07:10:28 PM »

Yes, but amule crash everytime i chage gnome desktop. i see her on ps but i'dont see amule's window on windows list...
Logged
Pages: [1] 2