Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fails for nginx-1.15.0 #165

Open
vandamon opened this issue Sep 9, 2018 · 6 comments
Open

Make fails for nginx-1.15.0 #165

vandamon opened this issue Sep 9, 2018 · 6 comments

Comments

@vandamon
Copy link

vandamon commented Sep 9, 2018

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
@REPTILEHAUS
Copy link

same issue

@syy19940213
Copy link

you should use tcp_1_8.patch for patch

@REPTILEHAUS
Copy link

@syy19940213 I did. it didnt work

@vandamon
Copy link
Author

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

@REPTILEHAUS
Copy link

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

@vikramanity
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants