debian:/usr/local/src/skyeye# make
gcc-3.4 -g -O2 -g -O2 -DSTANDALONE -DDEFAULT_INLINE=0 -DMODET -DMODET `pkg-conf ig gtk+-2.0 --cflags` -I arch/arm -I arch/arm/common/ -I arch/arm/common/mmu/ -I arch/arm/mach/ -I device/ -I device/net -I device/lcd -I device/flash -I utils/ share -I utils/main -I utils/config -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2 .0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include - c device/lcd/skyeye_lcd_gtk.c -o binary/skyeye_lcd_gtk.o `pkg-config gtk+-2.0 -- cflags`
In file included from /usr/include/gtk-2.0/gtk/gtk.h:31,
from device/lcd/skyeye_lcd_gtk.c:28:
/usr/include/gtk-2.0/gdk/gdk.h:70: error: parse error before '*' token
In file included from /usr/include/gtk-2.0/gtk/gtk.h:114,
from device/lcd/skyeye_lcd_gtk.c:28:
/usr/include/gtk-2.0/gtk/gtkmain.h:101: error: parse error before "GOptionEntry"
/usr/include/gtk-2.0/gtk/gtkmain.h:105: error: parse error before '*' token
/usr/include/gtk-2.0/gtk/gtkmain.h:105: warning: data definition has no type or storage class
device/lcd/skyeye_lcd_gtk.c: In function `expose_event':
device/lcd/skyeye_lcd_gtk.c:88: warning: passing arg 10 of `gdk_draw_indexed_ima ge' from incompatible pointer type
device/lcd/skyeye_lcd_gtk.c:96: warning: passing arg 10 of `gdk_draw_indexed_ima ge' from incompatible pointer type
device/lcd/skyeye_lcd_gtk.c: In function `callback_button_press':
device/lcd/skyeye_lcd_gtk.c:180: warning: passing arg 1 of `skPenEvent' from inc ompatible pointer type
device/lcd/skyeye_lcd_gtk.c: In function `callback_button_release':
device/lcd/skyeye_lcd_gtk.c:188: warning: passing arg 1 of `skPenEvent' from inc ompatible pointer type
device/lcd/skyeye_lcd_gtk.c: In function `callback_motion_notify':
device/lcd/skyeye_lcd_gtk.c:199: warning: passing arg 1 of `skPenEvent' from inc ompatible pointer type
device/lcd/skyeye_lcd_gtk.c: In function `gtk_lcd_open':
device/lcd/skyeye_lcd_gtk.c:328: warning: passing arg 1 of `gtk_window_set_title ' from incompatible pointer type
device/lcd/skyeye_lcd_gtk.c:339: warning: passing arg 1 of `gtk_widget_set_event s' from incompatible pointer type
device/lcd/skyeye_lcd_gtk.c:381: warning: assignment from incompatible pointer t ype
device/lcd/skyeye_lcd_gtk.c:386: warning: assignment from incompatible pointer t ype
device/lcd/skyeye_lcd_gtk.c:389: warning: assignment from incompatible pointer t ype
device/lcd/skyeye_lcd_gtk.c: In function `gtk_lcd_close':
device/lcd/skyeye_lcd_gtk.c:425: warning: passing arg 1 of `gdk_rgb_cmap_free' f rom incompatible pointer type
make: *** [binary/skyeye_lcd_gtk.o] 错误 1
debian:/usr/local/src/skyeye#