aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Error compiling plz help  (Read 1825 times)

Guest

  • Guest
Error compiling plz help
« on: June 30, 2004, 04:43:41 AM »

Hello i am new in the linux world and i have been trying some appz for this OS. I am currently using Mandrake 10.0 but i am having lots a problems compiling some programs. I will copy the error messages here, if someone can help me i would be really thankfull (if that is the term, sorry for my english)
thanks in advanced again, y hope sb can help, i ve read the manual and did as told
byee!

[root@Pentium3 aMule-2.0.0rc3]# make
make  all-recursive
make[1]: Entering directory `/home/santiago/downloads/aMule-2.0.0rc3'
Making all in .
make[2]: Entering directory `/home/santiago/downloads/aMule-2.0.0rc3'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/santiago/downloads/aMule-2.0.0rc3'
Making all in m4
make[2]: Entering directory `/home/santiago/downloads/aMule-2.0.0rc3/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/santiago/downloads/aMule-2.0.0rc3/m4'
Making all in intl
make[2]: Entering directory `/home/santiago/downloads/aMule-2.0.0rc3/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/santiago/downloads/aMule-2.0.0rc3/intl'
Making all in po
make[2]: Entering directory `/home/santiago/downloads/aMule-2.0.0rc3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/santiago/downloads/aMule-2.0.0rc3/po'
Making all in src
make[2]: Entering directory `/home/santiago/downloads/aMule-2.0.0rc3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib/wx/include/base-2.4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__ -Wall -g -ggdb -fno-inline -D__DEBUG__ -g   -MT wxcas-wxcas.o -MD -MP -MF ".deps/wxcas-wxcas.Tpo" \
  -c -o wxcas-wxcas.o `test -f 'utils/wxCas/src/wxcas.cpp' || echo './'`utils/wxCas/src/wxcas.cpp; \
then mv -f ".deps/wxcas-wxcas.Tpo" ".deps/wxcas-wxcas.Po"; \
else rm -f ".deps/wxcas-wxcas.Tpo"; exit 1; \
fi
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 `/home/santiago/downloads/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/santiago/downloads/aMule-2.0.0rc3'
make: *** [all] Error 2
[root@Pentium3 aMule-2.0.0rc3]#
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: Error compiling plz help
« Reply #1 on: June 30, 2004, 10:51:59 AM »

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

remove all mdk wx stuff and follow the howto

greets