标签:style blog color io ar cti div log
zmalloc.o: In function `zmalloc_used_memory‘:
/home/cqh/tar/redis-2.6.14/src/zmalloc.c:223: undefined reference to `__sync_add_and_fetch_4‘
collect2: ld 返回 1
make[1]: *** [redis-server] 错误 1
make[1]: Leaving directory `/home/cqh/tar/redis-2.6.14/src‘
make: *** [all] 错误 2
这是因为处理器和操作系统不一致造成可以通过以下方式编译
make CFLAGS="-march=i686"
make安装redis遇到错误解决方法,布布扣,bubuko.com
标签:style blog color io ar cti div log
原文地址:http://www.cnblogs.com/chenqionghe/p/3910831.html