Re: compile error in compiling gtk+2.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 23, 2009 at 05:26:51PM +0800, WangZhenzhong wrote:
> I am using centos 5.2 
> gcc 4.1.2
> 
> then when i make gtk+2.18, it is error 
> 
> gdkpango.c: In function ‘gdk_pango_renderer_draw_shape’:
> gdkpango.c:324: 错误:‘PangoCairoShapeRendererFunc’ 未声明 (在此函数内第一次使用)
> gdkpango.c:324: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
> gdkpango.c:324: 错误:所在的函数内只报告一次。)
> gdkpango.c:324: 错误:expected ‘;’ before ‘shape_renderer’
> gdkpango.c:334: 错误:‘shape_renderer’ 未声明 (在此函数内第一次使用)
> gdkpango.c:334: 警告:隐式声明函数 ‘pango_cairo_context_get_shape_renderer’
> gdkpango.c:350: 警告:隐式声明函数 ‘shape_renderer’
> make[4]: *** [gdkpango.lo] 错误 1
> make[4]: Leaving directory `/root/gtk/gtk+-2.18.0/gdk'
> make[3]: *** [all-recursive] 错误 1
> make[3]: Leaving directory `/root/gtk/gtk+-2.18.0/gdk'
> make[2]: *** [all] 错误 2
> make[2]: Leaving directory `/root/gtk/gtk+-2.18.0/gdk'
> make[1]: *** [all-recursive] 错误 1
> make[1]: Leaving directory `/root/gtk/gtk+-2.18.0'
> make: *** [all] 错误 2

You compiled Pango without Cairo support.  I would expect configure to
catch this but maybe it does not.

Yeti

P.S.: If you post error logs, please please switch to the POSIX locale
befre running the thing that produces them.  Otherwise you may limit
responses to members of this list knowing what is the compiler trying to
say by
错误:(即使在一个函数内多次出现,每个未声明的标识符在其
错误:所在的函数内只报告一次。)
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux