StarDict 2.4.1 Complie error!
Posted: Tue Jul 20, 2004 8:53 pm
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 -DDATADIR=\""/usr/share"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\" -DSTARDICT_LOCALEDIR=\""/usr/share/locale"\" -DSTARDICT_DATA_DIR=\""/usr/share/stardict"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -I/usr/X11R6/include -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -c -o mainwin.o `test -f 'mainwin.cpp' || echo './'`mainwin.cpp
In file included from stardict.h:26,
from stardict.cpp:35:
prefsdlg.h:42: error: `GtkOptionMenu' was not declared in this scope
prefsdlg.h:42: error: `option_menu' was not declared in this scope
prefsdlg.h:42: error: parse error before `*' token
stardict.cpp: In static member function `static gboolean
AppCore::on_window_state_event(GtkWidget*, GdkEventWindowState*, AppCore*)':
stardict.cpp:246: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp:246: error: (Each undeclared identifier is reported only once for
each function it appears in.)
stardict.cpp: In static member function `static gboolean
AppCore::vKeyPressReleaseCallback(GtkWidget*, GdkEventKey*, AppCore*)':
stardict.cpp:327: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In member function `void AppCore::TopWinEnterWord(const gchar*)':
stardict.cpp:1050: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In member function `void AppCore::ListClick(const gchar*)':
stardict.cpp:1133: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In function `gint client_die_cb(GnomeClient*, void*)':
stardict.cpp:1416: warning: no return statement in function returning non-void
stardict.cpp: In function `gint save_yourself_cb(GnomeClient*, int,
GnomeRestartStyle, int, GnomeInteractStyle, int, void*)':
stardict.cpp:1439: error: `GTK_COMBO' undeclared (first use this function)
make[3]: *** [stardict.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from stardict.h:26,
from mainwin.cpp:6:
prefsdlg.h:42: error: `GtkOptionMenu' was not declared in this scope
prefsdlg.h:42: error: `option_menu' was not declared in this scope
prefsdlg.h:42: error: parse error before `*' token
mainwin.cpp: In member function `void TopWin::Create(GtkWidget*)':
mainwin.cpp:71: error: `gtk_combo_new' undeclared (first use this function)
mainwin.cpp:71: error: (Each undeclared identifier is reported only once for
each function it appears in.)
mainwin.cpp:74: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp:74: error: `gtk_combo_set_case_sensitive' undeclared (first use
this function)
mainwin.cpp:75: error: `gtk_combo_disable_activate' undeclared (first use this
function)
mainwin.cpp:76: error: `gtk_combo_set_use_arrows' undeclared (first use this
function)
mainwin.cpp: In static member function `static gboolean
TopWin::on_back_button_press(GtkWidget*, GdkEventButton*, TopWin*)':
mainwin.cpp:165: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In member function `void TopWin::do_back()':
mainwin.cpp:262: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In member function `void TopWin::SetText(const gchar*)':
mainwin.cpp:581: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In member function `void TopWin::SetText_without_notify(const
gchar*)':
mainwin.cpp:592: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In member function `const gchar* TopWin::GetText()':
mainwin.cpp:598: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In member function `void TopWin::GrabFocus()':
mainwin.cpp:603: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In member function `void TopWin::TextSelectAll()':
mainwin.cpp:608: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In member function `gboolean TopWin::TextSelected()':
mainwin.cpp:613: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In member function `void TopWin::InsertHisList(const gchar*)':
mainwin.cpp:657: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp:665: error: `gtk_combo_set_popdown_strings' undeclared (first use
this function)
mainwin.cpp: In member function `void TopWin::InsertBackList(const gchar*)':
mainwin.cpp:684: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In static member function `static void
BottomWin::on_internetsearch_menu_item_activate(GtkMenuItem*, gchar*)':
mainwin.cpp:1860: error: `GTK_COMBO' undeclared (first use this function)
mainwin.cpp: In static member function `static void
BottomWin::InternetSearchCallback(GtkButton*, BottomWin*)':
mainwin.cpp:1898: error: `GTK_COMBO' undeclared (first use this function)
make[3]: *** [mainwin.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/stardict-2.4.1/work/stardict-2.4.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/stardict-2.4.1/work/stardict-2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/stardict-2.4.1/work/stardict-2.4.1'
make: *** [all] Error 2
!!! ERROR: app-dicts/stardict-2.4.1 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure