Skip to content

so much error.some function have not be defined. #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
teahouse opened this issue Oct 17, 2018 · 0 comments
Open

so much error.some function have not be defined. #8

teahouse opened this issue Oct 17, 2018 · 0 comments

Comments

@teahouse
Copy link

teahouse commented Oct 17, 2018

20181017215224
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp_core_module.c:33: error: ‘NGX_CONF_MULTI’ undeclared here (not in a function)
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp.c: In function ‘ngx_tcp_add_addrs’:
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp.c:425: warning: passing argument 2 of ‘ngx_sock_ntop’ makes integer from pointer without a cast
src/core/ngx_inet.h:113: note: expected ‘socklen_t’ but argument is of type ‘u_char *’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp.c:425: warning: passing argument 3 of ‘ngx_sock_ntop’ makes pointer from integer without a cast
src/core/ngx_inet.h:113: note: expected ‘u_char *’ but argument is of type ‘long unsigned int’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp.c:425: error: too few arguments to function ‘ngx_sock_ntop’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp.c: In function ‘ngx_tcp_add_addrs6’:
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp.c:483: warning: passing argument 2 of ‘ngx_sock_ntop’ makes integer from pointer without a cast
src/core/ngx_inet.h:113: note: expected ‘socklen_t’ but argument is of type ‘u_char *’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp.c:483: warning: passing argument 3 of ‘ngx_sock_ntop’ makes pointer from integer without a cast
src/core/ngx_inet.h:113: note: expected ‘u_char *’ but argument is of type ‘long unsigned int’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp.c:483: error: too few arguments to function ‘ngx_sock_ntop’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp_core_module.c: In function ‘ngx_tcp_core_listen’:
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp_core_module.c:512: error: cannot convert to a pointer type
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp_core_module.c:532: error: incompatible type for argument 2 of ‘memcpy’
/usr/include/string.h:44: note: expected ‘const void * restrict’ but argument is of type ‘ngx_sockaddr_t’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp_core_module.c:576: warning: passing argument 2 of ‘ngx_sock_ntop’ makes integer from pointer without a cast
src/core/ngx_inet.h:113: note: expected ‘socklen_t’ but argument is of type ‘u_char *’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp_core_module.c:576: warning: passing argument 3 of ‘ngx_sock_ntop’ makes pointer from integer without a cast
src/core/ngx_inet.h:113: note: expected ‘u_char *’ but argument is of type ‘long unsigned int’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp_core_module.c:576: error: too few arguments to function ‘ngx_sock_ntop’
/home/ffy/openresty/build/nginx-tcp-lua-module-master/src/ngx_tcp_core_module.c:576: warning: assignment makes integer from pointer without a cast
make[2]: *** [objs/addon/src/ngx_tcp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [objs/addon/src/ngx_tcp_core_module.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant