nginx mod_wsgi 编译错误

chenyi14500 2014-09-02 04:02:00
有大牛可以帮忙看一下吗?

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
...全文
91 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

5,657

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧