opensuse搭建的linux环境下,安装memcached,出现如下错误,怎么解决?

streamlong 发布于 2012/08/22 14:58
阅读 654
收藏 0
make  all-am
make[3]: Entering directory `/root/linux/memcached-1.4.13/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/linux/memcached-1.4.13/doc'
make[2]: Leaving directory `/root/linux/memcached-1.4.13/doc'
make[2]: Entering directory `/root/linux/memcached-1.4.13'
gcc -std=gnu99  -g -O2 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls   -o memcached memcached-memcached.o memcached-hash.o memcached-slabs.o memcached-items.o memcached-assoc.o memcached-thread.o memcached-daemon.o memcached-stats.o memcached-util.o memcached-cache.o    -levent -lrt
memcached-thread.o: In function `refcount_decr':
/root/linux/memcached-1.4.13/thread.c:98: undefined reference to `__sync_sub_and_fetch_2'
memcached-thread.o: In function `refcount_incr':
/root/linux/memcached-1.4.13/thread.c:83: undefined reference to `__sync_add_and_fetch_2'
collect2: ld returned 1 exit status
make[2]: *** [memcached] 错误 1
make[2]: Leaving directory `/root/linux/memcached-1.4.13'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/linux/memcached-1.4.13'
make: *** [all] 错误 2
请问是怎么回事,怎么解决?
加载中
返回顶部
顶部