编辑 nginx 时报错 ngx_http_sticky_module.c:295:42: error: ‘iphp’ undeclared (first use in this function)
2023-08-21 16:47:06 +08:00
lander
如题,nginx 1.15.10 +centos 7.7 ,这个报错应该怎么理解的 提前谢过: /www/server/nginx/src/nginx-sticky-module/ngx_http_sticky_module.c: In function ‘ngx_http_get_sticky_peer’: /www/server/nginx/src/nginx-sticky-module/ngx_http_sticky_module.c:295:42: error: ‘iphp’ undeclared (first use in this function) ngx_http_sticky_srv_conf_t *conf = iphp->sticky_conf; ^ /www/server/nginx/src/nginx-sticky-module/ngx_http_sticky_module.c:295:42: note: each undeclared identifier is reported only once for each function it appears in /www/server/nginx/src/nginx-sticky-module/ngx_http_sticky_module.c:391:27: warning: assignment makes pointer from integer without a cast [enabled by default] iphp->rrp.current = iphp->selected_peer; ^ make[1]: *** [objs/addon/nginx-sticky-module/ngx_http_sticky_module.o] Error 1 make[1]: Leaving directory `/root/nginx-1.15.10' make: *** [build] Error 2