Re: compile error in compiling gtk+2.18



Hi,.
  You are Chinese, right? 
I think you should translate Chinese language into English first.Then
those who use English as their native language can understand you much
more.
  As to your problem,I guess your pango's installing procedure or
environment variable is not correct,Please check it first.

> I am using centos 5.2 
> gcc 4.1.2
>  
>  
>  
> then when i make gtk+2.18, it is error 
>  
> /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -pthread -I/opt/gtk/include/glib-2.0 -I/opt/gtk/lib/glib-2.0/include -I/opt/gtk/include/pango-1.0 -I/opt/gtk//include/cairo -I/opt/gtk/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12      -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES    -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -MT gdkpango.lo -MD -MP -MF .deps/gdkpango.Tpo -c -o gdkpango.lo gdkpango.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gdk
> \" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -pthread -I/opt/gtk/include/glib-2.0 -I/opt/gtk/lib/glib-2.0/include -I/opt/gtk/include/pango-1.0 -I/opt/gtk//include/cairo -I/opt/gtk/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -MT gdkpango.lo -MD -MP -MF .deps/gdkpango.Tpo -c gdkpango.c  -fPIC -DPIC -o .libs/gdkpango.o
> 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
>  
>  
>  
> thank you
>  
> 2009-12-23 
> 
> ______________________________________________________________________
> 姓名:王振中
> 
> 公司:艾诺通信系统(苏州)有限公司
> 
> 
> 地址:苏州工业园区苏虹西路81号苏虹工业坊A8单元二楼 
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list



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