nginx_tcp_proxy_module icon indicating copy to clipboard operation
nginx_tcp_proxy_module copied to clipboard

Make fails for nginx-1.15.0

Open vandamon opened this issue 7 years ago • 6 comments

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

vandamon avatar Sep 09 '18 05:09 vandamon

same issue

REPTILEHAUS avatar Oct 24 '18 13:10 REPTILEHAUS

you should use tcp_1_8.patch for patch

syy19940213 avatar Nov 14 '18 14:11 syy19940213

@syy19940213 I did. it didnt work

REPTILEHAUS avatar Nov 14 '18 15:11 REPTILEHAUS

Update: I had to go back to version 1.10 for the patch to work

vandamon avatar Nov 14 '18 18:11 vandamon

Probably, but I cant downgrade. I need to stay as current as possible. any chance of updating it for latest nginx releases ?

REPTILEHAUS avatar Nov 14 '18 20:11 REPTILEHAUS

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

vikramanity avatar Nov 28 '18 14:11 vikramanity