安装nginx_upstream_check_module时make出错,求助

在尝试在nginx-1.10.3版本上安装nginx_upstream_check_module时,遇到make错误。在执行patch和make命令时,src/http/ngx_http_upstream_round_robin.c文件中出现错误:label 'failed' 未定义。该问题发生在ngx_http_upstream_free_round_robin_peer函数中,目前尚未解决。
摘要由CSDN通过智能技术生成

版本: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_ro
  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值