红联Linux门户
Linux帮助

请教关于gtk源码包编译的问题

发布时间:2008-12-09 16:01:56来源:红联作者:coffeeboke
最近编译gtk+-2.14.3出现了一些问题,我的各种依赖库都安装好 了,并且在./configure 没有报错,make时出现了GDK_TYPE_COLORSPACE undeclared 等错误,是在是一头雾水,google上都搜了N次了也没有找到答案,
In file included from gdk-pixbuf.h:41,
from gdk-pixbuf.c:31:
../gdk-pixbuf/gdk-pixbuf-enum-types.h:17:9: error: macro names must be identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:19:9: error: macro names must be identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:21:9: error: macro names must be identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:25:9: error: macro names must be identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:27:9: error: macro names must be identifiers
gdk-pixbuf.c: In function ‘gdk_pixbuf_class_init’:
gdk-pixbuf.c:101: error: ‘GDK_TYPE_COLORSPACE’ undeclared (first use in this function)
gdk-pixbuf.c:101: error: (Each undeclared identifier is reported only once
gdk-pixbuf.c:101: error: for each function it appears in.)
make[4]: *** [gdk-pixbuf.lo] Error 1
make[4]: Leaving directory `/usr/gtk/gtk+-2.14.3/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/gtk/gtk+-2.14.3/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/gtk/gtk+-2.14.3/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/gtk/gtk+-2.14.3'
make: *** [all] Error 2

[ 本帖最后由 coffeeboke 于 2008-12-9 16:07 编辑 ]
文章评论

共有 0 条评论