- 论坛徽章:
- 0
|
我现在用的nginx 1.42 + Fdfs v4.06 + fsfs-nginx-module1.15 编译nginx模块出错
/opt/temp/fastdfs-nginx-module/src/common.c:558: 警告:未使用的变量 ‘full_filename’
/opt/temp/fastdfs-nginx-module/src/common.c: In function ‘fdfs_get_params_from_tracker’:
/opt/temp/fastdfs-nginx-module/src/common.c:1255: 错误:‘IniContext’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1255: 错误:expected ‘;’ before ‘iniContext’
/opt/temp/fastdfs-nginx-module/src/common.c:1257: 错误:‘bool’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1257: 错误:expected ‘;’ before ‘continue_flag’
/opt/temp/fastdfs-nginx-module/src/common.c:1259: 错误:‘continue_flag’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1259: 错误:‘false’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1260: 警告:隐式声明函数 ‘fdfs_get_ini_context_from_tracker’
/opt/temp/fastdfs-nginx-module/src/common.c:1260: 错误:‘g_tracker_group’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1260: 错误:‘iniContext’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1270: 错误:‘use_storage_id’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1276: 警告:隐式声明函数 ‘fdfs_get_storage_ids_from_tracker_group’
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c: 在顶层:
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:30: 错误:‘IP_ADDRESS_SIZE’ 未声明 (不在函数内)
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c: In function ‘fdfs_output_headers’:
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:175: 错误:‘struct fdfs_http_response’ 没有名为 ‘header_outputed’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:221: 错误:‘struct fdfs_http_response’ 没有名为 ‘header_outputed’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:221: 错误:‘true’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c: 在顶层:
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:231: 警告:在 ‘bool’ 的声明中,类型默认为 ‘int’
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:231: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘last_buf’
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c: In function ‘ngx_http_fastdfs_handler’:
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:842: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:843: 错误:‘struct fdfs_http_context’ 没有名为 ‘header_only’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:844: 错误:‘struct fdfs_http_context’ 没有名为 ‘url’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:845: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:846: 错误:‘struct fdfs_http_context’ 没有名为 ‘send_file’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:847: 错误:‘struct fdfs_http_context’ 没有名为 ‘send_reply_chunk’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:847: 错误:‘fdfs_send_reply_chunk’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:848: 错误:‘struct fdfs_http_context’ 没有名为 ‘proxy_handler’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:854: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:857: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:887: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:893: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_range’ 的成员
/opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:893: 错误:‘true’ 未声明 (在此函数内第一次使用)
make[1]: *** [objs/addon/src/ngx_http_fastdfs_module.o] 错误 1
fish大大在么
各路大神们求指点...拜谢了 |
|