免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1153 | 回复: 2
打印 上一主题 下一主题

编译glib库出错??make 的时候 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-21 10:46 |只看该作者 |倒序浏览
错误提示.

make  all-recursive
make[1]: Entering directory `/home/1/glib-1.2.0'
Making all in .
make[2]: Entering directory `/home/1/glib-1.2.0'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gstrfuncs.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c -DPIC gstrfuncs.c -o gstrfuncs.lo
gstrfuncs.c: In function `g_strsignal':
gstrfuncs.c:672: error: conflicting types for 'strsignal'
/usr/include/string.h:78: error: previous declaration of 'strsignal' was here
make[2]: *** [gstrfuncs.lo] Error 1
make[2]: Leaving directory `/home/1/glib-1.2.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/1/glib-1.2.0'
make: *** [all-recursive-am] Error 2


谁能告诉偶呀 ?

论坛徽章:
0
2 [报告]
发表于 2006-05-21 10:56 |只看该作者

有人知道吗

说说把

论坛徽章:
208
巨蟹座
日期:2013-09-02 09:16:36卯兔
日期:2013-09-02 20:53:59酉鸡
日期:2013-09-05 21:21:45戌狗
日期:2013-10-15 20:51:17寅虎
日期:2013-10-18 21:13:16白羊座
日期:2013-10-23 21:15:19午马
日期:2013-10-25 21:22:48技术图书徽章
日期:2013-11-01 09:11:32双鱼座
日期:2013-11-01 20:29:44丑牛
日期:2013-11-01 20:40:00卯兔
日期:2013-11-11 09:21:32酉鸡
日期:2013-12-04 19:56:39
3 [报告]
发表于 2006-05-21 21:24 |只看该作者
strsignal重复定义
估计是你c版本较新,把strsignal()封掉就可以了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP