yaoweibin / nginx_tcp_proxy_module

add the feature of tcp proxy with nginx, with health check and status monitor
http://yaoweibin.github.com/nginx_tcp_proxy_module
1.65k stars 365 forks source link

nginx-1.10.1编译模块报错 duplicate member ‘check_index’ #144

Closed sweet66 closed 8 years ago

sweet66 commented 8 years ago

已经打上tcp.patch补丁 patch -p1 < ../nginx_tcp_proxy_module/tcp.patch 但还是报错src/http/ngx_http_upstream_round_robin.h:43: error: duplicate member ‘check_index’ src/http/ngx_http_upstream_round_robin.h:47: error: duplicate member ‘check_index’ src/http/ngx_http_upstream_round_robin.h:51: error: duplicate member ‘check_index’ src/http/ngx_http_upstream_round_robin.h:55: error: duplicate member ‘check_index’ src/http/ngx_http_upstream_round_robin.h:59: error: duplicate member ‘check_index’ make[1]: * [objs/src/http/ngx_http.o] Error 1 make[1]: Leaving directory `/root/online/nginx/nginx-1.10.1**'

wealthjackson1 commented 6 years ago

同样的问题编译出现在nginx-1.14.0

larryluo64 commented 5 years ago

src/http/ngx_http_upstream_round_robin.h:62:37: error: duplicate member ‘check_index’

larryluo64 commented 5 years ago

我的也出现同样的问题,你的解决了没?

sweet66 commented 5 years ago

解决了,得把之前编译过的nginx目录删除重新编译

larryluo64 notifications@github.com 于2019年4月16日周二 下午4:04写道:

我的也出现同样的问题,你的解决了没?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/yaoweibin/nginx_tcp_proxy_module/issues/144#issuecomment-483555463, or mute the thread https://github.com/notifications/unsubscribe-auth/ALrq21k9kTWYiaVVz1EVYoSl1EjsMOAjks5vhYQdgaJpZM4KKvnL .