|
发表于 2004-11-22 16:42:41
|
显示全部楼层
而殴打情况和楼上的一样
不过改变后得到的错误如下:
/usr/include/glib-2.0/glib/gdate.h:228: error: syntax error before "g_date_strftime"
/usr/include/glib-2.0/glib/gdate.h:229: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gdate.h:231: warning: data definition has no type or storage class
In file included from /usr/include/glib-2.0/glib.h:40,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gdir.h:28: error: syntax error before "G_BEGIN_DECLS"
/usr/include/glib-2.0/glib/gdir.h:30: error: syntax error before "typedef"
/usr/include/glib-2.0/glib/gdir.h:35: error: syntax error before "gchar"
In file included from /usr/include/glib-2.0/glib.h:42,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gfileutils.h:26: error: syntax error before "G_BEGIN_DECLS"
/usr/include/glib-2.0/glib/gfileutils.h:30: error: syntax error before "typedef"
/usr/include/glib-2.0/glib/gfileutils.h:79: error: syntax error before "gsize"
In file included from /usr/include/glib-2.0/glib.h:43,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/ghash.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/include/glib-2.0/glib/ghash.h:34: error: syntax error before "typedef"
/usr/include/glib-2.0/glib/ghash.h:104: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/ghash.h:104: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/ghash.h:106: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/ghash.h:106: warning: data definition has no type or storage class
In file included from /usr/include/glib-2.0/glib.h:44,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/ghook.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/include/glib-2.0/glib/ghook.h:36: error: syntax error before "typedef"
In file included from /usr/include/glib-2.0/glib/gmain.h:23,
from /usr/include/glib-2.0/glib/giochannel.h:31,
from /usr/include/glib-2.0/glib.h:45,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gslist.h:32: error: syntax error before "G_BEGIN_DECLS"
/usr/include/glib-2.0/glib/gslist.h:34: error: syntax error before "typedef"
In file included from /usr/include/glib-2.0/glib/giochannel.h:31,
from /usr/include/glib-2.0/glib.h:45,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gmain.h:26: error: syntax error before "G_BEGIN_DECLS"
/usr/include/glib-2.0/glib/gmain.h:28: error: syntax error before "typedef"
/usr/include/glib-2.0/glib/gmain.h:35: error: syntax error before "pid"
/usr/include/glib-2.0/glib/gmain.h:251: error: syntax error before "pid"
/usr/include/glib-2.0/glib/gmain.h:296: error: syntax error before "GPid"
/usr/include/glib-2.0/glib/gmain.h:300: error: syntax error before "pid"
In file included from /usr/include/glib-2.0/glib/gstring.h:31,
from /usr/include/glib-2.0/glib/giochannel.h:32,
from /usr/include/glib-2.0/glib.h:45,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gunicode.h:28: error: syntax error before "G_BEGIN_DECLS"
/usr/include/glib-2.0/glib/gunicode.h:30: error: syntax error before "typedef"
/usr/include/glib-2.0/glib/gunicode.h:114: error: syntax error before "char"
/usr/include/glib-2.0/glib/gunicode.h:118: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:118: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:119: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:119: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:120: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:120: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:121: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:121: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:122: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:122: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:123: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:123: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:124: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:124: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:125: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:125: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:126: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:126: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:127: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:127: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:128: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:128: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:129: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:129: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:130: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:130: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:131: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:131: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:135: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:135: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:136: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:136: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:137: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:137: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:141: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:141: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:143: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:143: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:146: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:146: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:149: error: syntax error before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:149: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gunicode.h:156: error: syntax error before "gsize"/usr/include/glib-2.0/glib/gunicode.h:162: error: syntax error before "gsize"/usr/include/glib-2.0/glib/gunicode.h:172: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:185: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:190: error: syntax error before "gsize"/usr/include/glib-2.0/glib/gunicode.h:195: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:198: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:201: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:249: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:256: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:258: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:260: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:274: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gunicode.h:280: error: syntax error before "gssize"
In file included from /usr/include/glib-2.0/glib/gutils.h:31,
from /usr/include/glib-2.0/glib/gstring.h:32,
from /usr/include/glib-2.0/glib/giochannel.h:32,
from /usr/include/glib-2.0/glib.h:45,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stdarg.h:43: error: syntax error before "typedef"
In file included from /usr/include/glib-2.0/glib/gstring.h:32,
from /usr/include/glib-2.0/glib/giochannel.h:32,
from /usr/include/glib-2.0/glib.h:45,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gutils.h:116: error: syntax error before "G_CONST_RETURN"
/usr/include/glib-2.0/glib/gutils.h:116: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/gutils.h:117: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/gutils.h:118: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/gutils.h:119: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/gutils.h:122: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/gutils.h:142: error: syntax error before "G_GNUC_PRINTF"
/usr/include/glib-2.0/glib/gutils.h:142: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gutils.h:152: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/gutils.h:160: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/gutils.h:176: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/gutils.h: In function `g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:239: error: `GLIB_SIZEOF_LONG' undeclared (first use in this function)
/usr/include/glib-2.0/glib/gutils.h:239: error: (Each undeclared identifier is reported only once
/usr/include/glib-2.0/glib/gutils.h:239: error: for each function it appears in.)
/usr/include/glib-2.0/glib/gutils.h: In function `g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:247: error: `GLIB_SIZEOF_LONG' undeclared (first use in this function)
In file included from /usr/include/glib-2.0/glib/giochannel.h:32,
from /usr/include/glib-2.0/glib.h:45,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gstring.h: At top level:
/usr/include/glib-2.0/glib/gstring.h:34: error: syntax error before "G_BEGIN_DECLS"
/usr/include/glib-2.0/glib/gstring.h:36: error: syntax error before "typedef"/usr/include/glib-2.0/glib/gstring.h:42: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gstring.h:42: warning: no semicolon at end of struct or union
/usr/include/glib-2.0/glib/gstring.h:43: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gstring.h:48: error: syntax error before "size"
/usr/include/glib-2.0/glib/gstring.h:54: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstring.h:63: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstring.h:64: error: syntax error before "dfl_size"
/usr/include/glib-2.0/glib/gstring.h:73: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gstring.h:75: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gstring.h:77: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstring.h:84: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstring.h:97: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstring.h:99: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstring.h:102: error: syntax error before "gssize"/usr/include/glib-2.0/glib/gstring.h:105: error: syntax error before "gssize"/usr/include/glib-2.0/glib/gstring.h:108: error: syntax error before "gssize"/usr/include/glib-2.0/glib/gstring.h:114: error: syntax error before "G_GNUC_PRINTF"
/usr/include/glib-2.0/glib/gstring.h:114: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gstring.h:117: error: syntax error before "G_GNUC_PRINTF"
/usr/include/glib-2.0/glib/gstring.h:117: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gstring.h: In function `g_string_append_c_inline':/usr/include/glib-2.0/glib/gstring.h:125: error: dereferencing pointer to incomplete type
/usr/include/glib-2.0/glib/gstring.h:125: error: dereferencing pointer to incomplete type
/usr/include/glib-2.0/glib/gstring.h:127: error: dereferencing pointer to incomplete type
/usr/include/glib-2.0/glib/gstring.h:127: error: dereferencing pointer to incomplete type
/usr/include/glib-2.0/glib/gstring.h:128: error: dereferencing pointer to incomplete type
/usr/include/glib-2.0/glib/gstring.h:128: error: dereferencing pointer to incomplete type
In file included from /usr/include/glib-2.0/glib.h:45,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/giochannel.h: At top level:
/usr/include/glib-2.0/glib/giochannel.h:34: error: syntax error before "G_BEGIN_DECLS"
/usr/include/glib-2.0/glib/giochannel.h:39: error: syntax error before "typedef"
/usr/include/glib-2.0/glib/giochannel.h:116: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:116: warning: no semicolon at end of struct or union
/usr/include/glib-2.0/glib/giochannel.h:124: error: syntax error before ':' token
/usr/include/glib-2.0/glib/giochannel.h:125: error: syntax error before ':' token
/usr/include/glib-2.0/glib/giochannel.h:126: error: syntax error before ':' token
/usr/include/glib-2.0/glib/giochannel.h:127: error: syntax error before ':' token
/usr/include/glib-2.0/glib/giochannel.h:128: error: syntax error before ':' token
/usr/include/glib-2.0/glib/giochannel.h:129: error: syntax error before ':' token
/usr/include/glib-2.0/glib/giochannel.h:133: error: syntax error before '}' token
/usr/include/glib-2.0/glib/giochannel.h:142: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:147: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:172: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:176: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:204: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:205: error: syntax error before "g_io_channel_get_buffer_size"
/usr/include/glib-2.0/glib/giochannel.h:205: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/giochannel.h:214: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/giochannel.h:222: error: syntax error before "gchar"
/usr/include/glib-2.0/glib/giochannel.h:232: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:237: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:241: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:245: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/giochannel.h:253: error: syntax error before "gssize"
In file included from /usr/include/glib-2.0/glib.h:47,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gmacros.h:43:1: warning: "G_GNUC_EXTENSION" redefined
In file included from /usr/include/glib-2.0/glib/gtypes.h:30,
from /usr/include/glib-2.0/glib/galloca.h:30,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/local/lib/glib/include/glibconfig.h:38:1: warning: this is the location of the previous definition
In file included from /usr/include/glib-2.0/glib.h:49,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gmarkup.h:30: error: syntax error before "typedef"/usr/include/glib-2.0/glib/gmarkup.h:77: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gmarkup.h:88: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gmarkup.h:107: error: syntax error before "gssize"/usr/include/glib-2.0/glib/gmarkup.h:121: error: syntax error before "gssize"In file included from /usr/include/glib-2.0/glib.h:51,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gmessages.h:44: error: syntax error before "g_printf_string_upper_bound"
In file included from /usr/include/glib-2.0/glib.h:55,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gqsort.h:37: error: syntax error before "gsize"
In file included from /usr/include/glib-2.0/glib.h:63,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gspawn.h:80: error: syntax error before "GPid"
/usr/include/glib-2.0/glib/gspawn.h:93: error: syntax error before "GPid"
/usr/include/glib-2.0/glib/gspawn.h:123: error: syntax error before "pid"
In file included from /usr/include/glib-2.0/glib.h:64,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/glib/gstrfuncs.h:104: error: syntax error before "g_strlcpy"
/usr/include/glib-2.0/glib/gstrfuncs.h:106: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gstrfuncs.h:106: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gstrfuncs.h:107: error: syntax error before "g_strlcat"
/usr/include/glib-2.0/glib/gstrfuncs.h:109: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gstrfuncs.h:109: warning: data definition has no type or storage class
/usr/include/glib-2.0/glib/gstrfuncs.h:111: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstrfuncs.h:116: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstrfuncs.h:156: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gstrfuncs.h:158: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstrfuncs.h:160: error: syntax error before "gssize"
/usr/include/glib-2.0/glib/gstrfuncs.h:188: error: syntax error before "gsize"
/usr/include/glib-2.0/glib/gstrfuncs.h:189: error: syntax error before "length"
In file included from /usr/include/glib-2.0/gobject/gboxed.h:26,
from /usr/include/glib-2.0/glib-object.h:25,
from /usr/include/pango-1.0/pango/pango-types.h:26,
from /usr/include/pango-1.0/pango/pango-font.h:26,
from /usr/include/pango-1.0/pango/pango-attributes.h:25,
from /usr/include/pango-1.0/pango/pango.h:25,
from /usr/include/gtk-2.0/gdk/gdktypes.h:33,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/glib-2.0/gobject/gtype.h:310: error: syntax error before "gsize"In file included from /usr/include/gtk-2.0/gdk/gdkcursor.h:5,
from /usr/include/gtk-2.0/gdk/gdk.h:31,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:176: error: syntax error before "gsize"
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:199: error: syntax error before "gsize"
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:206: error: syntax error before "gsize"
In file included from /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:350,
from /usr/include/gtk-2.0/gdk/gdkcursor.h:5,
from /usr/include/gtk-2.0/gdk/gdk.h:31,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from skyeye_lcd.c:50:
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:80: error: syntax error before "gsize"
In file included from /usr/include/gtk-2.0/gtk/gtk.h:172,
from skyeye_lcd.c:50:
/usr/include/gtk-2.0/gtk/gtkuimanager.h:121: error: syntax error before "gssize"
skyeye_lcd.c:100: warning: useless keyword or type name in empty declaration
skyeye_lcd.c:100: warning: empty declaration
skyeye_lcd.c: In function `expose_event':
skyeye_lcd.c:109: warning: passing arg 10 of `gdk_draw_indexed_image' from incompatible pointer type
skyeye_lcd.c: In function `callback_button_press':
skyeye_lcd.c:144: warning: passing arg 1 of `skPenEvent' from incompatible pointer type
skyeye_lcd.c: In function `callback_button_release':
skyeye_lcd.c:151: warning: passing arg 1 of `skPenEvent' from incompatible pointer type
skyeye_lcd.c: In function `callback_motion_notify':
skyeye_lcd.c:160: warning: passing arg 1 of `skPenEvent' from incompatible pointer type
skyeye_lcd.c: In function `lcd_enable':
skyeye_lcd.c:281: warning: passing arg 1 of `gtk_window_set_title' from incompatible pointer type
skyeye_lcd.c:293: warning: passing arg 1 of `gtk_widget_set_events' from incompatible pointer type
skyeye_lcd.c:329: warning: assignment from incompatible pointer type
skyeye_lcd.c:334: warning: assignment from incompatible pointer type
skyeye_lcd.c:337: warning: assignment from incompatible pointer type
skyeye_lcd.c: In function `lcd_disable':
skyeye_lcd.c:378: warning: passing arg 1 of `gdk_rgb_cmap_free' from incompatible pointer type
make[2]: *** [skyeye_lcd.o] 错误 1
make[2]: Leaving directory `/home/ronnie/skyeye_project/skyeye/sim/arm'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/home/ronnie/skyeye_project/skyeye/sim'
make: *** [all-sim] 错误 2 |
|