linux安装memcached编译报错,求大神解
GCC版本:gccversion4.1.220080704(RedHat4.1.2-55)内核版本:Linuxlocalhost.localdomain2.6.18-37...
GCC版本:gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)
内核版本:Linux localhost.localdomain 2.6.18-371.4.1.el5 #1 SMP Thu Jan 30 06:08:24 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
libevent版本:libevent-2.0.22-stable
[root@localhost memcached-1.4.24]# make
make all-recursive
make[1]: Entering directory `/usr/local/src/memcached-1.4.24'
Making all in doc
make[2]: Entering directory `/usr/local/src/memcached-1.4.24/doc'
make all-am
make[3]: Entering directory `/usr/local/src/memcached-1.4.24/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/memcached-1.4.24/doc'
make[2]: Leaving directory `/usr/local/src/memcached-1.4.24/doc'
make[2]: Entering directory `/usr/local/src/memcached-1.4.24'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/yandapeng/libevent-2.0.22-stable//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.o `test -f 'items.c' || echo './'`items.c
cc1: warnings being treated as errors
items.c: In function ‘crawler_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 `/usr/local/src/memcached-1.4.24'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/memcached-1.4.24'
make: *** [all] Error 2 展开
内核版本:Linux localhost.localdomain 2.6.18-371.4.1.el5 #1 SMP Thu Jan 30 06:08:24 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
libevent版本:libevent-2.0.22-stable
[root@localhost memcached-1.4.24]# make
make all-recursive
make[1]: Entering directory `/usr/local/src/memcached-1.4.24'
Making all in doc
make[2]: Entering directory `/usr/local/src/memcached-1.4.24/doc'
make all-am
make[3]: Entering directory `/usr/local/src/memcached-1.4.24/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/memcached-1.4.24/doc'
make[2]: Leaving directory `/usr/local/src/memcached-1.4.24/doc'
make[2]: Entering directory `/usr/local/src/memcached-1.4.24'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/yandapeng/libevent-2.0.22-stable//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.o `test -f 'items.c' || echo './'`items.c
cc1: warnings being treated as errors
items.c: In function ‘crawler_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 `/usr/local/src/memcached-1.4.24'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/memcached-1.4.24'
make: *** [all] Error 2 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |