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 3

Author Topic: compilation probs?  (Read 11942 times)

nachbarnebenan

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 75
compilation probs?
« on: April 30, 2004, 02:18:26 PM »

Well, maybe I got stupid during holidays, but I can't get rc3 to compile. 1.2.6, rc1 and rc2 (patched) are fine.
My System didn't change, no update on any relevant package (only gimp and python, but it shouldn't be related to this).
I do a standard configure and it gives me (only the last part):

  Configure script has finished system check.

  Configured aMule 2.0.0rc3 for 'i686-suse-linux'.

  Should aMule be compiled in debug mode?                  yes
  Should aMule be compiled with release grp code?          no
  Should aMule be compiled without debug reporting?        yes
  Should aMule be compiled with profiling?                 no
  Should aMule be compiled with optimizations?             no
  Should aMule be compiled with systray?                   yes
  Should aMule be compiled with safe systray?              no
  Should aMule be compiled with pure GTK code?             yes
  Should aMule be compiled without bar drawing?            no
  Should aMule be linked against patched gsocket?          yes
  Should ccache support be enabled?                        no
  Should aMule command line client be built?               no
  Should aMule GUI client be build?                        no
  Should aMule WebServer be build?                         no
  Should aMule WebServer GUI be build?                     no
  Should aMule ed2k links handler be build?                yes
  Should C aMule Statistics (CAS) be build?                yes
  Should aMule GUI Statistics (wxCas) be build?            yes
  Crypto++ library/headers style?                          mdk_suse_fc

  Which libraries should aMule use?
                                       wxWidgets          2.4.2
                                       GTK                1.2.10

This is the same as rc2p, but makes gives me:

xmule@computer1:/home/xmule/temp/aMule-2.0.0rc3> make
make  all-recursive
make[1]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3'
Making all in .
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3'
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3'
Making all in m4
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/m4'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/m4'
Making all in intl
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/intl'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/intl'
Making all in po
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/po'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/po'
Making all in src
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -D__GD__ -O1 -Wall -g -ggdb -fno-inline -D__DEBUG__ -g   -MT cas-cas.o -MD -MP -MF ".deps/cas-cas.Tpo" \
  -c -o cas-cas.o `test -f 'utils/cas/cas.c' || echo './'`utils/cas/cas.c; \
then mv -f ".deps/cas-cas.Tpo" ".deps/cas-cas.Po"; \
else rm -f ".deps/cas-cas.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -D__GD__ -O1 -Wall -g -ggdb -fno-inline -D__DEBUG__ -g   -MT cas-functions.o -MD -MP -MF ".deps/cas-functions.Tpo" \
  -c -o cas-functions.o `test -f 'utils/cas/functions.c' || echo './'`utils/cas/functions.c; \
then mv -f ".deps/cas-functions.Tpo" ".deps/cas-functions.Po"; \
else rm -f ".deps/cas-functions.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -D__GD__ -O1 -Wall -g -ggdb -fno-inline -D__DEBUG__ -g   -MT cas-configfile.o -MD -MP -MF ".deps/cas-configfile.Tpo" \
  -c -o cas-configfile.o `test -f 'utils/cas/configfile.c' || echo './'`utils/cas/configfile.c; \
then mv -f ".deps/cas-configfile.Tpo" ".deps/cas-configfile.Po"; \
else rm -f ".deps/cas-configfile.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -D__GD__ -O1 -Wall -g -ggdb -fno-inline -D__DEBUG__ -g   -MT cas-graphics.o -MD -MP -MF ".deps/cas-graphics.Tpo" \
  -c -o cas-graphics.o `test -f 'utils/cas/graphics.c' || echo './'`utils/cas/graphics.c; \
then mv -f ".deps/cas-graphics.Tpo" ".deps/cas-graphics.Po"; \
else rm -f ".deps/cas-graphics.Tpo"; exit 1; \
fi
utils/cas/graphics.c:5:16: gd.h: Datei oder Verzeichnis nicht gefunden
utils/cas/graphics.c: In function `createimage':
utils/cas/graphics.c:17: error: `FILE' undeclared (first use in this function)
utils/cas/graphics.c:17: error: (Each undeclared identifier is reported only once
utils/cas/graphics.c:17: error: for each function it appears in.)
utils/cas/graphics.c:17: error: `in' undeclared (first use in this function)
utils/cas/graphics.c:17: error: `out' undeclared (first use in this function)
utils/cas/graphics.c:17: Warnung: left-hand operand of comma expression has no effect
utils/cas/graphics.c:19: error: `gdImagePtr' undeclared (first use in this function)
utils/cas/graphics.c:19: error: parse error before "im"
utils/cas/graphics.c:23: Warnung: implicit declaration of function `fopen'
utils/cas/graphics.c:24: Warnung: implicit declaration of function `printf'
utils/cas/graphics.c:27: Warnung: implicit declaration of function `fclose'
utils/cas/graphics.c:34: error: `im' undeclared (first use in this function)
utils/cas/graphics.c:34: Warnung: implicit declaration of function `gdImageCreateFromPng'
utils/cas/graphics.c:35: Warnung: implicit declaration of function `gdImageColorResolve'
utils/cas/graphics.c:39: Warnung: implicit declaration of function `gdImageStringFT'
utils/cas/graphics.c:51: Warnung: implicit declaration of function `gdImagePng'
utils/cas/graphics.c:54: Warnung: implicit declaration of function `gdImageDestroy'
make[2]: *** [cas-graphics.o] Fehler 1
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3'
make: *** [all] Fehler 2
xmule@computer1:/home/xmule/temp/aMule-2.0.0rc3>


If I do --disable-cas make gets a little further:


xmule@computer1:/home/xmule/temp/aMule-2.0.0rc3> make
make  all-recursive
make[1]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3'
Making all in .
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3'
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3'
Making all in m4
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/m4'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/m4'
Making all in intl
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/intl'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/intl'
Making all in po
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/po'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/po'
Making all in src
make[2]: Entering directory `/home/xmule/temp/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-onlinesig.o -MD -MP -MF ".deps/wxcas-onlinesig.Tpo" \
  -c -o wxcas-onlinesig.o `test -f 'utils/wxCas/src/onlinesig.cpp' || echo './'`utils/wxCas/src/onlinesig.cpp; \
then mv -f ".deps/wxcas-onlinesig.Tpo" ".deps/wxcas-onlinesig.Po"; \
else rm -f ".deps/wxcas-onlinesig.Tpo"; exit 1; \
fi
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-linuxmon.o -MD -MP -MF ".deps/wxcas-linuxmon.Tpo" \
  -c -o wxcas-linuxmon.o `test -f 'utils/wxCas/src/linuxmon.cpp' || echo './'`utils/wxCas/src/linuxmon.cpp; \
then mv -f ".deps/wxcas-linuxmon.Tpo" ".deps/wxcas-linuxmon.Po"; \
else rm -f ".deps/wxcas-linuxmon.Tpo"; exit 1; \
fi
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: 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: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: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:79: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:80: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:82: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:83: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:85: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:86: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:88: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:89: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:91: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:92: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:93: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:94: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:95: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:96: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:100: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:101: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:105: error: Syntaxfehler before `*' token
utils/wxCas/src/wxcasframe.h:52: Warnung: `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] Fehler 1
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3'
make: *** [all] Fehler 2
xmule@computer1:/home/xmule/temp/aMule-2.0.0rc3>


With an additional --disable-wxcas even more:


xmule@computer1:/home/xmule/temp/aMule-2.0.0rc3> make
make  all-recursive
make[1]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3'
Making all in .
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3'
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3'
Making all in m4
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/m4'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/m4'
Making all in intl
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/intl'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/intl'
Making all in po
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/po'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/po'
Making all in src
make[2]: Entering directory `/home/xmule/temp/aMule-2.0.0rc3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__ -Wall -g -ggdb -fno-inline -D__DEBUG__ -g   -MT ED2KLinkParser.o -MD -MP -MF ".deps/ED2KLinkParser.Tpo" \
  -c -o ED2KLinkParser.o `test -f 'ED2KLinkParser.cpp' || echo './'`ED2KLinkParser.cpp; \
then mv -f ".deps/ED2KLinkParser.Tpo" ".deps/ED2KLinkParser.Po"; \
else rm -f ".deps/ED2KLinkParser.Tpo"; exit 1; \
fi
g++  -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__ -Wall -g -ggdb -fno-inline -D__DEBUG__ -g     -o ed2k  ED2KLinkParser.o  -lcryptopp
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/opt/gnome/include -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I/usr/X11R6/include    -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__ -Wall -g -ggdb -fno-inline -D__DEBUG__ -g   -MT amule-ListenSocket.o -MD -MP -MF ".deps/amule-ListenSocket.Tpo" \
  -c -o amule-ListenSocket.o `test -f 'ListenSocket.cpp' || echo './'`ListenSocket.cpp; \
then mv -f ".deps/amule-ListenSocket.Tpo" ".deps/amule-ListenSocket.Po"; \
else rm -f ".deps/amule-ListenSocket.Tpo"; exit 1; \
fi
In file included from ListenSocket.cpp:26:
server.h:57: error: `wxTreeCtrl' was not declared in this scope
server.h:57: error: `wnd' was not declared in this scope
server.h:57: error: `wxTreeItemId' was not declared in this scope
server.h:57: error: parse error before `)' token
In file included from ListenSocket.cpp:27:
ServerList.h:85: error: 'wxTimer' is used as a type, but is not defined as a
   type.
In file included from /usr/include/wx/window.h:27,
                 from /usr/include/wx/statusbr.h:19,
                 from amuleDlg.h:28,
                 from ListenSocket.cpp:28:
/usr/include/wx/cursor.h: In constructor `
   wxBusyCursorSuspender::wxBusyCursorSuspender()':
/usr/include/wx/cursor.h:46: error: `wxIsBusy' undeclared (first use this
   function)
/usr/include/wx/cursor.h:46: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
/usr/include/wx/cursor.h:48: error: `wxBusyCursor' undeclared (first use this
   function)
/usr/include/wx/cursor.h:48: error: parse error before `;' token
/usr/include/wx/cursor.h: In destructor `
   wxBusyCursorSuspender::~wxBusyCursorSuspender()':
/usr/include/wx/cursor.h:55: error: parse error before `;' token
In file included from /usr/include/wx/window.h:28,
                 from /usr/include/wx/statusbr.h:19,
                 from amuleDlg.h:28,
                 from ListenSocket.cpp:28:
/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:82: error: parse error before `{' token
/usr/include/wx/font.h:104: error: non-member function `bool Ok()' cannot have
   `const' method qualifier
/usr/include/wx/font.h: In function `bool Ok()':
/usr/include/wx/font.h:104: error: `m_refData' undeclared (first use this
   function)
/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:107: error: non-member function `bool operator==(const
   wxFont&)' cannot have `const' method qualifier
/usr/include/wx/font.h:107: error: `bool operator==(const wxFont&)' must take
   exactly two arguments
/usr/include/wx/font.h:108: error: non-member function `bool operator!=(const
   wxFont&)' cannot have `const' method qualifier
/usr/include/wx/font.h:108: error: `bool operator!=(const wxFont&)' must take
   exactly two arguments
/usr/include/wx/font.h:111: error: virtual outside class declaration
/usr/include/wx/font.h:111: error: non-member function `int GetPointSize()'
   cannot have `const' method qualifier
/usr/include/wx/font.h:111: error: function `int GetPointSize()' is initialized
   like a variable
/usr/include/wx/font.h:112: error: virtual outside class declaration
/usr/include/wx/font.h:112: error: non-member function `int GetFamily()' cannot
   have `const' method qualifier
/usr/include/wx/font.h:112: error: function `int GetFamily()' is initialized
   like a variable
/usr/include/wx/font.h:113: error: virtual outside class declaration
/usr/include/wx/font.h:113: error: non-member function `int GetStyle()' cannot
   have `const' method qualifier
/usr/include/wx/font.h:113: error: function `int GetStyle()' is initialized
   like a variable
/usr/include/wx/font.h:114: error: virtual outside class declaration
/usr/include/wx/font.h:114: error: non-member function `int GetWeight()' cannot
   have `const' method qualifier
/usr/include/wx/font.h:114: error: function `int GetWeight()' is initialized
   like a variable
/usr/include/wx/font.h:115: error: virtual outside class declaration
/usr/include/wx/font.h:115: error: non-member function `bool GetUnderlined()'
   cannot have `const' method qualifier
/usr/include/wx/font.h:115: error: function `bool GetUnderlined()' is
   initialized like a variable
/usr/include/wx/font.h:116: error: virtual outside class declaration
/usr/include/wx/font.h:116: error: non-member function `wxString GetFaceName()'
   cannot have `const' method qualifier
/usr/include/wx/font.h:116: error: function `wxString GetFaceName()' is
   initialized like a variable
/usr/include/wx/font.h:117: error: virtual outside class declaration
/usr/include/wx/font.h:117: error: non-member function `wxFontEncoding
   GetEncoding()' cannot have `const' method qualifier
/usr/include/wx/font.h:117: error: function `wxFontEncoding GetEncoding()' is
   initialized like a variable
/usr/include/wx/font.h:118: error: virtual outside class declaration
/usr/include/wx/font.h:118: error: non-member function `wxNativeFontInfo*
   GetNativeFontInfo()' cannot have `const' method qualifier
/usr/include/wx/font.h:120: error: virtual outside class declaration
/usr/include/wx/font.h:120: error: non-member function `bool IsFixedWidth()'
   cannot have `const' method qualifier
/usr/include/wx/font.h:122: error: non-member function `wxString
   GetNativeFontInfoDesc()' cannot have `const' method qualifier
/usr/include/wx/font.h:123: error: non-member function `wxString
   GetNativeFontInfoUserDesc()' cannot have `const' method qualifier
/usr/include/wx/font.h:126: error: virtual outside class declaration
/usr/include/wx/font.h:126: error: function `void SetPointSize(int)' is
   initialized like a variable
/usr/include/wx/font.h:127: error: virtual outside class declaration
/usr/include/wx/font.h:127: error: function `void SetFamily(int)' is
   initialized like a variable
/usr/include/wx/font.h:128: error: virtual outside class declaration
/usr/include/wx/font.h:128: error: function `void SetStyle(int)' is initialized
   like a variable
/usr/include/wx/font.h:129: error: virtual outside class declaration
/usr/include/wx/font.h:129: error: function `void SetWeight(int)' is
   initialized like a variable
/usr/include/wx/font.h:130: error: virtual outside class declaration
/usr/include/wx/font.h:130: error: function `void SetFaceName(const wxString&)'
   is initialized like a variable
/usr/include/wx/font.h:131: error: virtual outside class declaration
/usr/include/wx/font.h:131: error: function `void SetUnderlined(bool)' is
   initialized like a variable
/usr/include/wx/font.h:132: error: virtual outside class declaration
/usr/include/wx/font.h:132: error: function `void SetEncoding(wxFontEncoding)'
   is initialized like a variable
/usr/include/wx/font.h:133: error: virtual outside class declaration
/usr/include/wx/font.h:140: error: non-member function `wxString
   GetFamilyString()' cannot have `const' method qualifier
/usr/include/wx/font.h:141: error: non-member function `wxString
   GetStyleString()' cannot have `const' method qualifier
/usr/include/wx/font.h:142: error: non-member function `wxString
   GetWeightString()' cannot have `const' method qualifier
/usr/include/wx/font.h:145: error: virtual outside class declaration
/usr/include/wx/font.h:146: error: virtual outside class declaration
/usr/include/wx/font.h: In function `wxFontEncoding GetDefaultEncoding()':
/usr/include/wx/font.h:150: error: `ms_encodingDefault' undeclared (first use
   this function)
/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:153: error: parse error before `protected'
In file included from /usr/include/wx/statusbr.h:19,
                 from amuleDlg.h:28,
                 from ListenSocket.cpp:28:
/usr/include/wx/window.h:105: error: parse error before `&' token
/usr/include/wx/window.h:189: error: parse error before `&' token
/usr/include/wx/window.h:192: error: parse error before `&' token
/usr/include/wx/window.h:192: error: `void wxWindowBase::SetSize(...)' and `
   void wxWindowBase::SetSize(...)' cannot be overloaded
/usr/include/wx/window.h:195: error: semicolon missing after declaration of `
   wxWindowBase'
/usr/include/wx/window.h: In constructor `wxWindowBase::wxWindowBase()':
/usr/include/wx/window.h:99: error: `InitBase' undeclared (first use this
   function)
/usr/include/wx/window.h: In member function `bool
   wxWindowBase::IsBeingDeleted() const':
/usr/include/wx/window.h:139: error: `m_isBeingDeleted' undeclared (first use
   this function)
/usr/include/wx/window.h: In member function `virtual void
   wxWindowBase::SetName(const wxString&)':
/usr/include/wx/window.h:160: error: `m_windowName' undeclared (first use this
   function)
/usr/include/wx/window.h: In member function `void wxWindowBase::SetId(int)':
/usr/include/wx/window.h:165: error: `m_windowId' undeclared (first use this
   function)
/usr/include/wx/window.h: In static member function `static int
   wxWindowBase::NewControlId()':
/usr/include/wx/window.h:170: error: `ms_lastControlId' undeclared (first use
   this function)
/usr/include/wx/window.h: In member function `void wxWindowBase::SetSize(int,
   int, int, int, int)':
/usr/include/wx/window.h:184: error: `DoSetSize' undeclared (first use this
   function)
/usr/include/wx/window.h: In member function `void wxWindowBase::SetSize(int,
   int)':
/usr/include/wx/window.h:187: error: `DoSetSize' undeclared (first use this
   function)
/usr/include/wx/window.h: In member function `void wxWindowBase::SetSize(...)':
/usr/include/wx/window.h:190: error: `size' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:196: error: ISO C++ forbids defining types within
   return type
/usr/include/wx/window.h:196: error: two or more data types in declaration of `
   Move'
/usr/include/wx/window.h:196: error: semicolon missing after declaration of `
   class wxWindowBase'
/usr/include/wx/window.h: In function `int Move(int, int, int)':
/usr/include/wx/window.h:196: error: `DoSetSize' undeclared (first use this
   function)
/usr/include/wx/window.h: In function `void Move(const wxPoint&, int)':
/usr/include/wx/window.h:199: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h:199: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:202: error: virtual outside class declaration
/usr/include/wx/window.h:202: error: function `void Raise()' is initialized
   like a variable
/usr/include/wx/window.h:203: error: virtual outside class declaration
/usr/include/wx/window.h:203: error: function `void Lower()' is initialized
   like a variable
/usr/include/wx/window.h: In function `void SetClientSize(int, int)':
/usr/include/wx/window.h:207: error: `DoSetClientSize' undeclared (first use
   this function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:209: error: parse error before `&' token
/usr/include/wx/window.h: In function `void SetClientSize(...)':
/usr/include/wx/window.h:210: error: `DoSetClientSize' undeclared (first use
   this function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:212: error: parse error before `&' token
/usr/include/wx/window.h: In function `void SetClientSize(...)':
/usr/include/wx/window.h:213: error: redefinition of `void SetClientSize(...)'
/usr/include/wx/window.h:210: error: `void SetClientSize(...)' previously
   defined here
/usr/include/wx/window.h:213: error: redefinition of `void SetClientSize(...)'
/usr/include/wx/window.h:210: error: `void SetClientSize(...)' previously
   defined here
/usr/include/wx/window.h:213: error: `rect' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:216: error: non-member function `void
   GetPosition(int*, int*)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `void GetPosition(int*, int*)':
/usr/include/wx/window.h:216: error: `DoGetPosition' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:218: error: non-member function `wxPoint GetPosition()
   ' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxPoint GetPosition()':
/usr/include/wx/window.h:218: error: return type `struct wxPoint' is incomplete
/usr/include/wx/window.h:220: error: `DoGetPosition' undeclared (first use this
   function)
/usr/include/wx/window.h:222: error: invalid use of undefined type `struct
   wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `struct wxPoint'
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:225: error: non-member function `void GetSize(int*,
   int*)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `void GetSize(int*, int*)':
/usr/include/wx/window.h:225: error: `DoGetSize' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:226: error: parse error before `)' token
/usr/include/wx/window.h:229: error: `w' was not declared in this scope
/usr/include/wx/window.h:229: error: `h' was not declared in this scope
/usr/include/wx/window.h:229: error: `int DoGetSize' used prior to declaration
/usr/include/wx/window.h:229: error: initializer list being treated as compound
   expression
/usr/include/wx/window.h:230: error: parse error before `return'
/usr/include/wx/window.h:233: error: parse error before `)' token
/usr/include/wx/window.h:236: error: `x' was not declared in this scope
/usr/include/wx/window.h:236: error: `y' was not declared in this scope
/usr/include/wx/window.h:236: error: `int GetPosition' redeclared as different
   kind of symbol
/usr/include/wx/window.h:218: error: previous declaration of `wxPoint
   GetPosition()'
/usr/include/wx/window.h:236: error: initializer list being treated as compound
   expression
/usr/include/wx/window.h:237: error: `w' was not declared in this scope
/usr/include/wx/window.h:237: error: `h' was not declared in this scope
/usr/include/wx/window.h:237: error: `int GetSize' redeclared as different kind
   of symbol
/usr/include/wx/window.h:225: error: previous declaration of `void
   GetSize(int*, int*)'
/usr/include/wx/window.h:237: error: initializer list being treated as compound
   expression
/usr/include/wx/window.h:239: error: parse error before `return'
/usr/include/wx/window.h:242: error: non-member function `void
   GetClientSize(int*, int*)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `void GetClientSize(int*, int*)':
/usr/include/wx/window.h:242: error: `DoGetClientSize' undeclared (first use
   this function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:243: error: parse error before `)' token
/usr/include/wx/window.h:246: error: `w' was not declared in this scope
/usr/include/wx/window.h:246: error: `h' was not declared in this scope
/usr/include/wx/window.h:246: error: `int DoGetClientSize' used prior to
   declaration
/usr/include/wx/window.h:246: error: initializer list being treated as compound
   expression
/usr/include/wx/window.h:248: error: parse error before `return'
/usr/include/wx/window.h:254: error: virtual outside class declaration
/usr/include/wx/window.h:254: error: non-member function `wxPoint
   GetClientAreaOrigin()' cannot have `const' method qualifier
/usr/include/wx/window.h:257: error: parse error before `)' token
/usr/include/wx/window.h:264: error: parse error before `)' token
/usr/include/wx/window.h:266: error: non-member function `void
   GetBestSize(int*, int*)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `void GetBestSize(int*, int*)':
/usr/include/wx/window.h:267: error: `wxSize' undeclared (first use this
   function)
/usr/include/wx/window.h:267: error: parse error before `=' token
/usr/include/wx/window.h:269: error: `s' undeclared (first use this function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:279: error: parse error before `)' token
/usr/include/wx/window.h:300: error: virtual outside class declaration
/usr/include/wx/window.h:303: error: virtual outside class declaration
/usr/include/wx/window.h:308: error: virtual outside class declaration
/usr/include/wx/window.h:311: error: virtual outside class declaration
/usr/include/wx/window.h:313: error: virtual outside class declaration
/usr/include/wx/window.h:313: error: non-member function `int GetMinWidth()'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `int GetMinWidth()':
/usr/include/wx/window.h:313: error: `m_minWidth' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:314: error: virtual outside class declaration
/usr/include/wx/window.h:314: error: non-member function `int GetMinHeight()'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `int GetMinHeight()':
/usr/include/wx/window.h:314: error: `m_minHeight' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:315: error: non-member function `int GetMaxWidth()'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `int GetMaxWidth()':
/usr/include/wx/window.h:315: error: `m_maxWidth' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:316: error: non-member function `int GetMaxHeight()'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `int GetMaxHeight()':
/usr/include/wx/window.h:316: error: `m_maxHeight' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:319: error: Syntaxfehler before `(' token
/usr/include/wx/window.h:327: error: parse error before `&' token
/usr/include/wx/window.h: In function `void SetVirtualSize(...)':
/usr/include/wx/window.h:327: error: `DoSetVirtualSize' undeclared (first use
   this function)
/usr/include/wx/window.h: In function `void SetVirtualSize(int, int)':
/usr/include/wx/window.h:328: error: `DoSetVirtualSize' undeclared (first use
   this function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:330: error: parse error before `)' token
/usr/include/wx/window.h:332: error: non-member function `void
   GetVirtualSize(int*, int*)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `void GetVirtualSize(int*, int*)':
/usr/include/wx/window.h:333: error: parse error before `(' token
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:345: error: virtual outside class declaration
/usr/include/wx/window.h:345: error: `void DoSetVirtualSize(int, int)' used
   prior to declaration
/usr/include/wx/window.h:346: error: Syntaxfehler before `(' token
/usr/include/wx/window.h:351: error: Syntaxfehler before `(' token
/usr/include/wx/window.h:266: error: too few arguments to function `void
   GetBestSize(int*, int*)'
/usr/include/wx/window.h:354: error: at this point in file
/usr/include/wx/window.h:354: error: 'wxSize' is used as a type, but is not
   defined as a type.
/usr/include/wx/window.h:356: error: parse error before `return'
/usr/include/wx/window.h:364: error: virtual outside class declaration
/usr/include/wx/window.h:368: error: virtual outside class declaration
/usr/include/wx/window.h:371: error: non-member function `bool IsShown()'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool IsShown()':
/usr/include/wx/window.h:371: error: `m_isShown' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:372: error: non-member function `bool IsEnabled()'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool IsEnabled()':
/usr/include/wx/window.h:372: error: `m_isEnabled' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:376: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void SetWindowStyleFlag(long int)':
/usr/include/wx/window.h:376: error: `m_windowStyle' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:377: error: virtual outside class declaration
/usr/include/wx/window.h:377: error: non-member function `long int
   GetWindowStyleFlag()' cannot have `const' method qualifier
/usr/include/wx/window.h:381: error: non-member function `long int
   GetWindowStyle()' cannot have `const' method qualifier
/usr/include/wx/window.h:383: error: non-member function `bool HasFlag(int)'
   cannot have `const' method qualifier
/usr/include/wx/window.h:384: error: virtual outside class declaration
/usr/include/wx/window.h:384: error: non-member function `bool IsRetained()'
   cannot have `const' method qualifier
/usr/include/wx/window.h:388: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void SetExtraStyle(long int)':
/usr/include/wx/window.h:388: error: `m_exStyle' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:389: error: non-member function `long int
   GetExtraStyle()' cannot have `const' method qualifier
/usr/include/wx/window.h:392: error: virtual outside class declaration
/usr/include/wx/window.h:394: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void SetThemeEnabled(bool)':
/usr/include/wx/window.h:394: error: `m_themeEnabled' undeclared (first use
   this function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:395: error: virtual outside class declaration
/usr/include/wx/window.h:395: error: non-member function `bool
   GetThemeEnabled()' cannot have `const' method qualifier
/usr/include/wx/window.h:401: error: virtual outside class declaration
/usr/include/wx/window.h:401: error: function `void SetFocus()' is initialized
   like a variable
/usr/include/wx/window.h:404: error: virtual outside class declaration
/usr/include/wx/window.h:410: error: virtual outside class declaration
/usr/include/wx/window.h:410: error: non-member function `bool AcceptsFocus()'
   cannot have `const' method qualifier
/usr/include/wx/window.h:415: error: virtual outside class declaration
/usr/include/wx/window.h:415: error: non-member function `bool
   AcceptsFocusFromKeyboard()' cannot have `const' method qualifier
/usr/include/wx/window.h:422: error: virtual outside class declaration
/usr/include/wx/window.h:422: error: non-member function `wxWindow*
   GetDefaultItem()' cannot have `const' method qualifier
/usr/include/wx/window.h:426: error: virtual outside class declaration
/usr/include/wx/window.h:429: error: virtual outside class declaration
/usr/include/wx/window.h:435: error: non-member function `const wxWindowList&
   GetChildren()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `const wxWindowList& GetChildren()':
/usr/include/wx/window.h:435: error: `m_children' undeclared (first use this
   function)
/usr/include/wx/window.h: In function `wxWindowList& GetChildren()':
/usr/include/wx/window.h:436: error: new declaration `wxWindowList&
   GetChildren()'
/usr/include/wx/window.h:435: error: ambiguates old declaration `const
   wxWindowList& GetChildren()'
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:439: error: non-member function `wxWindow* GetParent()
   ' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxWindow* GetParent()':
/usr/include/wx/window.h:439: error: `m_parent' undeclared (first use this
   function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:440: error: non-member function `wxWindow*
   GetGrandParent()' cannot have `const' method qualifier
/usr/include/wx/window.h:443: error: virtual outside class declaration
/usr/include/wx/window.h:443: error: non-member function `bool IsTopLevel()'
   cannot have `const' method qualifier
/usr/include/wx/window.h:449: error: virtual outside class declaration
/usr/include/wx/window.h:452: error: virtual outside class declaration
/usr/include/wx/window.h:453: error: virtual outside class declaration
/usr/include/wx/window.h:474: error: non-member function `wxEvtHandler*
   GetEventHandler()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxEvtHandler* GetEventHandler()':
/usr/include/wx/window.h:474: error: `m_eventHandler' undeclared (first use
   this function)
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:507: error: virtual outside class declaration
/usr/include/wx/window.h:510: error: virtual outside class declaration
/usr/include/wx/window.h:511: error: virtual outside class declaration
/usr/include/wx/window.h:513: error: virtual outside class declaration
/usr/include/wx/window.h:529: error: parse error before `&' token
/usr/include/wx/window.h:536: error: parse error before `&' token
/usr/include/wx/window.h:547: error: virtual outside class declaration
/usr/include/wx/window.h:547: error: function `void WarpPointer(int, int)' is
   initialized like a variable
/usr/include/wx/window.h:561: error: virtual outside class declaration
/usr/include/wx/window.h:561: error: non-member function `bool HasCapture()'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool HasCapture()':
/usr/include/wx/window.h:561: error: invalid use of `this' in non-member
   function
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:569: error: parse error before `*' token
/usr/include/wx/window.h:569: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void Refresh(...)':
/usr/include/wx/window.h:572: error: parse error before `&' token
/usr/include/wx/window.h: In function `void RefreshRect(...)':
/usr/include/wx/window.h:575: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void Update()':
/usr/include/wx/window.h:578: error: virtual outside class declaration
/usr/include/wx/window.h:578: error: function `void Clear()' is initialized
   like a variable
/usr/include/wx/window.h:581: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void Freeze()':
/usr/include/wx/window.h:584: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void Thaw()':
/usr/include/wx/window.h:587: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void PrepareDC(wxDC&)':
/usr/include/wx/window.h:591: error: Syntaxfehler before `&' token
/usr/include/wx/window.h:592: error: Syntaxfehler before `&' token
/usr/include/wx/window.h:595: error: parse error before `)' token
/usr/include/wx/window.h:599: error: non-member function `bool IsExposed(int,
   int)' cannot have `const' method qualifier
/usr/include/wx/window.h:600: error: non-member function `bool IsExposed(int,
   int, int, int)' cannot have `const' method qualifier
/usr/include/wx/window.h:603: error: non-member function `bool IsExposed(const
   wxPoint&)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool IsExposed(const wxPoint&)':
/usr/include/wx/window.h:603: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h:603: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h:604: error: parse error before `&' token
/usr/include/wx/window.h:605: error: non-member function `bool IsExposed(...)'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool IsExposed(...)':
/usr/include/wx/window.h:612: error: parse error before `&' token
/usr/include/wx/window.h:612: error: virtual outside class declaration
/usr/include/wx/window.h:613: error: parse error before `&' token
/usr/include/wx/window.h:613: error: virtual outside class declaration
/usr/include/wx/window.h:615: error: parse error before `)' token
/usr/include/wx/window.h:616: error: parse error before `)' token
/usr/include/wx/window.h:620: error: virtual outside class declaration
/usr/include/wx/window.h:621: error: non-member function `const wxCursor&
   GetCursor()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `const wxCursor& GetCursor()':
/usr/include/wx/window.h:621: error: `m_cursor' undeclared (first use this
   function)
/usr/include/wx/window.h: In function `wxCursor& GetCursor()':
/usr/include/wx/window.h:622: error: new declaration `wxCursor& GetCursor()'
/usr/include/wx/window.h:621: error: ambiguates old declaration `const
   wxCursor& GetCursor()'
/usr/include/wx/window.h: In function `const wxCursor& GetCursor()':
/usr/include/wx/window.h:626: error: virtual outside class declaration
/usr/include/wx/window.h:626: error: function `bool SetFont(const wxFont&)' is
   initialized like a variable
/usr/include/wx/window.h:627: error: non-member function `const wxFont&
   GetFont()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `const wxFont& GetFont()':
/usr/include/wx/window.h:627: error: `m_font' undeclared (first use this
   function)
/usr/include/wx/window.h: In function `wxFont& GetFont()':
/usr/include/wx/window.h:628: error: new declaration `wxFont& GetFont()'
/usr/include/wx/window.h:627: error: ambiguates old declaration `const wxFont&
   GetFont()'
/usr/include/wx/window.h: In function `const wxFont& GetFont()':
/usr/include/wx/window.h:638: error: virtual outside class declaration
/usr/include/wx/window.h:638: error: non-member function `int GetCharHeight()'
   cannot have `const' method qualifier
/usr/include/wx/window.h:638: error: function `int GetCharHeight()' is
   initialized like a variable
/usr/include/wx/window.h:639: error: virtual outside class declaration
/usr/include/wx/window.h:639: error: non-member function `int GetCharWidth()'
   cannot have `const' method qualifier
/usr/include/wx/window.h:639: error: function `int GetCharWidth()' is
   initialized like a variable
/usr/include/wx/window.h:648: error: virtual outside class declaration
/usr/include/wx/window.h:648: error: non-member function `void
   GetTextExtent(const wxString&, int*, int*, int*, int*, const wxFont*)'
   cannot have `const' method qualifier
/usr/include/wx/window.h:648: error: function `void GetTextExtent(const
   wxString&, int*, int*, int*, int*, const wxFont*)' is initialized like a
   variable
/usr/include/wx/window.h:655: error: non-member function `void
   ClientToScreen(int*, int*)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `void ClientToScreen(int*, int*)':
/usr/include/wx/window.h:655: error: `DoClientToScreen' undeclared (first use
   this function)
/usr/include/wx/window.h:657: error: non-member function `void
   ScreenToClient(int*, int*)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `void ScreenToClient(int*, int*)':
/usr/include/wx/window.h:657: error: `DoScreenToClient' undeclared (first use
   this function)
/usr/include/wx/window.h:661: error: non-member function `wxPoint
   ClientToScreen(const wxPoint&)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxPoint ClientToScreen(const wxPoint&)':
/usr/include/wx/window.h:661: error: return type `struct wxPoint' is incomplete
/usr/include/wx/window.h:662: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h:662: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h:663: error: `DoClientToScreen' undeclared (first use
   this function)
/usr/include/wx/window.h:665: error: invalid use of undefined type `struct
   wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `struct wxPoint'
/usr/include/wx/window.h:669: error: non-member function `wxPoint
   ScreenToClient(const wxPoint&)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxPoint ScreenToClient(const wxPoint&)':
/usr/include/wx/window.h:669: error: return type `struct wxPoint' is incomplete
/usr/include/wx/window.h:670: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h:670: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h:671: error: `DoScreenToClient' undeclared (first use
   this function)
/usr/include/wx/window.h:673: error: invalid use of undefined type `struct
   wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `struct wxPoint'
/usr/include/wx/window.h:678: error: non-member function `wxHitTest
   HitTest(int, int)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxHitTest HitTest(int, int)':
/usr/include/wx/window.h:678: error: `DoHitTest' undeclared (first use this
   function)
/usr/include/wx/window.h:681: error: non-member function `wxHitTest
   HitTest(const wxPoint&)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxHitTest HitTest(const wxPoint&)':
/usr/include/wx/window.h:681: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h:681: error: invalid use of undefined type `const
   struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint
   '
/usr/include/wx/window.h:681: error: `DoHitTest' undeclared (first use this
   function)
/usr/include/wx/window.h:688: error: non-member function `wxBorder GetBorder()'
   cannot have `const' method qualifier
/usr/include/wx/window.h:704: error: non-member function `bool
   HasScrollbar(int)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool HasScrollbar(int)':
/usr/include/wx/window.h:714: error: virtual outside class declaration
/usr/include/wx/window.h:714: error: function `void SetScrollbar(int, int, int,
   int, bool)' is initialized like a variable
/usr/include/wx/window.h:715: error: virtual outside class declaration
/usr/include/wx/window.h:715: error: function `void SetScrollPos(int, int,
   bool)' is initialized like a variable
/usr/include/wx/window.h:716: error: virtual outside class declaration
/usr/include/wx/window.h:716: error: non-member function `int GetScrollPos(int)
   ' cannot have `const' method qualifier
/usr/include/wx/window.h:716: error: function `int GetScrollPos(int)' is
   initialized like a variable
/usr/include/wx/window.h:717: error: virtual outside class declaration
/usr/include/wx/window.h:717: error: non-member function `int
   GetScrollThumb(int)' cannot have `const' method qualifier
/usr/include/wx/window.h:717: error: function `int GetScrollThumb(int)' is
   initialized like a variable
/usr/include/wx/window.h:718: error: virtual outside class declaration
/usr/include/wx/window.h:718: error: non-member function `int
   GetScrollRange(int)' cannot have `const' method qualifier
/usr/include/wx/window.h:718: error: function `int GetScrollRange(int)' is
   initialized like a variable
/usr/include/wx/window.h:722: error: parse error before `*' token
/usr/include/wx/window.h:722: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void ScrollWindow(...)':
/usr/include/wx/window.h:727: error: virtual outside class declaration
/usr/include/wx/window.h: In function `bool ScrollLines(int)':
/usr/include/wx/window.h:728: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void SetAutoLayout(bool)':
/usr/include/wx/window.h:806: error: `m_autoLayout' undeclared (first use this
   function)
/usr/include/wx/window.h:807: error: non-member function `bool GetAutoLayout()'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool GetAutoLayout()':
/usr/include/wx/window.h:810: error: virtual outside class declaration
/usr/include/wx/window.h:816: error: non-member function `wxSizer* GetSizer()'
   cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxSizer* GetSizer()':
/usr/include/wx/window.h:816: error: `m_windowSizer' undeclared (first use this
   function)
/usr/include/wx/window.h: In function `void SetContainingSizer(wxSizer*)':
/usr/include/wx/window.h:819: error: `m_containingSizer' undeclared (first use
   this function)
/usr/include/wx/window.h:820: error: non-member function `wxSizer*
   GetContainingSizer()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxSizer* GetContainingSizer()':
/usr/include/wx/window.h:837: error: `wxSysColourChangedEvent' undeclared
   (first use this function)
/usr/include/wx/window.h:837: error: `event' undeclared (first use this
   function)
/usr/include/wx/window.h:837: error: variable or field `OnSysColourChanged'
   declared void
/usr/include/wx/window.h:837: confused by earlier errors, bailing out
make[2]: *** [amule-ListenSocket.o] Fehler 1
make[2]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/xmule/temp/aMule-2.0.0rc3'
make: *** [all] Fehler 2
xmule@computer1:/home/xmule/temp/aMule-2.0.0rc3>


But it doesn't get through. So, what did I do wrong?
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compilation probs?
« Reply #1 on: April 30, 2004, 03:40:00 PM »

Install libgd or disable wxcas on compilation ( ./configure ... --disable-wxcas )
LibGD is necessary for compiling wxCAS since this v2-rc3 release.

I hope that helps
Greetings
Logged

nachbarnebenan

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 75
Re: compilation probs?
« Reply #2 on: April 30, 2004, 04:24:33 PM »

> I hope that helps

Sorry, it does not.

I already disabled wxcas, as is shown above. And with lbGD do you mean libgda and -devel? They are installed.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compilation probs?
« Reply #3 on: April 30, 2004, 05:31:32 PM »

Ah, yes sorry about the disable wxcas tip, I forgot you had already tried it :-S
Oh! I saw it! I saw it! This is the problem your username:
> xmule@computer1:/home/xmule/temp/aMule-2.0.0rc3
;-) Just a joke.

Your problem is in wx. Please reinstall them.
If you want to have wxcas and cas working, then install libgd (of course, the developer packages).

I hope this time it helps ;-)
Regards
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: compilation probs?
« Reply #4 on: April 30, 2004, 06:30:41 PM »

type wx-config --basename
Logged

nachbarnebenan

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 75
Re: compilation probs?
« Reply #5 on: April 30, 2004, 07:08:14 PM »

> Your problem is in wx. Please reinstall them.

I already did, the ones from http://www.amule-project.net/amule/download.php (all three).
I will try to recompile wxWidgets, maybe this will help.

> type wx-config --basename

It only prints "wx_base", nothing more. Even after wx reinstall. Shouldn't this give the necessary flags for compiling with wx?
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compilation probs?
« Reply #6 on: April 30, 2004, 07:31:15 PM »

Kry is a magician:
"[18:19] Jacobo221: the xmule guy probably has wx-config linked to wxbase"
lol ;-)

so, link it against wx_gtk and that's it.
Greetings
Logged

nachbarnebenan

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 75
Re: compilation probs?
« Reply #7 on: April 30, 2004, 08:21:06 PM »

Yep, that's it. Thanks a lot. :)
Now I wonder how it got wrongly linked...
Logged

Graymalkin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: compilation probs?
« Reply #8 on: April 30, 2004, 08:49:36 PM »

Hello,

and sorry for this newbie question:

What does it mean to
Quote
link it against wx_gtk
?

I know what wx_gtk is and I figure linking something to something else may have to do with the configure part of the compiling process.

I seem to be having the same problem nachbarnebenan had.

Thanks in advance.

- Graymalkin
Logged

nachbarnebenan

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 75
Re: compilation probs?
« Reply #9 on: April 30, 2004, 09:07:01 PM »

No, in this case "linking" means: "making a symlink"
I had to do the following as root: "ln -s /usr/bin/wxgtk-2.4-config /usr/bin/wx-config" The exact command depends on where you installed wxGTK.
Logged

Graymalkin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: compilation probs?
« Reply #10 on: April 30, 2004, 10:51:54 PM »

Thanks for the reply. That didn't seem to be the problem though.
The link already existed.
Here's a copy of the part in "make" that refers to errors:

Quote
ClientCredits.h:31:45: cryptopp/config.h: Datei oder Verzeichnis nicht gefunden
ClientCredits.h:32:42: cryptopp/rsa.h: Datei oder Verzeichnis nicht gefunden
In file included from BaseClient.cpp:47:
ClientCredits.h:135: error: type specifier omitted for parameter `CryptoPP'
ClientCredits.h:135: error: Syntaxfehler before `::' token
ClientCredits.h:155: error: Syntaxfehler before `::' token
BaseClient.cpp:976:26: Warnung: #warning Lacks Comment Filtering
BaseClient.cpp:1564:10: Warnung: #warning ADDME - Import needed
make[2]: *** [amule-BaseClient.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/progs/aMule-2.0.0rc3/src«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/progs/aMule-2.0.0rc3«
make: *** [all] Fehler 2

I used configure --disalbe-wxcas
Without this option I get even more errors.
I have libcryptopp-513 installed.

Regards,

Graymalkin
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compilation probs?
« Reply #11 on: April 30, 2004, 11:10:35 PM »

Crypto++ problem, probably a bad installation. But since you have the messages in german (or whatever that's in)... no idea what the problem is.
To get an egnlish output, compile this way: `LC_MESSAGES=en_EN make`
PLEASE, NEVER report non-english logs in english forums ;-)

Post again after getting the ouput of the given above command.
Greetings.
Logged

Graymalkin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: compilation probs?
« Reply #12 on: April 30, 2004, 11:24:49 PM »

Thanks again for the quick reply. I appreciate it.
Here's the english output:
Quote
ClientCredits.h:31:45: cryptopp/config.h: No such file or directory
ClientCredits.h:32:42: cryptopp/rsa.h: No such file or directory
In file included from BaseClient.cpp:47:
ClientCredits.h:135: error: type specifier omitted for parameter `CryptoPP'
ClientCredits.h:135: error: syntax error before `::' token
ClientCredits.h:155: error: syntax error before `::' token
BaseClient.cpp:976:26: warning: #warning Lacks Comment Filtering
BaseClient.cpp:1564:10: warning: #warning ADDME - Import needed
make[2]: *** [amule-BaseClient.o] Error 1
make[2]: Leaving directory `/usr/local/progs/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/progs/aMule-2.0.0rc3'
make: *** [all] Error 2

Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compilation probs?
« Reply #13 on: May 01, 2004, 12:28:47 AM »

Sou you're missing config.h and rsa.h...
You Crypto++ library isn't properly installed. Maybe you didn't self-compile it, but you apt-get it or whatever. Please follow the HowTo compile aMule (at http://www.amule-project.net/amule/thread.php?threadid=796&sid= ) and report then. If you're on Debian, join #amule in irc.freenode.net and I'll tell you an URL on HowTo compile aMule in Debian

I hope that helps.
Greetings.
Logged

Graymalkin

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: compilation probs?
« Reply #14 on: May 01, 2004, 02:08:09 PM »

I think I may be missing the libcryptopp-devel package.
Unfortunalty I get "connection was refused when attempting to connect to sever" when I try to download something from download.berlios.de
Strange. Both on my windows and my linux machine.  ?(

Another thing: Is there a plan to upload i386 rpms or will there be only i686 packages in the future ?
I'm running Fedora Core 1 on a K6-2 450 which is i586 I assume.

Kind regards,

Graymalkin
Logged
Pages: [1] 2 3