FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
nginx添加模块报错
/home/aaa/fastdfs-nginx-module/src/common.c:1162:58: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘FDFSStorePathInfo’ [-Werror=format=]
1162
sizeof(full_filename), "%s/data/%s", \
~^
char *
1163
pStorePaths->paths[store_path_index], \
~~~~~~~~
FDFSStorePathInfo
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:1552: objs/addon/src/ngx_http_fastdfs_module.o] Error 1
~~~~~~~~cc1: all warnings being treated as errors make[1]: *** [objs/Makefile:1552: objs/addon/src/ngx_http_fastdfs_module.o] Error 1