nginx mod_wsgi 编译错误
有大牛可以帮忙看一下吗?
In file included from src/core/ngx_core.h:58:0,
from /home/yichen/nginx/module/mod_wsgi/src/ngx_http_wsgi_module.c:16:
src/core/ngx_file.h:145:7: note: expected ?.truct ngx_path_t *?.but argument is of type ?.har *?
char *ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path,
^
/home/yichen/nginx/module/mod_wsgi/src/ngx_http_wsgi_module.c:348:29: error: passing argument 4 of ?.gx_conf_merge_path_value?.makes pointer from integer without a cast [-Werror]
ngx_garbage_collector_temp_handler, cf);
^
In file included from src/core/ngx_core.h:58:0,
from /home/yichen/nginx/module/mod_wsgi/src/ngx_http_wsgi_module.c:16:
src/core/ngx_file.h:145:7: note: expected ?.truct ngx_path_init_t *?.but argument is of type ?.nt?
char *ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path,
^
/home/yichen/nginx/module/mod_wsgi/src/ngx_http_wsgi_module.c:348:29: error: too many arguments to function ?.gx_conf_merge_path_value?
ngx_garbage_collector_temp_handler, cf);
^
In file included from src/core/ngx_core.h:58:0,
from /home/yichen/nginx/module/mod_wsgi/src/ngx_http_wsgi_module.c:16:
src/core/ngx_file.h:145:7: note: declared here
char *ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path,
^
cc1: all warnings being treated as errors
make[1]: *** [objs/addon/src/ngx_http_wsgi_module.o] Error 1
make[1]: Leaving directory `/home/yichen/nginx'
make: *** [build] Error 2