make all-recursive
make[1]: Entering directory /memcached/memcached-1.4.24'
/memcached/memcached-1.4.24/doc'
Making all in doc
make[2]: Entering directory
make all-am
make[3]: Entering directory /memcached/memcached-1.4.24/doc'
all-am'.
make[3]: Nothing to be done for
make[3]: Leaving directory /memcached/memcached-1.4.24/doc'
/memcached/memcached-1.4.24/doc'
make[2]: Leaving directory
make[2]: Entering directory /memcached/memcached-1.4.24'
test -f 'items.c' || echo './'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/usr/include -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached_debug-items.o -MD -MP -MF .deps/memcached_debug-items.Tpo -c -o memcached_debug-items.oitems.c
/memcached/memcached-1.4.24'
cc1: warnings being treated as errors
items.c: In function 鈉rawler_crawl_q?
items.c:1141: warning: comparison is always true due to limited range of data type
make[2]: *** [memcached_debug-items.o] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/memcached/memcached-1.4.24'
make: *** [all] Error 2
1
oska874 2015-08-08 10:41:22 +08:00
Makefile有-Werror让警告也不通通过编译,修改Makefile把-Werror参数去掉就可以。
|
2
caoyujia2000 2015-08-08 18:51:48 +08:00
安装memcached-1.4.24的时候 遇到同样的问题 找了一个以前版本的 就好了 不知道 是不是1.4.24的问题 现在装的是1.4.13
http://iweb.dl.sourceforge.net/project/korwah/source/memcached/memcached-1.4.13.tar.gz 楼主可以试试 |