Chinaunix
标题:
编译glib库出错??
[打印本页]
作者:
hxg82
时间:
2006-05-21 10:50
标题:
编译glib库出错??
./configure没有出错,
make出现以下错误???
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
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2