免费注册 查看新帖 |

Chinaunix

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

[FastDFS] 安装fastdfs-apache-module出现的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-06-11 13:46 |只看该作者 |倒序浏览
在整合FastDFS和Apache时,在fastdfs-apache-module/src 下面  make 时报如下错误:

common.c:41: error: expected specifier-qualifier-list before ‘FDFSStorePaths’
common.c: In function ‘fdfs_load_groups_store_paths’:
common.c:121: error: ‘GroupStorePaths’ has no member named ‘store_paths’
common.c:121: warning: implicit declaration of function ‘storage_load_paths_from_conf_file_ex’
common.c:121: error: ‘GroupStorePaths’ has no member named ‘store_paths’
common.c: In function ‘fdfs_mod_init’:
common.c:291: warning: implicit declaration of function ‘fdfs_load_storage_ids_from_file’
common.c:334: error: request for member ‘count’ in something not a structure or union
common.c:337: error: request for member ‘count’ in something not a structure or union
common.c:339: error: request for member ‘paths’ in something not a structure or union
common.c:381: error: ‘g_storage_id_count’ undeclared (first use in this function)
common.c:381: error: (Each undeclared identifier is reported only once
common.c:381: error: for each function it appears in.)
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_http_request_handler’:
common.c:553: error: ‘FDFSStorePaths’ undeclared (first use in this function)
common.c:553: error: ‘pStorePaths’ undeclared (first use in this function)
common.c:671: error: ‘GroupStorePaths’ has no member named ‘store_paths’
common.c:751: warning: implicit declaration of function ‘storage_split_filename_no_check’
common.c:805: warning: implicit declaration of function ‘trunk_file_stat_ex1’
common.c:901: error: ‘FDFSFileInfo’ has no member named ‘source_id’
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: passing argument 3 of ‘fdfs_http_get_content_type_by_extname’ makes pointer from integer without a cast
/usr/local/include/fastdfs/fdfs_http_shared.h:104: note: expected ‘char *’ but argument is of type ‘int’
common.c:974: warning: passing argument 4 of ‘fdfs_http_get_content_type_by_extname’ makes integer from pointer without a cast
/usr/local/include/fastdfs/fdfs_http_shared.h:104: note: expected ‘int’ but argument is of type ‘char *’
common.c:974: error: too many arguments to function ‘fdfs_http_get_content_type_by_extname’
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:1122: warning: implicit declaration of function ‘trunk_get_full_filename_ex’
common.c: In function ‘fdfs_get_params_from_tracker’:
common.c:1245: warning: implicit declaration of function ‘fdfs_get_storage_ids_from_tracker_group’
make: *** [mod_fastdfs.slo] Error 1
[root@localhost src]#

研究了半天没个头绪,对linux不是特别熟,还请大虾给解惑

论坛徽章:
0
2 [报告]
发表于 2014-06-11 17:05 |只看该作者
石沉大海啦

论坛徽章:
0
3 [报告]
发表于 2014-06-12 08:44 |只看该作者
大神都去哪里了?别害羞指点下我

论坛徽章:
0
4
发表于 2014-06-14 18:18
对linux不是特别熟









自多宝平台 :http://www.mbo3688.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP