fastdfs安装nginx插件报错

发布于 2021-12-01 05:28:10 字数 3941 浏览 871 评论 5

In file included from /home/soft/fastdfs-nginx-module/src//ngx_http_fastdfs_module.c:6:
/home/soft/fastdfs-nginx-module/src//common.c:43: error: expected specifier-qualifier-list before ‘FDFSStorePaths’
/home/soft/fastdfs-nginx-module/src//common.c: In function ‘fdfs_load_groups_store_paths’:
/home/soft/fastdfs-nginx-module/src//common.c:123: error: ‘GroupStorePaths’ has no member named ‘store_paths’
cc1: warnings being treated as errors
/home/soft/fastdfs-nginx-module/src//common.c:123: error: implicit declaration of function ‘storage_load_paths_from_conf_file_ex’
/home/soft/fastdfs-nginx-module/src//common.c:123: error: ‘GroupStorePaths’ has no member named ‘store_paths’
/home/soft/fastdfs-nginx-module/src//common.c: In function ‘fdfs_mod_init’:
/home/soft/fastdfs-nginx-module/src//common.c:293: error: implicit declaration of function ‘fdfs_load_storage_ids_from_file’
/home/soft/fastdfs-nginx-module/src//common.c:336: error: request for member ‘count’ in something not a structure or union
/home/soft/fastdfs-nginx-module/src//common.c:339: error: request for member ‘count’ in something not a structure or union
/home/soft/fastdfs-nginx-module/src//common.c:341: error: request for member ‘paths’ in something not a structure or union
/home/soft/fastdfs-nginx-module/src//common.c:379: error: ‘g_storage_id_count’ undeclared (first use in this function)
/home/soft/fastdfs-nginx-module/src//common.c:379: error: (Each undeclared identifier is reported only once
/home/soft/fastdfs-nginx-module/src//common.c:379: error: for each function it appears in.)
/home/soft/fastdfs-nginx-module/src//common.c:388: error: ‘GroupStorePaths’ has no member named ‘store_paths’
/home/soft/fastdfs-nginx-module/src//common.c:390: error: ‘GroupStorePaths’ has no member named ‘store_paths’
/home/soft/fastdfs-nginx-module/src//common.c:395: error: ‘GroupStorePaths’ has no member named ‘store_paths’
/home/soft/fastdfs-nginx-module/src//common.c: In function ‘fdfs_http_request_handler’:
/home/soft/fastdfs-nginx-module/src//common.c:552: error: ‘FDFSStorePaths’ undeclared (first use in this function)
/home/soft/fastdfs-nginx-module/src//common.c:552: error: ‘pStorePaths’ undeclared (first use in this function)
/home/soft/fastdfs-nginx-module/src//common.c:670: error: ‘GroupStorePaths’ has no member named ‘store_paths’
/home/soft/fastdfs-nginx-module/src//common.c:750: error: implicit declaration of function ‘storage_split_filename_no_check’
/home/soft/fastdfs-nginx-module/src//common.c:804: error: implicit declaration of function ‘trunk_file_stat_ex1’
/home/soft/fastdfs-nginx-module/src//common.c:900: error: ‘FDFSFileInfo’ has no member named ‘source_id’
/home/soft/fastdfs-nginx-module/src//common.c:969: error: implicit declaration of function ‘fdfs_http_get_file_extension’
/home/soft/fastdfs-nginx-module/src//common.c:969: error: assignment makes pointer from integer without a cast
/home/soft/fastdfs-nginx-module/src//common.c:1108: error: ‘ConnectionInfo’ undeclared (first use in this function)
/home/soft/fastdfs-nginx-module/src//common.c:1108: error: expected ‘;’ before ‘storage_server’
/home/soft/fastdfs-nginx-module/src//common.c:1112: error: ‘storage_server’ undeclared (first use in this function)
/home/soft/fastdfs-nginx-module/src//common.c:1149: error: implicit declaration of function ‘trunk_get_full_filename_ex’
/home/soft/fastdfs-nginx-module/src//common.c: In function ‘fdfs_get_params_from_tracker’:
/home/soft/fastdfs-nginx-module/src//common.c:1292: error: implicit declaration of function ‘fdfs_get_storage_ids_from_tracker_group’
make[1]: *** [objs/addon/src/ngx_http_fastdfs_module.o] Error 1
make[1]: Leaving directory `/home/soft/nginx-1.7.10'

make: *** [build] Error 2

安装fastdfs的nginx模块报错,请高手指点一下

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

深巷少女 2021-12-03 19:35:37

这个问题是fastdfs-nginx-module版本的问题,我换了fastdfs-nginx-module_v1.16.tar.gz就OK了

风透绣罗衣 2021-12-03 19:35:35

如何解决的?

反目相谮 2021-12-03 19:31:30

你好这个问题是怎么解决的?

悸初 2021-12-03 19:28:33

回复
这个问题是fastdfs-nginx-module版本的问题,我换了fastdfs-nginx-module_v1.16.tar.gz就OK了

瑾夏年华 2021-12-01 17:11:14

已解决

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文