Skip to content

not compiled. version nginx 1.12.2 #1

Open
@danilvoe

Description

@danilvoe
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions