aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compile Failure  (Read 3441 times)

mpierce

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Compile Failure
« on: December 22, 2004, 09:39:16 PM »

Debian sarge system
Make has failed at this point:
In file included from listctrl.cpp:90:
/usr/include/wx/gtk/win_gtk.h:54: error: 'GtkContainer' is used as a type, but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:55: error: syntax error before `*' token
/usr/include/wx/gtk/win_gtk.h:66: error: 'GdkVisibilityState' is used as a type, but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:71: error: 'gboolean' is used as a type, but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:72: error: 'gboolean' is used as a type, but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:73: error: 'gboolean' is used as a type, but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:78: error: 'GtkContainerClass' is used as a type, but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:92: error: type specifier omitted for parameter `gboolean'
/usr/include/wx/gtk/win_gtk.h:92: error: parse error before `)' token
/usr/include/wx/gtk/win_gtk.h:95: error: type specifier omitted for parameter `gboolean'
/usr/include/wx/gtk/win_gtk.h:95: error: parse error before `)' token
/usr/include/wx/gtk/win_gtk.h:98: error: type specifier omitted for parameter `gboolean'
/usr/include/wx/gtk/win_gtk.h:98: error: parse error before `)' token
listctrl.cpp: In member function `void wxODListHeaderWindow::DoDrawRect(wxDC*, int, int, int, int)':
listctrl.cpp:1953: error: `GtkStateType' undeclared (first use this function)
listctrl.cpp:1953: error: (Each undeclared identifier is reported only once for each function it appears in.)
listctrl.cpp:1953: error: parse error before `=' token
listctrl.cpp:1958: error: invalid use of undefined type `struct _GtkWidget'
/usr/include/wx/defs.h:2087: error: forward declaration of `struct _GtkWidget'
listctrl.cpp:1958: error: parse error before `)' token
listctrl.cpp:1958: error: `GTK_CHECK_CAST' undeclared (first use this function)
listctrl.cpp:1959: error: `state' undeclared (first use this function)
listctrl.cpp:1959: error: `GTK_SHADOW_OUT' undeclared (first use this function)
listctrl.cpp:1960: error: `GdkRectangle' undeclared (first use this function)
listctrl.cpp:1960: error: parse error before `)' token
listctrl.cpp:1951: warning: unused parameter `int y'
listctrl.cpp:1951: warning: unused parameter `int w'
listctrl.cpp:1951: warning: unused parameter `int h'
listctrl.cpp: In member function `virtual wxListItemAttr* wxODGenericListCtrl::OnGetItemAttr(long int) const':
listctrl.cpp:5632: warning: unused parameter `long int item'
make[4]: *** [amule-listctrl.o] Error 1
make[4]: Leaving directory `/usr/local/aMule-2.0.0rc8/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/aMule-2.0.0rc8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/aMule-2.0.0rc8'
make: *** [all] Error 2
mpierce@libranet:/usr/local/aMule-2.0.0rc8$

Something is obviously missing... what?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3923
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Compile Failure
« Reply #1 on: December 22, 2004, 09:45:21 PM »

not missing, propably broken wxgtk .. what version of wxgtk are you using ?

mpierce

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Compile Failure
« Reply #2 on: December 22, 2004, 11:16:47 PM »

mpierce@libranet:/usr/local/aMule-2.0.0rc8$ COLUMNS=120 dpkg -l | grep wxgtk
ii  libwxgtk2.4              2.4.2.6                  wxWindows Cross-platform C++ GUI toolkit (GTK+ runtime)
ii  libwxgtk2.4-dev          2.4.2.6                  wxWindows Cross-platform C++ GUI toolkit (GTK+ development)
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3923
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Compile Failure
« Reply #3 on: December 22, 2004, 11:45:14 PM »

can you remove them and compile wxgtk yourself ?
wxgtk pkgs provided by most linux distris are a bit buggy