happyfish100 / fastdfs

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
GNU General Public License v3.0
8.99k stars 1.98k forks source link

make Fastdfs时报错提示 对‘‘trim’未定义的引用 #600

Closed caicai123caicai closed 1 year ago

caicai123caicai commented 1 year ago

../common/fdfs_http_shared.o:在函数‘fdfs_http_get_content_type_by_extname’中: /usr/local/tmp/fastdfs-5.05/client/../common/fdfs_http_shared.c:75:对‘hash_find_ex’未定义的引用 ../common/fdfs_http_shared.o:在函数‘fdfs_http_params_load’中: /usr/local/tmp/fastdfs-5.05/client/../common/fdfs_http_shared.c:280:对‘hash_destroy’未定义的引用 ../common/fdfs_http_shared.o:在函数‘fdfs_http_params_destroy’中: /usr/local/tmp/fastdfs-5.05/client/../common/fdfs_http_shared.c:299:对‘hash_destroy’未定义的引用 ../common/mime_file_parser.o:在函数‘load_mime_types_from_file’中: /usr/local/tmp/fastdfs-5.05/client/../common/mime_file_parser.c:72:对‘hash_init_ex’未定义的引用 /usr/local/tmp/fastdfs-5.05/client/../common/mime_file_parser.c:111:对‘hash_insert_ex’未定义的引用 ../tracker/fdfs_shared_func.o:在函数‘fdfs_load_storage_ids’中: /usr/local/tmp/fastdfs-5.05/tracker/fdfs_shared_func.c:507:对‘trim’未定义的引用

caicai123caicai commented 1 year ago

另外请教一下这这个FastDFS好FastDFS-master有什么区别吗?

caicai123caicai commented 1 year ago

../common/fdfs_http_shared.o:在函数‘fdfs_http_get_content_type_by_extname’中: /usr/local/tmp/fastdfs-5.05/client/../common/fdfs_http_shared.c:75:对‘hash_find_ex’未定义的引用 ../common/fdfs_http_shared.o:在函数‘fdfs_http_params_load’中: /usr/local/tmp/fastdfs-5.05/client/../common/fdfs_http_shared.c:280:对‘hash_destroy’未定义的引用 ../common/fdfs_http_shared.o:在函数‘fdfs_http_params_destroy’中: /usr/local/tmp/fastdfs-5.05/client/../common/fdfs_http_shared.c:299:对‘hash_destroy’未定义的引用 ../common/mime_file_parser.o:在函数‘load_mime_types_from_file’中: /usr/local/tmp/fastdfs-5.05/client/../common/mime_file_parser.c:72:对‘hash_init_ex’未定义的引用 /usr/local/tmp/fastdfs-5.05/client/../common/mime_file_parser.c:111:对‘hash_insert_ex’未定义的引用 ../tracker/fdfs_shared_func.o:在函数‘fdfs_load_storage_ids’中: /usr/local/tmp/fastdfs-5.05/tracker/fdfs_shared_func.c:507:对‘trim’未定义的引用

happyfish100 commented 1 year ago

FastDFS版本太旧,使用最新版本就没问题了。