LinuxSir.cn,穿越时空的Linuxsir!

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

编译 d4x -2.4x的时候的错误和解决方法。

[复制链接]
发表于 2004-1-3 22:34:04 | 显示全部楼层 |阅读模式
正好编译的时候出错,
prefs.cc:813: error: `gtk_radio_menu_item_group' undeclared (first use this function)
prefs.cc:813: error: (Each undeclared identifier is reported only once for each function it appears in.)
prefs.cc: In function `void d4x_prefs_apply_tmp()':
prefs.cc:1470: error: `gtk_radio_menu_item_group' undeclared (first use this function)
make[3]: *** [prefs.o] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/d4x-2.4.1/main/face'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/d4x-2.4.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/d4x-2.4.1'
make: *** [all] Error 2

解决方法:
在 d4x-2.4.1/main/face/prefs.cc 加入:

#undef GTK_DISABLE_DEPRECATED
就可以了。

从网络找到的答案。
http://www.krasu.ru/soft/chuchel ... p;forummessage=1165
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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