急渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐渐
时间:2011-09-28
来源:互联网
gcc -o xiao xiao.c `pkg-config --cflags gtk+-2.0` -g -Wall -lpthread
/tmp/ccMsYmV8.o(.text+0x12): In function `callback':
/mnt/hgfs/share/xiao.c:5: undefined reference to `g_print'
/tmp/ccMsYmV8.o(.text+0x22): In function `destroy':
/mnt/hgfs/share/xiao.c:10: undefined reference to `gtk_main_quit'
/tmp/ccMsYmV8.o(.text+0x44): In function `main':
/mnt/hgfs/share/xiao.c:21: undefined reference to `gtk_init'
/tmp/ccMsYmV8.o(.text+0x51):/mnt/hgfs/share/xiao.c:22: undefined reference to `gtk_window_new'
/tmp/ccMsYmV8.o(.text+0x6a):/mnt/hgfs/share/xiao.c:24: undefined reference to `gtk_window_get_type'
/tmp/ccMsYmV8.o(.text+0x76):/mnt/hgfs/share/xiao.c:24: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x7f):/mnt/hgfs/share/xiao.c:24: undefined reference to `gtk_window_set_title'
/tmp/ccMsYmV8.o(.text+0xa1):/mnt/hgfs/share/xiao.c:28: undefined reference to `gtk_object_get_type'
/tmp/ccMsYmV8.o(.text+0xad):/mnt/hgfs/share/xiao.c:28: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0xb6):/mnt/hgfs/share/xiao.c:28: undefined reference to `gtk_signal_connect_full'
/tmp/ccMsYmV8.o(.text+0xc9):/mnt/hgfs/share/xiao.c:31: undefined reference to `gtk_container_get_type'
/tmp/ccMsYmV8.o(.text+0xd5):/mnt/hgfs/share/xiao.c:31: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0xde):/mnt/hgfs/share/xiao.c:31: undefined reference to `gtk_container_set_border_width'
/tmp/ccMsYmV8.o(.text+0xed):/mnt/hgfs/share/xiao.c:34: undefined reference to `gtk_hbox_new'
/tmp/ccMsYmV8.o(.text+0x104):/mnt/hgfs/share/xiao.c:37: undefined reference to `gtk_container_get_type'
/tmp/ccMsYmV8.o(.text+0x110):/mnt/hgfs/share/xiao.c:37: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x119):/mnt/hgfs/share/xiao.c:37: undefined reference to `gtk_container_add'
/tmp/ccMsYmV8.o(.text+0x129):/mnt/hgfs/share/xiao.c:39: undefined reference to `gtk_button_new_with_label'
/tmp/ccMsYmV8.o(.text+0x151):/mnt/hgfs/share/xiao.c:43: undefined reference to `gtk_object_get_type'
/tmp/ccMsYmV8.o(.text+0x15d):/mnt/hgfs/share/xiao.c:43: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x166):/mnt/hgfs/share/xiao.c:43: undefined reference to `gtk_signal_connect_full'
/tmp/ccMsYmV8.o(.text+0x180):/mnt/hgfs/share/xiao.c:46: undefined reference to `gtk_box_get_type'
/tmp/ccMsYmV8.o(.text+0x18c):/mnt/hgfs/share/xiao.c:46: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x195):/mnt/hgfs/share/xiao.c:46: undefined reference to `gtk_box_pack_start'
/tmp/ccMsYmV8.o(.text+0x1a3):/mnt/hgfs/share/xiao.c:49: undefined reference to `gtk_widget_show'
/tmp/ccMsYmV8.o(.text+0x1b3):/mnt/hgfs/share/xiao.c:51: undefined reference to `gtk_button_new_with_label'
/tmp/ccMsYmV8.o(.text+0x1db):/mnt/hgfs/share/xiao.c:55: undefined reference to `gtk_object_get_type'
/tmp/ccMsYmV8.o(.text+0x1e7):/mnt/hgfs/share/xiao.c:55: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x1f0):/mnt/hgfs/share/xiao.c:55: undefined reference to `gtk_signal_connect_full'
/tmp/ccMsYmV8.o(.text+0x12): In function `callback':
/mnt/hgfs/share/xiao.c:5: undefined reference to `g_print'
/tmp/ccMsYmV8.o(.text+0x22): In function `destroy':
/mnt/hgfs/share/xiao.c:10: undefined reference to `gtk_main_quit'
/tmp/ccMsYmV8.o(.text+0x44): In function `main':
/mnt/hgfs/share/xiao.c:21: undefined reference to `gtk_init'
/tmp/ccMsYmV8.o(.text+0x51):/mnt/hgfs/share/xiao.c:22: undefined reference to `gtk_window_new'
/tmp/ccMsYmV8.o(.text+0x6a):/mnt/hgfs/share/xiao.c:24: undefined reference to `gtk_window_get_type'
/tmp/ccMsYmV8.o(.text+0x76):/mnt/hgfs/share/xiao.c:24: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x7f):/mnt/hgfs/share/xiao.c:24: undefined reference to `gtk_window_set_title'
/tmp/ccMsYmV8.o(.text+0xa1):/mnt/hgfs/share/xiao.c:28: undefined reference to `gtk_object_get_type'
/tmp/ccMsYmV8.o(.text+0xad):/mnt/hgfs/share/xiao.c:28: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0xb6):/mnt/hgfs/share/xiao.c:28: undefined reference to `gtk_signal_connect_full'
/tmp/ccMsYmV8.o(.text+0xc9):/mnt/hgfs/share/xiao.c:31: undefined reference to `gtk_container_get_type'
/tmp/ccMsYmV8.o(.text+0xd5):/mnt/hgfs/share/xiao.c:31: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0xde):/mnt/hgfs/share/xiao.c:31: undefined reference to `gtk_container_set_border_width'
/tmp/ccMsYmV8.o(.text+0xed):/mnt/hgfs/share/xiao.c:34: undefined reference to `gtk_hbox_new'
/tmp/ccMsYmV8.o(.text+0x104):/mnt/hgfs/share/xiao.c:37: undefined reference to `gtk_container_get_type'
/tmp/ccMsYmV8.o(.text+0x110):/mnt/hgfs/share/xiao.c:37: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x119):/mnt/hgfs/share/xiao.c:37: undefined reference to `gtk_container_add'
/tmp/ccMsYmV8.o(.text+0x129):/mnt/hgfs/share/xiao.c:39: undefined reference to `gtk_button_new_with_label'
/tmp/ccMsYmV8.o(.text+0x151):/mnt/hgfs/share/xiao.c:43: undefined reference to `gtk_object_get_type'
/tmp/ccMsYmV8.o(.text+0x15d):/mnt/hgfs/share/xiao.c:43: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x166):/mnt/hgfs/share/xiao.c:43: undefined reference to `gtk_signal_connect_full'
/tmp/ccMsYmV8.o(.text+0x180):/mnt/hgfs/share/xiao.c:46: undefined reference to `gtk_box_get_type'
/tmp/ccMsYmV8.o(.text+0x18c):/mnt/hgfs/share/xiao.c:46: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x195):/mnt/hgfs/share/xiao.c:46: undefined reference to `gtk_box_pack_start'
/tmp/ccMsYmV8.o(.text+0x1a3):/mnt/hgfs/share/xiao.c:49: undefined reference to `gtk_widget_show'
/tmp/ccMsYmV8.o(.text+0x1b3):/mnt/hgfs/share/xiao.c:51: undefined reference to `gtk_button_new_with_label'
/tmp/ccMsYmV8.o(.text+0x1db):/mnt/hgfs/share/xiao.c:55: undefined reference to `gtk_object_get_type'
/tmp/ccMsYmV8.o(.text+0x1e7):/mnt/hgfs/share/xiao.c:55: undefined reference to `g_type_check_instance_cast'
/tmp/ccMsYmV8.o(.text+0x1f0):/mnt/hgfs/share/xiao.c:55: undefined reference to `gtk_signal_connect_full'
作者: xiaxuiau@gmail. 发布时间: 2011-09-28
`pkg-config --libs --cflags gtk+-2.0`
加上--libs试试
加上--libs试试
作者: hml1006 发布时间: 2011-09-29
什么什么
作者: 小举 发布时间: 2011-10-02
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28