following is the error message
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:
In function ‘ngx_tcp_send’:
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:351:
error: ‘NGX_LOG_DEBUG_TCP’ undeclared (first use in this function)
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:351:
error: (Each undeclared identifier is reported only once
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:351:
error: for each function it appears in.)
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:
In function ‘ngx_tcp_finalize_session’:
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:410:
error: ‘NGX_LOG_DEBUG_TCP’ undeclared (first use in this function)
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:
In function ‘ngx_tcp_close_connection’:
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:431:
error: ‘NGX_LOG_DEBUG_TCP’ undeclared (first use in this function)
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:
In function ‘ngx_tcp_cleanup_add’:
/root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:519:
error: ‘NGX_LOG_DEBUG_TCP’ undeclared (first use in this function)
make[1]: ***
[objs/addon/nginx_tcp_proxy_module-master/ngx_tcp_session.o]
Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/nginx-1.8.1’
make: *** [build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.y2Vbr0 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.y2Vbr0 (%build)
following are the modules i compiles nginx with
nginx-sticky-module-master
nginx_upstream_check_module-master
nginx_tcp_proxy_module-maste
Posted at Nginx Forum: