Skip to content

编译报错:在函数‘ngx_http_tfs_process_upstream_request’中: #29

Description

@czhfe

/usr/local/src/nginx-tfs/src/ngx_http_tfs.c: 在函数‘ngx_http_tfs_process_upstream_request’中:
/usr/local/src/nginx-tfs/src/ngx_http_tfs.c:874: 错误:提供给函数‘c->recv_chain’的实参太少
make[1]: *** [objs/addon/src/ngx_http_tfs.o] 错误 1
make[1]: *** 正在等待未完成的任务....
cc1: warnings being treated as errors
/usr/local/src/nginx-tfs/src/ngx_http_tfs_module.c: 在函数‘ngx_http_tfs_log’中:
/usr/local/src/nginx-tfs/src/ngx_http_tfs_module.c:684: 错误:隐式声明函数‘ngx_log_create’
/usr/local/src/nginx-tfs/src/ngx_http_tfs_module.c:684: 错误:赋值时将整数赋给指针,未作类型转换
/usr/local/src/nginx-tfs/src/ngx_http_tfs_module.c:693: 错误:隐式声明函数‘ngx_log_set_levels’
/usr/local/src/nginx-tfs/src/ngx_http_tfs_module.c:693: 错误:返回时将整数赋给指针,未作类型转换
make[1]: *** [objs/addon/src/ngx_http_tfs_module.o] 错误 1
make[1]: Leaving directory `/usr/local/src/nginx-1.10.3'
make: *** [build] 错误 2

编译一直报这个错,这里用的是nginx-1.10.3版本,换了其它版本以及tengine也不行

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions