免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 13666 | 回复: 8
打印 上一主题 下一主题

[FastDFS] 编译Nginx的FastDFS模块出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-02-24 22:16 |只看该作者 |倒序浏览
操作系统是Ubuntu12,Nginx是1.2.7,FastDFS模块是fastdfs-nginx-module_v1.15,FastDFS是FastDFS_v4.04
但是编译时报错,请问是否版本呢匹配的问题呢?

错误信息:

make -f objs/Makefile
make[1]: 正在进入目录 `/opt/tmp/nginx-1.2.7'
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='"/etc/fdfs/mod_fastdfs.conf"'  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/local/include/fastdfs -I /usr/local/include/fastcommon/ -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/src/ngx_http_fastdfs_module.o \
                /opt/tmp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c
In file included from /opt/tmp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:6:0:
/opt/tmp/fastdfs-nginx-module/src/common.c:43:2: 错误: 未知的类型名‘FDFSStorePaths’
/opt/tmp/fastdfs-nginx-module/src/common.c: 在函数‘fdfs_load_groups_store_paths’中:
/opt/tmp/fastdfs-nginx-module/src/common.c:123:35: 错误: 在非结构或联合中请求成员‘paths’
/opt/tmp/fastdfs-nginx-module/src/common.c:123:3: 错误: 隐式声明函数‘storage_load_paths_from_conf_file_ex’ [-Werror=implicit-function-declaration]
/opt/tmp/fastdfs-nginx-module/src/common.c:125:58: 错误: 在非结构或联合中请求成员‘count’
/opt/tmp/fastdfs-nginx-module/src/common.c: 在函数‘fdfs_mod_init’中:
/opt/tmp/fastdfs-nginx-module/src/common.c:338:43: 错误: 在非结构或联合中请求成员‘count’
/opt/tmp/fastdfs-nginx-module/src/common.c:339:33: 错误: 在非结构或联合中请求成员‘count’
/opt/tmp/fastdfs-nginx-module/src/common.c:343:23: 错误: 在非结构或联合中请求成员‘paths’
/opt/tmp/fastdfs-nginx-module/src/common.c:392:48: 错误: 在非结构或联合中请求成员‘count’
/opt/tmp/fastdfs-nginx-module/src/common.c:396:38: 错误: 在非结构或联合中请求成员‘paths’
/opt/tmp/fastdfs-nginx-module/src/common.c:403:16: 错误: 在非结构或联合中请求成员‘count’
/opt/tmp/fastdfs-nginx-module/src/common.c: 在函数‘fdfs_http_request_handler’中:
/opt/tmp/fastdfs-nginx-module/src/common.c:556:2: 错误: 未知的类型名‘FDFSStorePaths’
/opt/tmp/fastdfs-nginx-module/src/common.c:651:15: 错误: 从不兼容的指针类型赋值 [-Werror]
/opt/tmp/fastdfs-nginx-module/src/common.c:684:15: 错误: 从不兼容的指针类型赋值 [-Werror]
/opt/tmp/fastdfs-nginx-module/src/common.c:763:35: 错误: 在非结构或联合中请求成员‘count’
/opt/tmp/fastdfs-nginx-module/src/common.c:769:34: 错误: 在非结构或联合中请求成员‘count’
/opt/tmp/fastdfs-nginx-module/src/common.c:808:3: 错误: 隐式声明函数‘trunk_file_stat_ex1’ [-Werror=implicit-function-declaration]
/opt/tmp/fastdfs-nginx-module/src/common.c:868:17: 错误: 在非结构或联合中请求成员‘paths’
/opt/tmp/fastdfs-nginx-module/src/common.c:973:2: 错误: 隐式声明函数‘fdfs_http_get_file_extension’ [-Werror=implicit-function-declaration]
/opt/tmp/fastdfs-nginx-module/src/common.c:973:11: 错误: 赋值时将整数赋给指针,未作类型转换 [-Werror]
/opt/tmp/fastdfs-nginx-module/src/common.c:977:2: 错误: 传递‘fdfs_http_get_content_type_by_extname’的第 3 个参数时将整数赋给指针,未作类型转换 [-Werror]
/usr/local/include/fastdfs/fdfs_http_shared.h:103:5: 附注: 需要类型‘char *’,但实参的类型为‘int’
/opt/tmp/fastdfs-nginx-module/src/common.c:977:2: 错误: 传递‘fdfs_http_get_content_type_by_extname’的第 4 个参数时将指针赋给整数,未作类型转换 [-Werror]
/usr/local/include/fastdfs/fdfs_http_shared.h:103:5: 附注: 需要类型‘int’,但实参的类型为‘char *’
/opt/tmp/fastdfs-nginx-module/src/common.c:977:2: 错误: 提供给函数‘fdfs_http_get_content_type_by_extname’的实参太多
/usr/local/include/fastdfs/fdfs_http_shared.h:103:5: 附注: 在此声明
/opt/tmp/fastdfs-nginx-module/src/common.c:1092:3: 错误: 未知的类型名‘ConnectionInfo’
/opt/tmp/fastdfs-nginx-module/src/common.c:1096:24: 错误: 在非结构或联合中请求成员‘ip_addr’
/opt/tmp/fastdfs-nginx-module/src/common.c:1097:17: 错误: 在非结构或联合中请求成员‘port’
/opt/tmp/fastdfs-nginx-module/src/common.c:1098:17: 错误: 在非结构或联合中请求成员‘sock’
/opt/tmp/fastdfs-nginx-module/src/common.c:1104:3: 错误: 传递‘storage_download_file_ex1’的第 2 个参数时在不兼容的指针类型间转换 [-Werror]
/usr/local/include/fastdfs/storage_client1.h:274:5: 附注: 需要类型‘struct TrackerServerInfo *’,但实参的类型为‘int *’
/opt/tmp/fastdfs-nginx-module/src/common.c:1133:3: 错误: 隐式声明函数‘trunk_get_full_filename_ex’ [-Werror=implicit-function-declaration]
/opt/tmp/fastdfs-nginx-module/src/common.c:1143:16: 错误: 在非结构或联合中请求成员‘paths’
cc1: all warnings being treated as errors
make[1]: *** [objs/addon/src/ngx_http_fastdfs_module.o] 错误 1
make[1]:正在离开目录 `/opt/tmp/nginx-1.2.7'
make: *** [build] 错误 2

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
2 [报告]
发表于 2013-02-25 13:26 |只看该作者
扩展模块v1.15需要和FastDFS server v4.06配合使用

论坛徽章:
0
3 [报告]
发表于 2013-09-05 10:50 |只看该作者
nginx 1.42 fdfs 4.06 fdfs-nginx-module 1.15
nginx make编译报错
在包含自 /opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:6 的文件中:
/opt/temp/fastdfs-nginx-module/src/common.c:21:25: 错误:fdfs_define.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:22:20: 错误:logger.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:23:25: 错误:shared_func.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:24:25: 错误:fdfs_global.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:25:21: 错误:sockopt.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:26:23: 错误:http_func.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:27:30: 错误:fdfs_http_shared.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:28:25: 错误:fdfs_client.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:29:27: 错误:local_ip_func.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:30:30: 错误:fdfs_shared_func.h:没有那个文件或目录
/opt/temp/fastdfs-nginx-module/src/common.c:31:26: 错误:trunk_shared.h:没有那个文件或目录
在包含自 /opt/temp/fastdfs-nginx-module/src/common.c:32 的文件中,
                 从 /opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:6:
/opt/temp/fastdfs-nginx-module/src/common.h:13:27: 错误:tracker_types.h:没有那个文件或目录
cc1: warnings being treated as errors
In file included from /opt/temp/fastdfs-nginx-module/src/common.c:32,
                 from /opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:6:
/opt/temp/fastdfs-nginx-module/src/common.h:66: 警告:在 ‘bool’ 的声明中,类型默认为 ‘int’
/opt/temp/fastdfs-nginx-module/src/common.h:66: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘last_buff’
/opt/temp/fastdfs-nginx-module/src/common.h:88: 错误:expected specifier-qualifier-list before ‘bool’
/opt/temp/fastdfs-nginx-module/src/common.h:98: 错误:expected specifier-qualifier-list before ‘bool’
In file included from /opt/temp/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:6:
/opt/temp/fastdfs-nginx-module/src/common.c:40: 错误:‘FDFS_GROUP_NAME_MAX_LEN’ 未声明 (不在函数内)
/opt/temp/fastdfs-nginx-module/src/common.c:43: 错误:expected specifier-qualifier-list before ‘FDFSStorePaths’
/opt/temp/fastdfs-nginx-module/src/common.c:46: 错误:‘FDFS_STORAGE_SERVER_DEF_PORT’ 未声明 (不在函数内)
/opt/temp/fastdfs-nginx-module/src/common.c:49: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘url_have_group_name’
/opt/temp/fastdfs-nginx-module/src/common.c:50: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_storage_id’
/opt/temp/fastdfs-nginx-module/src/common.c:51: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘flv_support’
/opt/temp/fastdfs-nginx-module/src/common.c:52: 错误:‘FDFS_FILE_EXT_NAME_MAX_LEN’ 未声明 (不在函数内)
/opt/temp/fastdfs-nginx-module/src/common.c:57: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_http_params’
/opt/temp/fastdfs-nginx-module/src/common.c:75: 错误:expected ‘)’ before ‘*’ token
/opt/temp/fastdfs-nginx-module/src/common.c: In function ‘fdfs_mod_init’:
/opt/temp/fastdfs-nginx-module/src/common.c:138: 错误:‘IniContext’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:138: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
/opt/temp/fastdfs-nginx-module/src/common.c:138: 错误:所在的函数内只报告一次。)
/opt/temp/fastdfs-nginx-module/src/common.c:138: 错误:expected ‘;’ before ‘iniContext’
/opt/temp/fastdfs-nginx-module/src/common.c:146: 错误:‘bool’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:146: 错误:expected ‘;’ before ‘load_fdfs_parameters_from_tracker’
/opt/temp/fastdfs-nginx-module/src/common.c:148: 警告:隐式声明函数 ‘log_init’
/opt/temp/fastdfs-nginx-module/src/common.c:149: 警告:隐式声明函数 ‘trunk_shared_init’
/opt/temp/fastdfs-nginx-module/src/common.c:151: 警告:隐式声明函数 ‘iniLoadFromFile’
/opt/temp/fastdfs-nginx-module/src/common.c:151: 错误:‘iniContext’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:153: 警告:隐式声明函数 ‘logError’
/opt/temp/fastdfs-nginx-module/src/common.c:161: 警告:隐式声明函数 ‘iniGetIntValue’
/opt/temp/fastdfs-nginx-module/src/common.c:170: 错误:‘url_have_group_name’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:170: 警告:隐式声明函数 ‘iniGetBoolValue’
/opt/temp/fastdfs-nginx-module/src/common.c:170: 错误:‘false’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:185: 警告:隐式声明函数 ‘fdfs_load_groups_store_paths’
/opt/temp/fastdfs-nginx-module/src/common.c:194: 警告:隐式声明函数 ‘iniGetStrValue’
/opt/temp/fastdfs-nginx-module/src/common.c:194: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:216: 警告:隐式声明函数 ‘storage_load_paths_from_conf_file’
/opt/temp/fastdfs-nginx-module/src/common.c:222: 错误:‘g_fdfs_connect_timeout’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:222: 错误:‘DEFAULT_CONNECT_TIMEOUT’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:229: 错误:‘g_fdfs_network_timeout’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:229: 错误:‘DEFAULT_NETWORK_TIMEOUT’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:236: 警告:隐式声明函数 ‘load_log_level’
/opt/temp/fastdfs-nginx-module/src/common.c:238: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:241: 警告:隐式声明函数 ‘log_set_filename’
/opt/temp/fastdfs-nginx-module/src/common.c:250: 警告:隐式声明函数 ‘fdfs_http_params_load’
/opt/temp/fastdfs-nginx-module/src/common.c:250: 错误:‘g_http_params’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:256: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:265: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:268: 错误:‘g_if_alias_prefix’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:276: 错误:‘load_fdfs_parameters_from_tracker’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:281: 警告:隐式声明函数 ‘fdfs_load_tracker_group_ex’
/opt/temp/fastdfs-nginx-module/src/common.c:281: 错误:‘g_tracker_group’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:289: 错误:‘use_storage_id’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:293: 警告:隐式声明函数 ‘fdfs_load_storage_ids_from_file’
/opt/temp/fastdfs-nginx-module/src/common.c:300: 错误:‘flv_support’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:305: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:318: 警告:隐式声明函数 ‘iniFreeContext’
/opt/temp/fastdfs-nginx-module/src/common.c:324: 警告:隐式声明函数 ‘load_local_host_ip_addrs’
/opt/temp/fastdfs-nginx-module/src/common.c:336: 错误:‘g_fdfs_store_paths’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:347: 警告:隐式声明函数 ‘logInfo’
/opt/temp/fastdfs-nginx-module/src/common.c:347: 错误:‘g_fdfs_base_path’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:347: 错误:‘g_local_host_ip_count’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:347: 错误:‘g_storage_id_count’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:392: 错误:‘GroupStorePaths’ 没有名为 ‘store_paths’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:394: 错误:‘GroupStorePaths’ 没有名为 ‘store_paths’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:399: 错误:‘GroupStorePaths’ 没有名为 ‘store_paths’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c: In function ‘fdfs_download_callback’:
/opt/temp/fastdfs-nginx-module/src/common.c:422: 错误:‘struct fdfs_http_response’ 没有名为 ‘header_outputed’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:425: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:425: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:430: 错误:‘struct fdfs_http_context’ 没有名为 ‘send_reply_chunk’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:430: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c: In function ‘fdfs_format_range’:
/opt/temp/fastdfs-nginx-module/src/common.c:441: 错误:expected ‘)’ before ‘INT64_PRINTF_FORMAT’
/opt/temp/fastdfs-nginx-module/src/common.c:446: 错误:expected ‘)’ before ‘INT64_PRINTF_FORMAT’
/opt/temp/fastdfs-nginx-module/src/common.c:451: 错误:expected ‘)’ before ‘INT64_PRINTF_FORMAT’
/opt/temp/fastdfs-nginx-module/src/common.c: In function ‘fdfs_format_content_range’:
/opt/temp/fastdfs-nginx-module/src/common.c:460: 错误:expected ‘)’ before ‘INT64_PRINTF_FORMAT’
/opt/temp/fastdfs-nginx-module/src/common.c: In function ‘fdfs_check_and_format_range’:
/opt/temp/fastdfs-nginx-module/src/common.c:474: 错误:expected ‘)’ before ‘INT64_PRINTF_FORMAT’
/opt/temp/fastdfs-nginx-module/src/common.c:483: 错误:expected ‘)’ before ‘INT64_PRINTF_FORMAT’
/opt/temp/fastdfs-nginx-module/src/common.c:496: 错误:expected ‘)’ before ‘INT64_PRINTF_FORMAT’
/opt/temp/fastdfs-nginx-module/src/common.c:505: 错误:expected ‘)’ before ‘INT64_PRINTF_FORMAT’
/opt/temp/fastdfs-nginx-module/src/common.c: In function ‘fdfs_http_request_handler’:
/opt/temp/fastdfs-nginx-module/src/common.c:552: 错误:‘KeyValuePair’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:552: 错误:expected ‘;’ before ‘params’
/opt/temp/fastdfs-nginx-module/src/common.c:556: 错误:‘FDFSStorePaths’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:556: 错误:‘pStorePaths’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:558: 错误:‘MAX_PATH_SIZE’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:575: 错误:‘FDFSFileInfo’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:575: 错误:expected ‘;’ before ‘file_info’
/opt/temp/fastdfs-nginx-module/src/common.c:576: 错误:‘bool’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:576: 错误:expected ‘;’ before ‘bFileExists’
/opt/temp/fastdfs-nginx-module/src/common.c:577: 错误:expected ‘;’ before ‘bSameGroup’
/opt/temp/fastdfs-nginx-module/src/common.c:578: 错误:expected ‘;’ before ‘bTrunkFile’
/opt/temp/fastdfs-nginx-module/src/common.c:579: 错误:‘FDFSTrunkFullInfo’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:579: 错误:expected ‘;’ before ‘trunkInfo’
/opt/temp/fastdfs-nginx-module/src/common.c:586: 错误:‘struct fdfs_http_context’ 没有名为 ‘url’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:591: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:591: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:595: 错误:‘struct fdfs_http_context’ 没有名为 ‘url’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:597: 错误:‘struct fdfs_http_context’ 没有名为 ‘url’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:597: 错误:‘struct fdfs_http_context’ 没有名为 ‘url’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:597: 错误:‘struct fdfs_http_context’ 没有名为 ‘url’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:600: 错误:‘struct fdfs_http_context’ 没有名为 ‘url’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:602: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:602: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:606: 错误:‘struct fdfs_http_context’ 没有名为 ‘url’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:612: 错误:‘struct fdfs_http_context’ 没有名为 ‘url’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:620: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:620: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:636: 警告:隐式声明函数 ‘http_parse_query’
/opt/temp/fastdfs-nginx-module/src/common.c:636: 错误:‘params’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:637: 错误:‘url_have_group_name’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:647: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:647: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:651: 错误:‘g_fdfs_store_paths’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:655: 错误:‘bSameGroup’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:663: 错误:‘false’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:673: 错误:‘true’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:674: 错误:‘GroupStorePaths’ 没有名为 ‘store_paths’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:697: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:697: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:701: 错误:‘g_http_params’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:707: 警告:隐式声明函数 ‘fdfs_http_get_parameter’
/opt/temp/fastdfs-nginx-module/src/common.c:707: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:708: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:714: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:714: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:719: 警告:隐式声明函数 ‘fdfs_http_check_token’
/opt/temp/fastdfs-nginx-module/src/common.c:724: 警告:隐式声明函数 ‘STRERROR’
/opt/temp/fastdfs-nginx-module/src/common.c:734: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:734: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:736: 错误:‘struct fdfs_http_context’ 没有名为 ‘send_reply_chunk’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:736: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:744: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:744: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:754: 警告:隐式声明函数 ‘storage_split_filename_no_check’
/opt/temp/fastdfs-nginx-module/src/common.c:757: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:757: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:771: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:771: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:776: 警告:隐式声明函数 ‘fdfs_check_data_filename’
/opt/temp/fastdfs-nginx-module/src/common.c:778: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:778: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:782: 警告:隐式声明函数 ‘fdfs_get_file_info_ex1’
/opt/temp/fastdfs-nginx-module/src/common.c:782: 错误:‘file_info’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:793: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:793: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:799: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:807: 错误:‘FDFSTrunkHeader’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:807: 错误:expected ‘;’ before ‘trunkHeader’
/opt/temp/fastdfs-nginx-module/src/common.c:808: 警告:隐式声明函数 ‘trunk_file_stat_ex1’
/opt/temp/fastdfs-nginx-module/src/common.c:808: 错误:‘trunkInfo’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:808: 错误:‘trunkHeader’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:812: 错误:‘bFileExists’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:825: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_modified_since’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:831: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:843: 警告:隐式声明函数 ‘is_local_host_ip’
/opt/temp/fastdfs-nginx-module/src/common.c:847: 警告:隐式声明函数 ‘IS_TRUNK_FILE_BY_ID’
/opt/temp/fastdfs-nginx-module/src/common.c:886: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:886: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:890: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:894: 警告:隐式声明函数 ‘logWarning’
/opt/temp/fastdfs-nginx-module/src/common.c:898: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:898: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:909: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:909: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:955: 警告:隐式声明函数 ‘logDebug’
/opt/temp/fastdfs-nginx-module/src/common.c:959: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:961: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:963: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:963: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:966: 错误:‘struct fdfs_http_context’ 没有名为 ‘proxy_handler’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:968: 错误:‘struct fdfs_http_context’ 没有名为 ‘proxy_handler’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:968: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:973: 警告:隐式声明函数 ‘fdfs_http_get_file_extension’
/opt/temp/fastdfs-nginx-module/src/common.c:973: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:977: 警告:隐式声明函数 ‘fdfs_http_get_content_type_by_extname’
/opt/temp/fastdfs-nginx-module/src/common.c:984: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:984: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:996: 错误:expected ‘;’ before ‘if_get_file_info’
/opt/temp/fastdfs-nginx-module/src/common.c:997: 错误:‘if_get_file_info’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:997: 错误:‘struct fdfs_http_context’ 没有名为 ‘header_only’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:997: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1013: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1013: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1022: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1024: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1032: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1032: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1036: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1036: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1037: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1045: 错误:‘flv_support’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1049: 警告:赋值时将整数赋给指针,未作类型转换
/opt/temp/fastdfs-nginx-module/src/common.c:1060: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1077: 错误:‘struct fdfs_http_context’ 没有名为 ‘header_only’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1084: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1084: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1084: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1092: 错误:‘ConnectionInfo’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1092: 错误:expected ‘;’ before ‘storage_server’
/opt/temp/fastdfs-nginx-module/src/common.c:1096: 错误:‘storage_server’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1104: 警告:隐式声明函数 ‘storage_download_file_ex1’
/opt/temp/fastdfs-nginx-module/src/common.c:1104: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1126: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1126: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1130: 错误:‘bTrunkFile’ 未声明 (在此函数内第一次使用)
/opt/temp/fastdfs-nginx-module/src/common.c:1133: 警告:隐式声明函数 ‘trunk_get_full_filename_ex’
/opt/temp/fastdfs-nginx-module/src/common.c:1136: 警告:隐式声明函数 ‘TRUNK_FILE_START_OFFSET’
/opt/temp/fastdfs-nginx-module/src/common.c:1136: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1145: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1149: 错误:‘struct fdfs_http_context’ 没有名为 ‘send_file’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1151: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1153: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1153: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1157: 错误:‘struct fdfs_http_context’ 没有名为 ‘send_reply_chunk’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1157: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1165: 错误:‘struct fdfs_http_context’ 没有名为 ‘send_file’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1165: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1178: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1178: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1190: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1190: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1197: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1197: 错误:‘struct fdfs_http_context’ 没有名为 ‘range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1206: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1206: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1212: 错误:‘struct fdfs_http_context’ 没有名为 ‘if_range’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1212: 错误:‘struct fdfs_http_context’ 没有名为 ‘output_headers’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1212: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1216: 错误:‘struct fdfs_http_context’ 没有名为 ‘send_reply_chunk’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1216: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1240: 错误:‘struct fdfs_http_context’ 没有名为 ‘send_reply_chunk’ 的成员
/opt/temp/fastdfs-nginx-module/src/common.c:1240: 错误:‘struct fdfs_http_context’ 没有名为 ‘arg’ 的成员
/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’ 未声明 (在此函数内第一次使用)

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
4 [报告]
发表于 2013-09-05 22:25 |只看该作者
需要编译和安装FastDFS。建议使用最新版本v4.07

论坛徽章:
0
5 [报告]
发表于 2013-09-10 18:23 |只看该作者
{:2_179:}{:2_179:}{:2_179:}{:2_179:}{:2_179:}{:2_179:}{:2_179:}

论坛徽章:
0
6 [报告]
发表于 2014-03-24 15:08 |只看该作者
楼主,你的问题解决了吗??
确实是版本问题吗?
哎,一模一样的错误
FastDFS_v5.01.tar.gz
fastdfs-nginx-module_v1.15.tar.gz
nginx-1.5.7.tar.gz
libevent-2.0.19-stable.tar.gz
还是报错!
请教

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
7 [报告]
发表于 2014-03-24 20:55 |只看该作者
把出错信息帖出来吧

论坛徽章:
0
8 [报告]
发表于 2014-06-04 14:45 |只看该作者
回复 7# happy_fish100


   /usr/bin/ld: cannot find -lfastcommoncollect2: ld 返回 1
make[1]: *** [objs/nginx] 错误 1
make: *** [build] 错误 2

编译安装fastdfs-nginx-module_v1.15.tar.gz 报错了,帮忙看下啊,感激!

论坛徽章:
0
9 [报告]
发表于 2014-06-04 14:56 |只看该作者
        -lpthread -lcrypt -L/usr/local/lib -lfastcommon -lfdfsclient /usr/local/pcre-8.12/.libs/libpcre.a -lcrypto -lcrypto /usr/local/zlib-1.2.8/libz.a
make[1]: Leaving directory `/usr/local/nginx-1.6.0'

  /usr/bin/ld: cannot find -lfastcommoncollect2: ld 返回 1
make[1]: *** [objs/nginx] 错误 1
make: *** [build] 错误 2

编译安装fastdfs-nginx-module_v1.15.tar.gz 报错了,帮忙看下啊,感激!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP