centos6.6 下FastDFS 在storage節點上 make(編譯)nginx的fastdfs-nginx-module 出現以下報錯:nginx
/root/fastdfs-nginx-module-master/src/common.c: In function 'fdfs_http_request_handler':
/root/fastdfs-nginx-module-master/src/common.c:1245: error: 'FDFSHTTPParams' has no member named 'support_multi_range'
make[1]: *** [objs/addon/src/ngx_http_fastdfs_module.o] Error 1
make[1]: Leaving directory `/root/nginx-1.12.1'
make: *** [build] Error 2centos
[root@hd03 nginx-1.12.1]#ui
修改/root/fastdfs-nginx-module-master/src/common.c第1245行blog
把(pContext-> range_count> 1 &&!g_http_params.support_multi_range))最後面的條件io
去掉了改爲(pContext-> range_count > 1))編譯
從新make就行了ast
目前看沒有什麼問題function
make install 成功module
感受還能夠的鄉親們,記得幫忙點個贊。。request