../ngx_lua-0.9.20/src/ngx_http_lua_subrequest.c: 在函数‘ngx_http_lua_post_subrequest’中:
../ngx_lua-0.9.20/src/ngx_http_lua_subrequest.c:1077:33: 警告:传递‘ngx_chain_update_chains’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
(ngx_buf_tag_t) &ngx_http_lua_module);
^
In file included from src/core/ngx_core.h:61:0,
from ../ngx_lua-0.9.20/src/ddebug.h:13,
from ../ngx_lua-0.9.20/src/ngx_http_lua_subrequest.c:11:
src/core/ngx_buf.h:169:6: 附注:需要类型‘struct ngx_pool_t *’,但实参的类型为‘struct ngx_chain_t **’
void ngx_chain_update_chains(ngx_pool_t *p, ngx_chain_t **free,
^
../ngx_lua-0.9.20/src/ngx_http_lua_subrequest.c:1077:33: 错误:提供给函数‘ngx_chain_update_chains’的实参太少
(ngx_buf_tag_t) &ngx_http_lua_module);
^
In file included from src/core/ngx_core.h:61:0,
from ../ngx_lua-0.9.20/src/ddebug.h:13,
from ../ngx_lua-0.9.20/src/ngx_http_lua_subrequest.c:11:
src/core/ngx_buf.h:169:6: 附注:在此声明
void ngx_chain_update_chains(ngx_pool_t *p, ngx_chain_t **free,
^
make[2]: *** [objs/addon/src/ngx_http_lua_subrequest.o] 错误 1
make[2]: 离开目录“/root/src/ngx_openresty-1.9.7.1/build/nginx-1.9.7”
make[1]: *** [build] 错误 2
make[1]: 离开目录“/root/src/ngx_openresty-1.9.7.1/build/nginx-1.9.7”
make: *** [all] 错误 2