dianping / camel

camel: soft load balance(slb) middle ware - control nginx servers by portal and api.
GNU General Public License v3.0
454 stars 173 forks source link

替换新版tengine安装时报错 #28

Open difa12321 opened 4 years ago

difa12321 commented 4 years ago

想替换成最新版的tengine(基于Nginx1.17版),但在编译安装时,总是make失败,我将一部分报错的插件替换为了新版本的,但ngx_dynamic_proxy_pass_module,找不到新版的了,报错: objs/addon/nginx_upstream_hash/ngx_http_upstream_hash_module.o:(.data+0x0): multiple definition of ngx_http_upstream_hash_module' objs/src/http/modules/ngx_http_upstream_hash_module.o:(.data+0x0): first defined here objs/addon/ngx_dynamic_proxy_pass_module/ngx_upstream_degrade.o: In functionngx_http_upstream_degrade_timer': /opt/camel/Dengine/tengine/../ngx_dynamic_proxy_pass_module/ngx_upstream_degrade.c:451: undefined reference to `check_peers_ctx' collect2: error: ld returned 1 exit status objs/Makefile:342: recipe for target 'objs/nginx' failed make[1]: [objs/nginx] Error 1 make[1]: Leaving directory '/opt/camel/Dengine/tengine' Makefile:8: recipe for target 'build' failed make: [build] Error 2