-
Notifications
You must be signed in to change notification settings - Fork 58
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
Built failure on nginx-1.7.10 and pcre-8.36 #35
Comments
I have fixed the compatible problem. Try the latest revision in the master branch. Thanks. |
Thank you for great work! |
I have fixed the compatible problem. Try the latest revision in the master branch. Thanks.
|
I'm having a similar issue with different versions: AJP: 0.3.0 (and 0.2.6 actually I tried to see if it was an issue with the latest releast)
|
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c: In function ‘ngx_http_ajp_store’:
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:467:30: error: comparison between pointer and integer [-Werror]
if (alcf->upstream.cache != NGX_CONF_UNSET_PTR
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:468:33: error: comparison between pointer and integer [-Werror]
&& alcf->upstream.cache != NULL)
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c: In function ‘ngx_http_ajp_cache’:
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:540:30: error: comparison between pointer and integer [-Werror]
if (alcf->upstream.cache != NGX_CONF_UNSET_PTR) {
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:545:30: error: assignment makes integer from pointer without a cast [-Werror]
alcf->upstream.cache = NULL;
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:553:26: error: assignment makes integer from pointer without a cast [-Werror]
alcf->upstream.cache = ngx_shared_memory_add(cf, &value[1], 0,
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:555:30: error: comparison between pointer and integer [-Werror]
if (alcf->upstream.cache == NULL) {
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c: In function ‘ngx_http_ajp_create_loc_conf’:
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:669:26: error: assignment makes integer from pointer without a cast [-Werror]
conf->upstream.cache = NGX_CONF_UNSET_PTR;
^
In file included from src/core/ngx_core.h:76:0,
from /home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:3:
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c: In function ‘ngx_http_ajp_merge_loc_conf’:
src/core/ngx_conf_file.h:252:14: error: comparison between pointer and integer [-Werror]
if (conf == NGX_CONF_UNSET_PTR) {
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:867:5: note: in expansion of macro ‘ngx_conf_merge_ptr_value’
ngx_conf_merge_ptr_value(conf->upstream.cache,
^
src/core/ngx_conf_file.h:253:22: error: comparison between pointer and integer [-Werror]
conf = (prev == NGX_CONF_UNSET_PTR) ? default : prev;
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:867:5: note: in expansion of macro ‘ngx_conf_merge_ptr_value’
ngx_conf_merge_ptr_value(conf->upstream.cache,
^
src/core/ngx_conf_file.h:253:55: error: pointer/integer type mismatch in conditional expression [-Werror]
conf = (prev == NGX_CONF_UNSET_PTR) ? default : prev;
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:867:5: note: in expansion of macro ‘ngx_conf_merge_ptr_value’
ngx_conf_merge_ptr_value(conf->upstream.cache,
^
src/core/ngx_conf_file.h:253:14: error: assignment makes integer from pointer without a cast [-Werror]
conf = (prev == NGX_CONF_UNSET_PTR) ? default : prev;
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:867:5: note: in expansion of macro ‘ngx_conf_merge_ptr_value’
ngx_conf_merge_ptr_value(conf->upstream.cache,
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:870:53: error: invalid type argument of ‘->’ (have ‘int’)
if (conf->upstream.cache && conf->upstream.cache->data == NULL) {
^
/home/niemi/MLserver/nginx_ajp_module-master/ngx_http_ajp_module.c:873:18: error: assignment makes pointer from integer without a cast [-Werror]
shm_zone = conf->upstream.cache;
^
cc1: all warnings being treated as errors
make[1]: *** [objs/addon/nginx_ajp_module-master/ngx_http_ajp_module.o] Error 1
objs/Makefile:1140: recipe for target 'objs/addon/nginx_ajp_module-master/ngx_http_ajp_module.o' failed
make[1]: Leaving directory '/home/niemi/MLserver/nginx-1.7.10'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
The text was updated successfully, but these errors were encountered: