BraveSoul360 2016-08-19 08:41 采纳率: 0%
浏览 2155
已结题

在CentOS6.5装redis时候报错,是不是gcc问题,的错误困扰我好久啦?

make[2]: Leaving directory /usr/local/redis-3.2.3/deps'
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
fstatat64' is already defined
/tmp/ccMyxAR8.s:3755: Error: symbol fstat64' is already defined
/tmp/ccMyxAR8.s:3774: Error: symbol
lstat64' is already defined
/tmp/ccMyxAR8.s:3793: Error: symbol `stat64' is already defined
make[1]: *** [anet.o] 错误 1

  • 写回答

2条回答 默认 最新

  • BraveSoul360 2016-08-19 08:42
    关注

    /tmp/ccMyxAR8.s:3732: Error: symbolfstatat64' is already defined 估计是GCC出现问题,是那里配置不对吗,yum -y remove gcc* 然后重装还是出现这个问题,
    我自己虚拟机建立新的环境却是可以安装的,原来的环境就有问题,环境上装了php项目环境。

    评论

报告相同问题?

悬赏问题

  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 三菱伺服电机按启动按钮有使能但不动作