Tag: redis |

编译redis2.6.2报zmalloc.c:223: undefined reference to

在vps上面编译redis 2.6 由于系统有点老,以至于编不过,报错undefined reference to__sync_add_and_fetch_4′,google了下,发现好多人遇到我同样的问题,

zmalloc.o: In function zmalloc_used_memory':
/home/xx/redis-2.6.2/src/zmalloc.c:223: undefined reference to__sync_add_and_fetch_4′
collect2: ld 返回 1

固定链接 | 评论: 0 | 引用: 0 | 查看次数: 392