fastdfs安装nginx插件报错?报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

fastdfs安装nginx插件报错?报错

爱吃鱼的程序员 2020-06-14 16:11:43 162

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模块报错,请高手指点一下

应用服务中间件 nginx
分享到
取消 提交回答
全部回答(1)
  • 爱吃鱼的程序员
    2020-06-14 16:11:58

    已解决


    回复 @Oldming:这个问题是fastdfs-nginx-module版本的问题,我换了fastdfs-nginx-module_v1.16.tar.gz就OK了你好这个问题是怎么解决的?如何解决的?这个问题是fastdfs-nginx-module版本的问题,我换了fastdfs-nginx-module_v1.16.tar.gz就OK了
    0 0
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题
推荐课程