当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : make 编译gmameui的时候出错 以下是编译的过程
帖子发表于 : 2008-09-01 14:19 
头像

注册: 2008-03-20 13:29
帖子: 97
送出感谢: 0 次
接收感谢: 0 次
mv -f .deps/options_string.Tpo .deps/options_string.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT gtkjoy.o -MD -MP -MF .deps/gtkjoy.Tpo -c -o gtkjoy.o gtkjoy.c
在包含自 gui.h:41 的文件中,
从 gtkjoy.c:32:
callbacks.h:30:35: 警告: #include 指示的末尾有多余的标识符
rom_entry.h:82: 警告: ‘rom_status_string_value’定义后未使用
gui.h:196: 警告: ‘gmameui_sidebar_set_page’声明为‘static’却从未定义过
gui.h:199: 警告: ‘gmameui_sidebar_set_with_rom’声明为‘static’却从未定义过
gui.h:202: 警告: ‘gmameui_sidebar_set_history’声明为‘static’却从未定义过
gui.h:205: 警告: ‘gmameui_sidebar_set_current_page’声明为‘static’却从未定义过
mv -f .deps/gtkjoy.Tpo .deps/gtkjoy.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT gui_prefs.o -MD -MP -MF .deps/gui_prefs.Tpo -c -o gui_prefs.o gui_prefs.c
在包含自 gui_prefs.c:36 的文件中:
common.h:27:1: 警告: “_POSIX_C_SOURCE”重定义
在包含自 /usr/include/string.h:26 的文件中,
从 gui_prefs.c:28:
/usr/include/features.h:205:1: 警告: 这是先前定义的位置
gui_prefs.c: 在函数‘mame_gui_prefs_init’中:
gui_prefs.c:671: 警告: 隐式声明函数‘g_mkdir’
gui_prefs.c:671: 警告: 对‘g_mkdir’的嵌套的外部声明
gui_prefs.c: 在函数‘mame_gui_prefs_save_int’中:
gui_prefs.c:744: 警告: 隐式声明函数‘g_key_file_save_to_file’
gui_prefs.c:744: 警告: 对‘g_key_file_save_to_file’的嵌套的外部声明
gui_prefs.c: 在函数‘mame_gui_prefs_save_string_arr’中:
gui_prefs.c:909: 警告: 传递参数 4 (属于‘g_key_file_set_string_list’)时在不兼容的指针类型间转换
gui_prefs.c: 在文件层:
rom_entry.h:82: 警告: ‘rom_status_string_value’定义后未使用
mv -f .deps/gui_prefs.Tpo .deps/gui_prefs.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT gui_prefs_dialog.o -MD -MP -MF .deps/gui_prefs_dialog.Tpo -c -o gui_prefs_dialog.o gui_prefs_dialog.c
在包含自 gui_prefs_dialog.c:27 的文件中:
common.h:27:1: 警告: “_POSIX_C_SOURCE”重定义
在包含自 /usr/include/limits.h:27 的文件中,
从 /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
从 /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
从 /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
从 /usr/lib/glib-2.0/include/glibconfig.h:11,
从 /usr/include/glib-2.0/glib/gtypes.h:30,
从 /usr/include/glib-2.0/glib/galloca.h:30,
从 /usr/include/glib-2.0/glib.h:30,
从 /usr/include/libglade-2.0/glade/glade.h:25,
从 gui_prefs_dialog.c:23:
/usr/include/features.h:205:1: 警告: 这是先前定义的位置
在包含自 gui.h:41 的文件中,
从 gui_prefs_dialog.c:28:
callbacks.h:30:35: 警告: #include 指示的末尾有多余的标识符
gui_prefs_dialog.c: 在函数‘mame_gui_prefs_dialog_init’中:
gui_prefs_dialog.c:147: 警告: 从不兼容的指针类型赋值
gui_prefs_dialog.c: 在文件层:
rom_entry.h:82: 警告: ‘rom_status_string_value’定义后未使用
gui.h:196: 警告: ‘gmameui_sidebar_set_page’声明为‘static’却从未定义过
gui.h:199: 警告: ‘gmameui_sidebar_set_with_rom’声明为‘static’却从未定义过
gui.h:202: 警告: ‘gmameui_sidebar_set_history’声明为‘static’却从未定义过
gui.h:205: 警告: ‘gmameui_sidebar_set_current_page’声明为‘static’却从未定义过
mv -f .deps/gui_prefs_dialog.Tpo .deps/gui_prefs_dialog.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT unzip.o -MD -MP -MF .deps/unzip.Tpo -c -o unzip.o unzip.c
mv -f .deps/unzip.Tpo .deps/unzip.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT keyboard.o -MD -MP -MF .deps/keyboard.Tpo -c -o keyboard.o keyboard.c
mv -f .deps/keyboard.Tpo .deps/keyboard.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT network_game.o -MD -MP -MF .deps/network_game.Tpo -c -o network_game.o network_game.c
在包含自 gui.h:41 的文件中,
从 network_game.c:42:
callbacks.h:30:35: 警告: #include 指示的末尾有多余的标识符
network_game.c: 在函数‘on_network_play_activate’中:
network_game.c:512: 警告: 未使用的变量‘rom’
network_game.c:511: 警告: 未使用的变量‘network_window’
network_game.c: 在文件层:
rom_entry.h:82: 警告: ‘rom_status_string_value’定义后未使用
gui.h:196: 警告: ‘gmameui_sidebar_set_page’声明为‘static’却从未定义过
gui.h:199: 警告: ‘gmameui_sidebar_set_with_rom’声明为‘static’却从未定义过
gui.h:202: 警告: ‘gmameui_sidebar_set_history’声明为‘static’却从未定义过
gui.h:205: 警告: ‘gmameui_sidebar_set_current_page’声明为‘static’却从未定义过
network_game.c:70: 警告: ‘create_network_options_string’定义后未使用
network_game.c:250: 警告: ‘create_network_options_window’定义后未使用
mv -f .deps/network_game.Tpo .deps/network_game.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT xmame_options.o -MD -MP -MF .deps/xmame_options.Tpo -c -o xmame_options.o xmame_options.c
mv -f .deps/xmame_options.Tpo .deps/xmame_options.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT xmame_executable.o -MD -MP -MF .deps/xmame_executable.Tpo -c -o xmame_executable.o xmame_executable.c
xmame_executable.c: 在函数‘xmame_get_option_string’中:
xmame_executable.c:1045: 警告: 在有返回值的的函数中,‘return’不带返回值
xmame_executable.c: 在函数‘xmame_get_options’中:
xmame_executable.c:1348: 警告: 在有返回值的的函数中,‘return’不带返回值
xmame_executable.c:1356: 警告: 在有返回值的的函数中,‘return’不带返回值
mv -f .deps/xmame_executable.Tpo .deps/xmame_executable.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT mame_options.o -MD -MP -MF .deps/mame_options.Tpo -c -o mame_options.o mame_options.c
在包含自 io.h:27 的文件中,
从 mame_options.c:32:
common.h:27:1: 警告: “_POSIX_C_SOURCE”重定义
在包含自 /usr/include/string.h:26 的文件中,
从 mame_options.c:25:
/usr/include/features.h:205:1: 警告: 这是先前定义的位置
mame_options.c:81: 警告: ‘mame_options_get_option_string’先前没有原型
mame_options.c: 在函数‘mame_options_get_option_string’中:
mame_options.c:89: 警告: 在有返回值的的函数中,‘return’不带返回值
mame_options.c:90: 警告: 在有返回值的的函数中,‘return’不带返回值
mame_options.c:103: 警告: 比较有符号和无符号数
mame_options.c:124: 警告: switch 没有处理枚举值‘GMAMEUI_PROPERTY_DATA_TYPE_COLOR’
mame_options.c:124: 警告: switch 没有处理枚举值‘GMAMEUI_PROPERTY_DATA_TYPE_FONT’
mame_options.c: 在函数‘mame_options_set’中:
mame_options.c:187: 警告: 传递实参 2(属于‘add_option_to_option_list’)丢弃了指针目标类型的限定
mame_options.c:187: 警告: 传递实参 3(属于‘add_option_to_option_list’)丢弃了指针目标类型的限定
mame_options.c: 在文件层:
mame_options.c:197: 警告: 返回类型默认为‘int’
mame_options.c:197: 警告: ‘mame_options_generate_custom_settings’先前没有原型
mame_options.c: 在函数‘mame_options_generate_custom_settings’中:
mame_options.c:202: 警告: 从不兼容的指针类型初始化
mame_options.c: 在文件层:
mame_options.c:227: 警告: ‘mame_options_get_dialog’先前没有原型
mame_options.c: 在函数‘mame_options_get_dialog’中:
mame_options.c:228: 警告: 未使用的变量‘plugins’
mame_options.c: 在文件层:
mame_options.c:282: 警告: ‘mame_options_new’先前没有原型
mame_options.c: 在函数‘mame_options_set_int’中:
mame_options.c:335: 警告: 传递实参 2(属于‘add_option_to_option_list’)丢弃了指针目标类型的限定
mame_options.c: 在文件层:
mame_options.c:342: 警告: ‘mame_options_set_double’先前没有原型
mame_options.c: 在函数‘mame_options_set_double’中:
mame_options.c:356: 警告: 传递实参 2(属于‘add_option_to_option_list’)丢弃了指针目标类型的限定
mame_options.c: 在函数‘get_property_value_as_string’中:
mame_options.c:435: 警告: switch 没有处理枚举值‘GMAMEUI_PROPERTY_OBJECT_TYPE_TEXT’
mame_options.c:435: 警告: switch 没有处理枚举值‘GMAMEUI_PROPERTY_OBJECT_TYPE_FOLDER’
mame_options.c: 在函数‘set_property_value_as_string’中:
mame_options.c:610: 警告: switch 没有处理枚举值‘GMAMEUI_PROPERTY_OBJECT_TYPE_FOLDER’
mame_options.c: 在函数‘register_callbacks’中:
mame_options.c:689: 警告: 未使用的变量‘key_error_msg’
mame_options.c: 在函数‘mame_options_add_page’中:
mame_options.c:1065: 警告: 隐式声明函数‘gmameui_get_icon_from_stock’
mame_options.c:1065: 警告: 对‘gmameui_get_icon_from_stock’的嵌套的外部声明
mame_options.c:1065: 警告: 赋值时将整数赋给指针,未作类型转换
mame_options.c:1067: 警告: 隐式声明函数‘mame_options_dialog_add_page’
mame_options.c:1067: 警告: 对‘mame_options_dialog_add_page’的嵌套的外部声明
mame_options.c: 在函数‘mame_options_generate_custom_settings’中:
mame_options.c:214: 警告: 在有返回值的函数中,程序流程到达函数尾
mv -f .deps/mame_options.Tpo .deps/mame_options.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT mame_options_dialog.o -MD -MP -MF .deps/mame_options_dialog.Tpo -c -o mame_options_dialog.o mame_options_dialog.c
在包含自 mame_options_dialog.c:27 的文件中:
common.h:27:1: 警告: “_POSIX_C_SOURCE”重定义
在包含自 /usr/include/limits.h:27 的文件中,
从 /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
从 /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
从 /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
从 /usr/lib/glib-2.0/include/glibconfig.h:11,
从 /usr/include/glib-2.0/glib/gtypes.h:30,
从 /usr/include/glib-2.0/glib/galloca.h:30,
从 /usr/include/glib-2.0/glib.h:30,
从 /usr/include/gtk-2.0/gdk/gdktypes.h:32,
从 /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
从 /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
从 /usr/include/gtk-2.0/gdk/gdk.h:30,
从 /usr/include/gtk-2.0/gtk/gtk.h:31,
从 mame_options_dialog.c:25:
/usr/include/features.h:205:1: 警告: 这是先前定义的位置
mame_options_dialog.c: 在函数‘add_category_columns’中:
mame_options_dialog.c:80: 警告: 隐式声明函数‘gmameui_cell_renderer_captioned_image_new’
mame_options_dialog.c:80: 警告: 对‘gmameui_cell_renderer_captioned_image_new’的嵌套的外部声明
mame_options_dialog.c:80: 警告: 赋值时将整数赋给指针,未作类型转换
mame_options_dialog.c: 在函数‘compare_pref_page_func’中:
mame_options_dialog.c:131: 警告: 隐式声明函数‘strcmp’
mame_options_dialog.c: 在文件层:
mame_options_dialog.c:235: 警告: ‘mame_options_dialog_add_page’先前没有原型
mv -f .deps/mame_options_dialog.Tpo .deps/mame_options_dialog.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT cell-renderer-captioned-image.o -MD -MP -MF .deps/cell-renderer-captioned-image.Tpo -c -o cell-renderer-captioned-image.o cell-renderer-captioned-image.c
mv -f .deps/cell-renderer-captioned-image.Tpo .deps/cell-renderer-captioned-image.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT filters_list.o -MD -MP -MF .deps/filters_list.Tpo -c -o filters_list.o filters_list.c
在包含自 filters_list.h:7 的文件中,
从 filters_list.c:3:
common.h:27:1: 警告: “_POSIX_C_SOURCE”重定义
在包含自 /usr/include/limits.h:27 的文件中,
从 /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122,
从 /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
从 /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
从 /usr/lib/glib-2.0/include/glibconfig.h:11,
从 /usr/include/glib-2.0/glib/gtypes.h:30,
从 /usr/include/glib-2.0/glib/galloca.h:30,
从 /usr/include/glib-2.0/glib.h:30,
从 /usr/include/gtk-2.0/gdk/gdktypes.h:32,
从 /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
从 /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
从 /usr/include/gtk-2.0/gdk/gdk.h:30,
从 /usr/include/gtk-2.0/gtk/gtk.h:31,
从 filters_list.c:1:
/usr/include/features.h:205:1: 警告: 这是先前定义的位置
在包含自 gui.h:41 的文件中,
从 filters_list.c:5:
callbacks.h:30:35: 警告: #include 指示的末尾有多余的标识符
filters_list.c: 在函数‘filters_list_get_group’中:
filters_list.c:478: 警告: 隐式声明函数‘memset’
filters_list.c:478: 警告: 内建函数 ‘memset’ 不兼容的隐式声明
filters_list.c: 在文件层:
rom_entry.h:82: 警告: ‘rom_status_string_value’定义后未使用
gui.h:196: 警告: ‘gmameui_sidebar_set_page’声明为‘static’却从未定义过
gui.h:199: 警告: ‘gmameui_sidebar_set_with_rom’声明为‘static’却从未定义过
gui.h:202: 警告: ‘gmameui_sidebar_set_history’声明为‘static’却从未定义过
gui.h:205: 警告: ‘gmameui_sidebar_set_current_page’声明为‘static’却从未定义过
filters_list.c:302: 警告: ‘filters_list_filter_func’定义后未使用
mv -f .deps/filters_list.Tpo .deps/filters_list.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o filter.c
filter.c: 在函数‘gmameui_filter_finalize’中:
filter.c:56: 警告: 传递实参 1(属于‘g_free’)丢弃了指针目标类型的限定
filter.c:61: 警告: 传递参数 1 (属于‘((struct GObjectClass *)gmameui_filter_parent_class)->finalize’)时在不兼容的指针类型间转换
filter.c: 在函数‘gmameui_filter_class_init’中:
filter.c:73: 警告: 从不兼容的指针类型赋值
filter.c: 在函数‘gmameui_filter_set_property’中:
filter.c:172: 警告: 传递实参 1(属于‘g_free’)丢弃了指针目标类型的限定
filter.c: 在文件层:
rom_entry.h:82: 警告: ‘rom_status_string_value’定义后未使用
mv -f .deps/filter.Tpo .deps/filter.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DDATADIR=\""/usr/local/share"\" -DGLADEDIR=\"/usr/local/share/gmameui/glade/\" -DGMAMEUI_UI_DIR=\"/usr/local/share/gmameui/ui/\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -MT gossip-cell-renderer-expander.o -MD -MP -MF .deps/gossip-cell-renderer-expander.Tpo -c -o gossip-cell-renderer-expander.o gossip-cell-renderer-expander.c
mv -f .deps/gossip-cell-renderer-expander.Tpo .deps/gossip-cell-renderer-expander.Po
gcc -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -std=gnu89 -O2 -fomit-frame-pointer -ffast-math -pipe -o gmameui common.o gmameui.o interface.o callbacks.o io.o game_list.o game_options.o rom_entry.o mameio.o gui.o gmameui-gamelist-view.o progression_window.o directories.o about.o audit.o properties.o options.o options_string.o gtkjoy.o gui_prefs.o gui_prefs_dialog.o unzip.o keyboard.o network_game.o xmame_options.o xmame_executable.o mame_options.o mame_options_dialog.o cell-renderer-captioned-image.o filters_list.o filter.o gossip-cell-renderer-expander.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lexpat -lz
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/src'
Making all in data
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/data'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/data'
Making all in po
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/po'
file=`echo en_AU | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file en_AU.po
file=`echo pt_BR | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file pt_BR.po
file=`echo it | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file it.po
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/po'
Making all in intl
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/intl'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/intl'
Making all in help
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/help'
xsltproc -o gmameui-C.omf --stringparam db2omf.basename gmameui --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/home/linziyan/桌面/gmameui-0.2.4/help/gmameui.omf.in" --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/gmameui.xml || { rm -f "gmameui-C.omf"; exit 1; }
db2omf: Could not construct the OMF subject element.
Add a subject element to /home/linziyan/桌面/gmameui-0.2.4/help/gmameui.omf.in.
make[2]: *** [gmameui-C.omf] 错误 1
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/help'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4'
make: *** [all] 错误 2
linziyan@linziyan-desktop:~/桌面/gmameui-0.2.4$ sudo make
make all-recursive
make[1]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4'
Making all in src
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/src'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/src'
Making all in data
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/data'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/data'
Making all in po
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/po'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/po'
Making all in intl
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/intl'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/intl'
Making all in help
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/help'
xsltproc -o gmameui-C.omf --stringparam db2omf.basename gmameui --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/home/linziyan/桌面/gmameui-0.2.4/help/gmameui.omf.in" --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/gmameui.xml || { rm -f "gmameui-C.omf"; exit 1; }
db2omf: Could not construct the OMF subject element.
Add a subject element to /home/linziyan/桌面/gmameui-0.2.4/help/gmameui.omf.in.
make[2]: *** [gmameui-C.omf] 错误 1
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/help'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4'
make: *** [all] 错误 2
linziyan@linziyan-desktop:~/桌面/gmameui-0.2.4$ install
install: 缺少了文件操作数
请尝试执行“install --help”来获取更多信息。
linziyan@linziyan-desktop:~/桌面/gmameui-0.2.4$ make install
Making install in src
make[1]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/src'
make[2]: 正在进入目录 `/home/linziyan/桌面/gmameui-0.2.4/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c 'gmameui' '/usr/local/bin/gmameui'
/usr/bin/install: 无法创建一般文件 “/usr/local/bin/gmameui”: Permission denied
make[2]: *** [install-binPROGRAMS] 错误 1
make[2]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/src'
make[1]: *** [install-am] 错误 2
make[1]:正在离开目录 `/home/linziyan/桌面/gmameui-0.2.4/src'
make: *** [install-recursive] 错误 1

以为没有sudo 后来sudo的结果是一样的


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-09-01 15:18 
头像

注册: 2005-08-14 19:53
帖子: 3998
送出感谢: 1
接收感谢: 2
只是在make install的时候需要sudo,其余不需要。重新解压源代码,删除现有的。因为可能会遇到用sudo后权限问题。

然后看make错哪里了


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-09-01 19:47 
头像

注册: 2008-07-14 22:42
帖子: 8078
地址: Beijing
送出感谢: 0 次
接收感谢: 0 次
引用:
/usr/bin/install: 无法创建一般文件 “/usr/local/bin/gmameui”: Permission denied

其实就这里有用。。。。
以后请贴有用的信息。。。OK
sudo make看看有什么出错[/code]


_________________
Ubuntu User


页首
 用户资料  
 
4 楼 
 文章标题 : Re: make 编译gmameui的时候出错 以下是编译的过程
帖子发表于 : 2008-10-08 16:48 
头像

注册: 2008-07-02 15:43
帖子: 36
送出感谢: 0 次
接收感谢: 0 次
传递实参 2(属于‘add_option_to_option_list’)丢弃了指针目标类型的限定
这个问题是怎么解决的呢? :em01


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译