ngx_stream_upstream_check_module icon indicating copy to clipboard operation
ngx_stream_upstream_check_module copied to clipboard

not compiled. version nginx 1.12.2

Open danilvoe opened this issue 6 years ago • 6 comments

cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I /home/kotin/ngx_stream_upstream_check_module-master -I objs -I src/stream \
	-o objs/src/stream/ngx_stream_upstream_round_robin.o \
	src/stream/ngx_stream_upstream_round_robin.c
src/stream/ngx_stream_upstream_round_robin.c: In function ‘ngx_stream_upstream_init_round_robin’:
src/stream/ngx_stream_upstream_round_robin.c:114:25: error: too few arguments to function ‘ngx_stream_upstream_check_add_peer’
                         ngx_stream_upstream_check_add_peer(cf, us, &server[i].addrs[j]);
                         ^
In file included from src/stream/ngx_stream_upstream_round_robin.c:13:0:
/home/kotin/ngx_stream_upstream_check_module-master/ngx_stream_upstream_check_module.h:10:12: note: declared here
 ngx_uint_t ngx_stream_upstream_check_add_peer(ngx_conf_t *cf,
            ^
src/stream/ngx_stream_upstream_round_robin.c:188:25: error: too few arguments to function ‘ngx_stream_upstream_check_add_peer’
                         ngx_stream_upstream_check_add_peer(cf, us, &server[i].addrs[j]);
                         ^
In file included from src/stream/ngx_stream_upstream_round_robin.c:13:0:
/home/kotin/ngx_stream_upstream_check_module-master/ngx_stream_upstream_check_module.h:10:12: note: declared here
 ngx_uint_t ngx_stream_upstream_check_add_peer(ngx_conf_t *cf,
            ^
make[1]: *** [objs/src/stream/ngx_stream_upstream_round_robin.o] Error 1
make[1]: Leaving directory `/home/kotin/nginx-1.12.2'
make: *** [build] Error 2


not compiled. version nginx 1.12.2

danilvoe avatar Jan 23 '18 07:01 danilvoe