LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 526|回复: 0

编译stardict出错

[复制链接]
发表于 2004-7-27 09:11:18 | 显示全部楼层 |阅读模式
我用slackware 10.0,我编译的是stardict-2.4.3出现下面的错误

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall       -DORBIT2=1 -pthread -I/usr/inclu de/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/i nclude/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/us r/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I /usr/lib/gnome-vfs-2.1/include -I/usr/include/bonobo-activation-2.0 -I/usr/inclu de/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/ atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2   -DDATADIR=\""/usr/local/so ftware/stardict/share"\" -DGNOME_ICONDIR=\""/usr/local/software/stardict/share/p ixmaps"\" -DSTARDICT_LOCALEDIR=\""/usr/local/software/stardict/share/locale"\" - DSTARDICT_DATA_DIR=\""/usr/local/software/stardict/share/stardict"\" -DG_DISABLE _DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISAB LE_DEPRECATED -DGNOME_DISABLE_DEPRECATED    -g -O2 -MT stardict.o -MD -MP -MF ". deps/stardict.Tpo" \
  -c -o stardict.o `test -f 'stardict.cpp' || echo './'`stardict.cpp; \
then mv -f ".deps/stardict.Tpo" ".deps/stardict.Po"; \
else rm -f ".deps/stardict.Tpo"; exit 1; \
fi
In file included from stardict.h:27,
                 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:n_window_state_event(GtkWidget*, GdkEventWindowState*, AppCore*)':
stardict.cpp:255: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp:255: 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:334: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In member function `void AppCore::TopWinEnterWord(const gchar*)':
stardict.cpp:1065: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In member function `void AppCore:istClick(const gchar*)':
stardict.cpp:1148: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In function `gint save_yourself_cb(GnomeClient*, int,
   GnomeRestartStyle, int, GnomeInteractStyle, int, void*)':
stardict.cpp:1457: error: `GTK_COMBO' undeclared (first use this function)
make[3]: *** [stardict.o] 错误 1
make[3]: Leaving directory `/any/stardict/stardict-2.4.3/src'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/any/stardict/stardict-2.4.3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/any/stardict/stardict-2.4.3'
make: *** [all] 错误 2
bash-2.05b#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表