make[2]: Leaving directory /usr/local/redis-3.2.3/deps'
fstatat64' is already defined
CC adlist.o
CC quicklist.o
CC ae.o
In file included from ae.c:53:
ae_epoll.c: 在函数‘aeApiAddEvent’中:
ae_epoll.c:75: 警告:缺少初始值设定
ae_epoll.c:75: 警告:(在‘ee.data’的初始化附近)
ae_epoll.c: 在函数‘aeApiDelEvent’中:
ae_epoll.c:92: 警告:缺少初始值设定
ae_epoll.c:92: 警告:(在‘ee.data’的初始化附近)
CC anet.o
anet.c: 在函数‘anetSockName’中:
anet.c:640: 警告:dereferencing pointer ‘s’ does break strict-aliasing rules
anet.c:638: 附注:initialized from here
anet.c:644: 警告:dereferencing pointer ‘s’ does break strict-aliasing rules
anet.c:642: 附注:initialized from here
anet.c: 在函数‘anetPeerToString’中:
anet.c:584: 警告:dereferencing pointer ‘s’ does break strict-aliasing rules
anet.c:582: 附注:initialized from here
anet.c:588: 警告:dereferencing pointer ‘s’ does break strict-aliasing rules
anet.c:586: 附注:initialized from here
anet.c: 在函数‘anetTcpAccept’中:
anet.c:555: 警告:dereferencing pointer ‘s’ does break strict-aliasing rules
anet.c:553: 附注:initialized from here
anet.c:559: 警告:dereferencing pointer ‘s’ does break strict-aliasing rules
anet.c:557: 附注:initialized from here
/tmp/ccMyxAR8.s: Assembler messages:
/tmp/ccMyxAR8.s:3732: Error: symbol
/tmp/ccMyxAR8.s:3755: Error: symbol fstat64' is already defined
lstat64' is already defined
/tmp/ccMyxAR8.s:3774: Error: symbol
/tmp/ccMyxAR8.s:3793: Error: symbol `stat64' is already defined
make[1]: *** [anet.o] 错误 1
在CentOS6.5装redis时候报错,是不是gcc问题,的错误困扰我好久啦?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
2条回答 默认 最新
- BraveSoul360 2016-08-19 08:42关注
/tmp/ccMyxAR8.s:3732: Error: symbolfstatat64' is already defined 估计是GCC出现问题,是那里配置不对吗,yum -y remove gcc* 然后重装还是出现这个问题,
我自己虚拟机建立新的环境却是可以安装的,原来的环境就有问题,环境上装了php项目环境。解决 无用评论 打赏 举报