免费注册 查看新帖 |

Chinaunix

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

[FastDFS] 安装fastdfs-apache-module发生错误,请帮忙瞅一眼好吗? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-07-09 14:07 |只看该作者 |倒序浏览
环境:

FastDFS.3.0.8

Apache2.2.22

安装fastdfs-apache-module时

提示

FDFS_FILE_PATH_LEN undeclared... ...

fdfds_get_file_info require 3 arguments... ...

遍寻Baidu无果,可能是什么样的原因造成的呢?谢谢!

论坛徽章:
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 [报告]
发表于 2012-07-09 15:09 |只看该作者
回复 1# nicole0169

要使用最新的扩展模块 V1.10

论坛徽章:
0
3 [报告]
发表于 2012-07-09 15:11 |只看该作者
谢谢鱼儿,下了一个最新的fastdfs-apache-module

论坛徽章:
0
4 [报告]
发表于 2015-04-27 11:21 |只看该作者
回复 2# happy_fish100

快乐鱼,你好,我是最近新研究fastdfs的
现在遇到个问题,我fastdfs使用的5.05,apache用的2.2.29,fastdfs-apache-module用的是1.15
安装fastdfs-apache-module时,make报错,报错有点长,能否帮我看看是什么原因?万分感谢!

[root@slb-centos src]# make
/usr/local/apache2/build/libtool --silent --mode=compile gcc -g -O2 -pthread  -Wall -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='"/etc/fdfs/mod_fastdfs.conf"' -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/include/fastdfs -I/usr/local/include/fastcommon/ -I/usr/local/apache2/include -I. -I/root/install/httpd-2.2.29/srclib/apr/include -I/root/install/httpd-2.2.29/srclib/apr-util/include -I/root/install/httpd-2.2.29/srclib/apr-util/xml/expat/lib -prefer-pic -c mod_fastdfs.c && touch mod_fastdfs.slo
In file included from mod_fastdfs.c:47:
common.c:21:25: error: fdfs_define.h: No such file or directory
common.c:22:20: error: logger.h: No such file or directory
common.c:23:25: error: shared_func.h: No such file or directory
common.c:24:25: error: fdfs_global.h: No such file or directory
common.c:25:21: error: sockopt.h: No such file or directory
common.c:26:23: error: http_func.h: No such file or directory
common.c:27:30: error: fdfs_http_shared.h: No such file or directory
common.c:28:25: error: fdfs_client.h: No such file or directory
common.c:29:27: error: local_ip_func.h: No such file or directory
common.c:30:30: error: fdfs_shared_func.h: No such file or directory
common.c:31:26: error: trunk_shared.h: No such file or directory
In file included from common.c:32,
                 from mod_fastdfs.c:47:
common.h:13:27: error: tracker_types.h: No such file or directory
In file included from common.c:32,
                 from mod_fastdfs.c:47:
common.h:66: warning: type defaults to ‘int’ in declaration of ‘bool’
common.h:66: error: expected ‘;’, ‘,’ or ‘)’ before ‘last_buff’
common.h:88: error: expected specifier-qualifier-list before ‘bool’
common.h:98: error: expected specifier-qualifier-list before ‘bool’
In file included from mod_fastdfs.c:47:
common.c:38: error: ‘FDFS_GROUP_NAME_MAX_LEN’ undeclared here (not in a function)
common.c:41: error: expected specifier-qualifier-list before ‘FDFSStorePaths’
common.c:44: error: ‘FDFS_STORAGE_SERVER_DEF_PORT’ undeclared here (not in a function)
common.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘url_have_group_name’
common.c:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_storage_id’
common.c:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘flv_support’
common.c:50: error: ‘FDFS_FILE_EXT_NAME_MAX_LEN’ undeclared here (not in a function)
common.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_http_params’
common.c:73: error: expected ‘)’ before ‘*’ token
common.c: In function ‘fdfs_mod_init’:
common.c:136: error: ‘IniContext’ undeclared (first use in this function)
common.c:136: error: (Each undeclared identifier is reported only once
common.c:136: error: for each function it appears in.)
common.c:136: error: expected ‘;’ before ‘iniContext’
common.c:144: error: ‘bool’ undeclared (first use in this function)
common.c:144: error: expected ‘;’ before ‘load_fdfs_parameters_from_tracker’
common.c:146: warning: implicit declaration of function ‘log_init’
common.c:147: warning: implicit declaration of function ‘trunk_shared_init’
common.c:149: warning: implicit declaration of function ‘iniLoadFromFile’
common.c:149: error: ‘iniContext’ undeclared (first use in this function)
common.c:151: warning: implicit declaration of function ‘logError’
common.c:159: warning: implicit declaration of function ‘iniGetIntValue’
common.c:168: error: ‘url_have_group_name’ undeclared (first use in this function)
common.c:168: warning: implicit declaration of function ‘iniGetBoolValue’
common.c:169: error: ‘false’ undeclared (first use in this function)
common.c:183: warning: implicit declaration of function ‘fdfs_load_groups_store_paths’
common.c:192: warning: implicit declaration of function ‘iniGetStrValue’
common.c:214: warning: implicit declaration of function ‘storage_load_paths_from_conf_file’
common.c:220: error: ‘g_fdfs_connect_timeout’ undeclared (first use in this function)
common.c:221: error: ‘DEFAULT_CONNECT_TIMEOUT’ undeclared (first use in this function)
common.c:227: error: ‘g_fdfs_network_timeout’ undeclared (first use in this function)
common.c:228: error: ‘DEFAULT_NETWORK_TIMEOUT’ undeclared (first use in this function)
common.c:234: warning: implicit declaration of function ‘load_log_level’
common.c:239: warning: implicit declaration of function ‘log_set_filename’
common.c:248: warning: implicit declaration of function ‘fdfs_http_params_load’
common.c:249: error: ‘g_http_params’ undeclared (first use in this function)
common.c:266: error: ‘g_if_alias_prefix’ undeclared (first use in this function)
common.c:274: error: ‘load_fdfs_parameters_from_tracker’ undeclared (first use in this function)
common.c:279: warning: implicit declaration of function ‘fdfs_load_tracker_group_ex’
common.c:279: error: ‘g_tracker_group’ undeclared (first use in this function)
common.c:287: error: ‘use_storage_id’ undeclared (first use in this function)
common.c:291: warning: implicit declaration of function ‘fdfs_load_storage_ids_from_file’
common.c:298: error: ‘flv_support’ undeclared (first use in this function)
common.c:316: warning: implicit declaration of function ‘iniFreeContext’
common.c:322: warning: implicit declaration of function ‘load_local_host_ip_addrs’
common.c:336: error: ‘g_fdfs_store_paths’ undeclared (first use in this function)
common.c:345: warning: implicit declaration of function ‘logInfo’
common.c:368: error: ‘g_fdfs_base_path’ undeclared (first use in this function)
common.c:371: error: ‘g_local_host_ip_count’ undeclared (first use in this function)
common.c:381: error: ‘g_storage_id_count’ undeclared (first use in this function)
common.c:390: error: ‘GroupStorePaths’ has no member named ‘store_paths’
common.c:392: error: ‘GroupStorePaths’ has no member named ‘store_paths’
common.c:397: error: ‘GroupStorePaths’ has no member named ‘store_paths’
common.c: In function ‘fdfs_download_callback’:
common.c:420: error: ‘struct fdfs_http_response’ has no member named ‘header_outputed’
common.c:423: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:423: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:428: error: ‘struct fdfs_http_context’ has no member named ‘send_reply_chunk’
common.c:428: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c: In function ‘fdfs_format_range’:
common.c:440: error: expected ‘)’ before ‘INT64_PRINTF_FORMAT’
common.c:445: error: expected ‘)’ before ‘INT64_PRINTF_FORMAT’
common.c:450: error: expected ‘)’ before ‘INT64_PRINTF_FORMAT’
common.c: In function ‘fdfs_format_content_range’:
common.c:459: error: expected ‘)’ before ‘INT64_PRINTF_FORMAT’
common.c: In function ‘fdfs_check_and_format_range’:
common.c:473: error: expected ‘)’ before ‘INT64_PRINTF_FORMAT’
common.c:482: error: expected ‘)’ before ‘INT64_PRINTF_FORMAT’
common.c:495: error: expected ‘)’ before ‘INT64_PRINTF_FORMAT’
common.c:504: error: expected ‘)’ before ‘INT64_PRINTF_FORMAT’
common.c: In function ‘fdfs_http_request_handler’:
common.c:549: error: ‘KeyValuePair’ undeclared (first use in this function)
common.c:549: error: expected ‘;’ before ‘params’
common.c:553: error: ‘FDFSStorePaths’ undeclared (first use in this function)
common.c:553: error: ‘pStorePaths’ undeclared (first use in this function)
common.c:555: error: ‘MAX_PATH_SIZE’ undeclared (first use in this function)
common.c:572: error: ‘FDFSFileInfo’ undeclared (first use in this function)
common.c:572: error: expected ‘;’ before ‘file_info’
common.c:573: error: ‘bool’ undeclared (first use in this function)
common.c:573: error: expected ‘;’ before ‘bFileExists’
common.c:574: error: expected ‘;’ before ‘bSameGroup’
common.c:575: error: expected ‘;’ before ‘bTrunkFile’
common.c:576: error: ‘FDFSTrunkFullInfo’ undeclared (first use in this function)
common.c:576: error: expected ‘;’ before ‘trunkInfo’
common.c:583: error: ‘struct fdfs_http_context’ has no member named ‘url’
common.c:588: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:588: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:592: error: ‘struct fdfs_http_context’ has no member named ‘url’
common.c:594: error: ‘struct fdfs_http_context’ has no member named ‘url’
common.c:594: error: ‘struct fdfs_http_context’ has no member named ‘url’
common.c:594: error: ‘struct fdfs_http_context’ has no member named ‘url’
common.c:597: error: ‘struct fdfs_http_context’ has no member named ‘url’
common.c:599: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:599: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:603: error: ‘struct fdfs_http_context’ has no member named ‘url’
common.c:609: error: ‘struct fdfs_http_context’ has no member named ‘url’
common.c:617: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:617: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:633: warning: implicit declaration of function ‘http_parse_query’
common.c:633: error: ‘params’ undeclared (first use in this function)
common.c:634: error: ‘url_have_group_name’ undeclared (first use in this function)
common.c:644: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:644: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:648: error: ‘g_fdfs_store_paths’ undeclared (first use in this function)
common.c:652: error: ‘bSameGroup’ undeclared (first use in this function)
common.c:660: error: ‘false’ undeclared (first use in this function)
common.c:670: error: ‘true’ undeclared (first use in this function)
common.c:671: error: ‘GroupStorePaths’ has no member named ‘store_paths’
common.c:694: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:694: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:698: error: ‘g_http_params’ undeclared (first use in this function)
common.c:704: warning: implicit declaration of function ‘fdfs_http_get_parameter’
common.c:711: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:711: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:716: warning: implicit declaration of function ‘fdfs_http_check_token’
common.c:721: warning: implicit declaration of function ‘STRERROR’
common.c:731: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:731: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:733: error: ‘struct fdfs_http_context’ has no member named ‘send_reply_chunk’
common.c:733: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:741: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:741: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:751: warning: implicit declaration of function ‘storage_split_filename_no_check’
common.c:754: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:754: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:768: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:768: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:773: warning: implicit declaration of function ‘fdfs_check_data_filename’
common.c:775: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:775: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:779: warning: implicit declaration of function ‘fdfs_get_file_info_ex1’
common.c:779: error: ‘file_info’ undeclared (first use in this function)
common.c:790: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:790: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: warning: left-hand operand of comma expression has no effect
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: warning: left-hand operand of comma expression has no effect
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:796: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:804: error: ‘FDFSTrunkHeader’ undeclared (first use in this function)
common.c:804: error: expected ‘;’ before ‘trunkHeader’
common.c:805: warning: implicit declaration of function ‘trunk_file_stat_ex1’
common.c:807: error: ‘trunkInfo’ undeclared (first use in this function)
common.c:807: error: ‘trunkHeader’ undeclared (first use in this function)
common.c:809: error: ‘bFileExists’ undeclared (first use in this function)
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: warning: left-hand operand of comma expression has no effect
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: warning: left-hand operand of comma expression has no effect
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:828: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:840: warning: implicit declaration of function ‘is_local_host_ip’
common.c:844: warning: implicit declaration of function ‘IS_TRUNK_FILE_BY_ID’
common.c:883: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:883: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:891: warning: implicit declaration of function ‘logWarning’
common.c:895: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:895: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:906: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:906: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:952: warning: implicit declaration of function ‘logDebug’
common.c:956: error: ‘struct fdfs_http_context’ has no member named ‘if_range’
common.c:958: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:960: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:960: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:963: error: ‘struct fdfs_http_context’ has no member named ‘proxy_handler’
common.c:965: error: ‘struct fdfs_http_context’ has no member named ‘proxy_handler’
common.c:965: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:970: warning: implicit declaration of function ‘fdfs_http_get_file_extension’
common.c:970: warning: assignment makes pointer from integer without a cast
common.c:974: warning: implicit declaration of function ‘fdfs_http_get_content_type_by_extname’
common.c:981: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:981: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:993: error: expected ‘;’ before ‘if_get_file_info’
common.c:994: error: ‘if_get_file_info’ undeclared (first use in this function)
common.c:994: error: ‘struct fdfs_http_context’ has no member named ‘header_only’
common.c:994: error: ‘struct fdfs_http_context’ has no member named ‘if_range’
common.c:1010: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:1010: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1018: error: ‘struct fdfs_http_context’ has no member named ‘if_range’
common.c:1020: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1028: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:1028: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1032: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1032: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1033: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1041: error: ‘flv_support’ undeclared (first use in this function)
common.c:1055: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1066: error: ‘struct fdfs_http_context’ has no member named ‘header_only’
common.c:1073: error: ‘struct fdfs_http_context’ has no member named ‘if_range’
common.c:1073: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:1073: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1081: error: ‘ConnectionInfo’ undeclared (first use in this function)
common.c:1081: error: expected ‘;’ before ‘storage_server’
common.c:1085: error: ‘storage_server’ undeclared (first use in this function)
common.c:1093: warning: implicit declaration of function ‘storage_download_file_ex1’
common.c:1093: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1115: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:1115: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1119: error: ‘bTrunkFile’ undeclared (first use in this function)
common.c:1122: warning: implicit declaration of function ‘trunk_get_full_filename_ex’
common.c:1125: warning: implicit declaration of function ‘TRUNK_FILE_START_OFFSET’
common.c:1125: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1134: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1138: error: ‘struct fdfs_http_context’ has no member named ‘send_file’
common.c:1140: error: ‘struct fdfs_http_context’ has no member named ‘if_range’
common.c:1142: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:1142: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1143: error: ‘struct fdfs_http_context’ has no member named ‘send_file’
common.c:1143: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1156: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:1156: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1168: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:1168: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1175: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1175: error: ‘struct fdfs_http_context’ has no member named ‘range’
common.c:1184: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:1184: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1190: error: ‘struct fdfs_http_context’ has no member named ‘if_range’
common.c:1190: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
common.c:1190: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:1209: error: ‘struct fdfs_http_context’ has no member named ‘send_reply_chunk’
common.c:1209: error: ‘struct fdfs_http_context’ has no member named ‘arg’
common.c:555: warning: unused variable ‘full_filename’
common.c: In function ‘fdfs_get_params_from_tracker’:
common.c:1224: error: ‘IniContext’ undeclared (first use in this function)
common.c:1224: error: expected ‘;’ before ‘iniContext’
common.c:1226: error: ‘bool’ undeclared (first use in this function)
common.c:1226: error: expected ‘;’ before ‘continue_flag’
common.c:1228: error: ‘continue_flag’ undeclared (first use in this function)
common.c:1228: error: ‘false’ undeclared (first use in this function)
common.c:1229: warning: implicit declaration of function ‘fdfs_get_ini_context_from_tracker’
common.c:1229: error: ‘g_tracker_group’ undeclared (first use in this function)
common.c:1230: error: ‘iniContext’ undeclared (first use in this function)
common.c:1239: error: ‘use_storage_id’ undeclared (first use in this function)
common.c:1245: warning: implicit declaration of function ‘fdfs_get_storage_ids_from_tracker_group’
mod_fastdfs.c: In function ‘fdfs_output_headers’:
mod_fastdfs.c:53: error: ‘struct fdfs_http_response’ has no member named ‘header_outputed’
mod_fastdfs.c:58: error: ‘struct fdfs_http_response’ has no member named ‘header_outputed’
mod_fastdfs.c:58: error: ‘true’ undeclared (first use in this function)
mod_fastdfs.c: At top level:
mod_fastdfs.c:107: warning: type defaults to ‘int’ in declaration of ‘bool’
mod_fastdfs.c:107: error: expected ‘;’, ‘,’ or ‘)’ before ‘last_buff’
mod_fastdfs.c: In function ‘fastdfs_handler’:
mod_fastdfs.c:140: error: ‘struct fdfs_http_context’ has no member named ‘arg’
mod_fastdfs.c:141: error: ‘struct fdfs_http_context’ has no member named ‘header_only’
mod_fastdfs.c:142: error: ‘struct fdfs_http_context’ has no member named ‘url’
mod_fastdfs.c:143: error: ‘struct fdfs_http_context’ has no member named ‘output_headers’
mod_fastdfs.c:144: error: ‘struct fdfs_http_context’ has no member named ‘send_reply_chunk’
mod_fastdfs.c:144: error: ‘fdfs_send_reply_chunk’ undeclared (first use in this function)
mod_fastdfs.c:154: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
mod_fastdfs.c:156: error: ‘struct fdfs_http_context’ has no member named ‘if_modified_since’
mod_fastdfs.c:164: error: ‘struct fdfs_http_context’ has no member named ‘range’
mod_fastdfs.c:171: error: ‘struct fdfs_http_context’ has no member named ‘if_range’
mod_fastdfs.c:171: error: ‘true’ undeclared (first use in this function)
make: *** [mod_fastdfs.slo] Error 1

   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP