Добрый день.
Решил собрать Nginx 1.11.4 (с версией 1.10 так же) добавив один модуль. При make ошибка:
/njs/nginx/ngx_stream_js_module.c:336: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ngx_stream_next_filter’
cc1: warnings being treated as errors
/njs/nginx/ngx_stream_js_module.c: In function ‘ngx_stream_js_body_filter’:
/njs/nginx/ngx_stream_js_module.c:456: error: implicit declaration of function ‘ngx_stream_next_filter’
/njs/nginx/ngx_stream_js_module.c: In function ‘ngx_stream_js_init’:
/njs/nginx/ngx_stream_js_module.c:1147: error: ‘ngx_stream_next_filter’ undeclared (first use in this function)
/njs/nginx/ngx_stream_js_module.c:1147: error: (Each undeclared identifier is reported only once
/njs/nginx/ngx_stream_js_module.c:1147: error: for each function it appears in.)
/njs/nginx/ngx_stream_js_module.c:1147: error: ‘ngx_stream_top_filter’ undeclared (first use in this function)
/njs/nginx/ngx_stream_js_module.c:1152: error: ‘ngx_stream_core_main_conf_t’ has no member named ‘phases’
/njs/nginx/ngx_stream_js_module.c:1152: error: ‘NGX_STREAM_ACCESS_PHASE’ undeclared (first use in this function)
/njs/nginx/ngx_stream_js_module.c:1157: error: assignment from incompatible pointer type
/njs/nginx/ngx_stream_js_module.c:1159: error: ‘ngx_stream_core_main_conf_t’ has no member named ‘phases’
/njs/nginx/ngx_stream_js_module.c:1159: error: ‘NGX_STREAM_PREREAD_PHASE’ undeclared (first use in this function)
/njs/nginx/ngx_stream_js_module.c:1164: error: assignment from incompatible pointer type
make[1]: *** [objs/addon/nginx/ngx_stream_js_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/nginx-1.11.4'
make: *** [build] Error 2
Конфигурация проходит без ошибок.
Система Centos 6.8 x64.
Кто сталкивался, может кто поборол?