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

Fail to build on Debian Jessie with nginx 1.12.1 #2

Open
dzcpy opened this issue Oct 13, 2017 · 0 comments
Open

Fail to build on Debian Jessie with nginx 1.12.1 #2

dzcpy opened this issue Oct 13, 2017 · 0 comments

Comments

@dzcpy
Copy link

dzcpy commented Oct 13, 2017

Hi, thanks for your effort of making this nice module.
I was trying to compile the module from source with nginx 1.12.1. However there is an error:

/root/Projects/ngx_http_qqwry_module/ngx_http_qqwry_module.c: In function ‘ngx_http_qqwry_addr’:
/root/Projects/ngx_http_qqwry_module/ngx_http_qqwry_module.c:199:10: error: incompatible types when assigning to type ‘struct ngx_table_elt_t *’ from type ‘ngx_array_t’
     xfwd = r->headers_in.x_forwarded_for;
          ^
objs/Makefile:1275: recipe for target 'objs/addon/ngx_http_qqwry_module/ngx_http_qqwry_module.o' failed

Is it compatible with 1.12.1? How to fix that?
Thanks!

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

1 participant