LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 996|回复: 2

coreutils pass2 make 时出错:求助!

[复制链接]
发表于 2007-12-14 14:34:52 | 显示全部楼层 |阅读模式
mv -f .deps/userspec.Tpo .deps/userspec.Po
gcc -std=gnu99  -I.      -static -O2 -g -MT utimecmp.o -MD -MP
-MF .deps/utimecmp.Tpo -c -o utimecmp.o utimecmp.c
In file included from utimecmp.c:34:
utimens.h:2: error: conflicting types for 'futimens'
///usr/include/sys/stat.h:370: error: previous declaration of 'futimens'
was here
make[2]: *** [utimecmp.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/coreutils-6.9/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/SOURCES/coreutils-6.9/lib'
make: *** [all-recursive] Error 1
发表于 2007-12-14 23:23:11 | 显示全部楼层
前面执行过什麽?

主系统是啥?
回复 支持 反对

使用道具 举报

发表于 2007-12-15 21:22:57 | 显示全部楼层
是不是用了新版的glibc,比如2.6.1之类的?新版的glibc里面多了futimens函数,而coreutils和gzip自己都带了一个futimens函数,所以会出现冲突
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表