您的位置:首页 > 运维架构 > Nginx

安装nginx_upstream_check_module时make出错,求助

2017-04-12 23:00 417 查看
版本:nginx-1.10.3;vm:centos6.6_x86

今天安装nginx_upstream_check_module时遇到的问题

patch -p0 < ../nginx_upstream_check_module-master/check_1.9.2+.patch

make

make[1]: Entering directory `/home/tool/nginx-1.10.3'
make[1]: Warning: File `objs/src/core/nginx.o' has modification time 1.7e+04 s in the future
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../nginx_upstream_check_module-master/ -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_upstream_round_robin.o \
src/http/ngx_http_upstream_round_robin.c
src/http/ngx_http_upstream_round_robin.c: In function ‘ngx_http_upstream_free_round_robin_peer’:
src/http/ngx_http_upstream_round_robin.c:681: error: label ‘failed’ used but not defined
make[1]: *** [objs/src/http/ngx_http_upstream_round_robin.o] Error 1
make[1]: Leaving directory `/home/tool/nginx-1.10.3'
make: *** [build] Error 2

这句:

src/http/ngx_http_upstream_round_robin.c: In function ‘ngx_http_upstream_free_round_robin_peer’:

src/http/ngx_http_upstream_round_robin.c:681: error: label ‘failed’ used but not defined

调试了半天没搞懂,求教
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息