happyfish100 / fastdfs-nginx-module

FastDFS nginx module
GNU Lesser General Public License v3.0
433 stars 260 forks source link

nginx1.26.1 add fastdfs-nginx-module make error 错误:提供给函数‘fdfs_get_ini_context_from_tracker’的实参太少 #107

Open tianguogong opened 1 month ago

tianguogong commented 1 month ago

In file included from fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:6:0: fastdfs-nginx-module/src/common.c: 在函数‘fdfs_get_params_from_tracker’中: fastdfs-nginx-module/src/common.c:1602:3: 错误:提供给函数‘fdfs_get_ini_context_from_tracker’的实参太少 &iniContext, &continue_flag)) != 0) ^ In file included from /usr/include/fastdfs/fdfs_client.h:14:0, from fastdfs-nginx-module/src/common.c:29, from fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:6: /usr/include/fastdfs/tracker_proto.h:325:5: 附注:在此声明 int fdfs_get_ini_context_from_tracker(TrackerServerGroup *pTrackerGroup, \ ^ make[1]: *** [objs/addon/src/ngx_http_fastdfs_module.o] 错误 1 make[1]: 离开目录“/home/nginx-1.26.1”

happyfish100 commented 1 month ago

需要先编译和安装最新版本的 fastdfs

tianguogong commented 1 month ago

非常感谢