Skip to content
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

Tengine 2.2.2 编译报错 #164

Open
jy00278439 opened this issue Aug 8, 2018 · 0 comments
Open

Tengine 2.2.2 编译报错 #164

jy00278439 opened this issue Aug 8, 2018 · 0 comments

Comments

@jy00278439
Copy link

-o objs/addon/nginx_tcp_proxy_module/ngx_tcp_session.o \
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c

In file included from src/core/ngx_core.h:62:0,
from /data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:3:
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c: In function ‘ngx_tcp_send’:
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:351:20: error: ‘NGX_LOG_DEBUG_TCP’ undeclared (first use in this function)
ngx_log_debug1(NGX_LOG_DEBUG_TCP, wev->log, 0, "nginx tcp send:%d", n);
^
src/core/ngx_log.h:92:28: note: in definition of macro ‘ngx_log_debug’
if ((log)->log_level & level)
^
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:351:5: note: in expansion of macro ‘ngx_log_debug1’
ngx_log_debug1(NGX_LOG_DEBUG_TCP, wev->log, 0, "nginx tcp send:%d", n);
^
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:351:20: note: each undeclared identifier is reported only once for each function it appears in
ngx_log_debug1(NGX_LOG_DEBUG_TCP, wev->log, 0, "nginx tcp send:%d", n);
^
src/core/ngx_log.h:92:28: note: in definition of macro ‘ngx_log_debug’
if ((log)->log_level & level)
^
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:351:5: note: in expansion of macro ‘ngx_log_debug1’
ngx_log_debug1(NGX_LOG_DEBUG_TCP, wev->log, 0, "nginx tcp send:%d", n);
^
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c: In function ‘ngx_tcp_finalize_session’:
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:410:20: error: ‘NGX_LOG_DEBUG_TCP’ undeclared (first use in this function)
ngx_log_debug1(NGX_LOG_DEBUG_TCP, c->log, 0,
^
src/core/ngx_log.h:92:28: note: in definition of macro ‘ngx_log_debug’
if ((log)->log_level & level)
^
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:410:5: note: in expansion of macro ‘ngx_log_debug1’
ngx_log_debug1(NGX_LOG_DEBUG_TCP, c->log, 0,
^
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c: In function ‘ngx_tcp_close_connection’:
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:431:20: error: ‘NGX_LOG_DEBUG_TCP’ undeclared (first use in this function)
ngx_log_debug1(NGX_LOG_DEBUG_TCP, c->log, 0,
^
src/core/ngx_log.h:92:28: note: in definition of macro ‘ngx_log_debug’
if ((log)->log_level & level)
^
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:431:5: note: in expansion of macro ‘ngx_log_debug1’
ngx_log_debug1(NGX_LOG_DEBUG_TCP, c->log, 0,
^
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c: In function ‘ngx_tcp_cleanup_add’:
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:519:20: error: ‘NGX_LOG_DEBUG_TCP’ undeclared (first use in this function)
ngx_log_debug1(NGX_LOG_DEBUG_TCP, s->connection->log, 0,
^
src/core/ngx_log.h:92:28: note: in definition of macro ‘ngx_log_debug’
if ((log)->log_level & level)
^
/data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:519:5: note: in expansion of macro ‘ngx_log_debug1’
ngx_log_debug1(NGX_LOG_DEBUG_TCP, s->connection->log, 0,
^
make[1]: *** [objs/addon/nginx_tcp_proxy_module/ngx_tcp_session.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/data/tools/tengine-2.2.2'
make: *** [build] Error 2

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