|
紧急求教!!!我在linux下eclipse里编程编译出错!!!!这是怎么回事啊
In file included from /usr/include/glib-2.0/gio/gio.h:46:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gdbusconnection.h:38:18: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_connection_get_type’
In file included from /usr/include/glib-2.0/gio/gio.h:47:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gdbuserror.h:79:68: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
In file included from /usr/include/glib-2.0/gio/gio.h:48:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gdbusintrospection.h:276:7: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_node_info_get_type’
/usr/include/glib-2.0/gio/gdbusintrospection.h:277:7: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_interface_info_get_type’
/usr/include/glib-2.0/gio/gdbusintrospection.h:278:7: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_method_info_get_type’
/usr/include/glib-2.0/gio/gdbusintrospection.h:279:7: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_signal_info_get_type’
/usr/include/glib-2.0/gio/gdbusintrospection.h:280:7: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_property_info_get_type’
/usr/include/glib-2.0/gio/gdbusintrospection.h:281:7: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_arg_info_get_type’
/usr/include/glib-2.0/gio/gdbusintrospection.h:282:7: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_annotation_info_get_type’
In file included from /usr/include/glib-2.0/gio/gio.h:49:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gdbusmessage.h:38:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_message_get_type’
/usr/include/glib-2.0/gio/gdbusmessage.h:131:62: 错误:expected declaration specifiers or ‘...’ before ‘gsize’
/usr/include/glib-2.0/gio/gdbusmessage.h:135:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_message_bytes_needed’
/usr/include/glib-2.0/gio/gdbusmessage.h:140:62: 错误:expected declaration specifiers or ‘...’ before ‘gsize’
In file included from /usr/include/glib-2.0/gio/gio.h:50:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gdbusmethodinvocation.h:38:24: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_method_invocation_get_type’
In file included from /usr/include/glib-2.0/gio/gio.h:53:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gdbusproxy.h:89:18: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_proxy_get_type’
In file included from /usr/include/glib-2.0/gio/gio.h:54:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gdbusserver.h:38:19: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_dbus_server_get_type’
In file included from /usr/include/glib-2.0/gio/gio.h:56:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gdrive.h:156:10: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_drive_get_type’
In file included from /usr/include/glib-2.0/gio/gemblemedicon.h:31:0,
from /usr/include/glib-2.0/gio/gio.h:57,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gicon.h:80:10: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_icon_get_type’
In file included from /usr/include/glib-2.0/gio/gemblemedicon.h:32:0,
from /usr/include/glib-2.0/gio/gio.h:57,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gemblem.h:48:16: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_emblem_get_type’
In file included from /usr/include/glib-2.0/gio/gio.h:57:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gemblemedicon.h:51:8: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_emblemed_icon_get_type’
In file included from /usr/include/glib-2.0/gio/gio.h:58:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gfileattribute.h:63:27: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_file_attribute_info_list_get_type’
In file included from /usr/include/glib-2.0/gio/gio.h:59:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gfileenumerator.h:99:12: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_file_enumerator_get_type’
In file included from /usr/include/glib-2.0/gio/gio.h:60:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gfile.h:382:56: 错误:expected declaration specifiers or ‘...’ before ‘GFileProgressCallback’
/usr/include/glib-2.0/gio/gfile.h:390:56: 错误:expected declaration specifiers or ‘...’ before ‘GFileProgressCallback’
/usr/include/glib-2.0/gio/gfile.h:402:56: 错误:expected declaration specifiers or ‘...’ before ‘GFileProgressCallback’
/usr/include/glib-2.0/gio/gfile.h:548:25: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_file_get_type’
/usr/include/glib-2.0/gio/gfile.h:757:11: 错误:expected declaration specifiers or ‘...’ before ‘GFileProgressCallback’
/usr/include/glib-2.0/gio/gfile.h:765:11: 错误:expected declaration specifiers or ‘...’ before ‘GFileProgressCallback’
/usr/include/glib-2.0/gio/gfile.h:776:11: 错误:expected declaration specifiers or ‘...’ before ‘GFileProgressCallback’
/usr/include/glib-2.0/gio/gfile.h:966:12: 错误:expected declaration specifiers or ‘...’ before ‘gsize’
/usr/include/glib-2.0/gio/gfile.h:976:12: 错误:expected declaration specifiers or ‘...’ before ‘gsize’
/usr/include/glib-2.0/gio/gfile.h:987:12: 错误:expected declaration specifiers or ‘...’ before ‘gsize’
/usr/include/glib-2.0/gio/gfile.h:992:12: 错误:expected declaration specifiers or ‘...’ before ‘gsize’
/usr/include/glib-2.0/gio/gfile.h:1001:12: 错误:expected declaration specifiers or ‘...’ before ‘gsize’
In file included from /usr/include/glib-2.0/gio/gio.h:61:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from ../callback.c:7:
/usr/include/glib-2.0/gio/gfileicon.h:48:9: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_file_icon_get_type’
/usr/include/gtk-2.0/gdk/gdktypes.h:37:25: 致命错误:pango/pango.h:没有那个文件或目录
编译中断。
make: *** [callback.o] 错误 1
**** Build Finished **** |
|