nginx_tcp_proxy_module
nginx_tcp_proxy_module copied to clipboard
Make fails for nginx-1.15.0
Make fails for nginx-1.15.0.
I have followed the steps in the README for patch and add-module.
The error message is:
In file included from src/event/ngx_event_connect.c:11:0:
src/event/ngx_event_connect.h:51:38: error: duplicate member ‘check_index’
ngx_uint_t check_index;
^
src/event/ngx_event_connect.h:53:38: error: duplicate member ‘check_index’
ngx_uint_t check_index;
^
src/event/ngx_event_connect.h:55:38: error: duplicate member ‘check_index’
ngx_uint_t check_index;
^
objs/Makefile:689: recipe for target 'objs/src/event/ngx_event_connect.o' failed
make[1]: *** [objs/src/event/ngx_event_connect.o] Error 1
make[1]: Leaving directory '/home/ubuntu/nginx-1.15.0'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
same issue
you should use tcp_1_8.patch for patch
@syy19940213 I did. it didnt work
Update: I had to go back to version 1.10 for the patch to work
Probably, but I cant downgrade. I need to stay as current as possible. any chance of updating it for latest nginx releases ?
You can try the latest NGINX with the stream module in place of tcp - http://nginx.org/en/docs/stream/ngx_stream_core_module.html