Open crevillo opened 7 years ago
Hello, when trying to compile in a ubuntu:xenail machine, i got an error saying
cc -c -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include/libxml2 -I objs -I src/http -I src/http/modules -I src/http/v2 -I src/mail -I src/stream \ -o objs/addon/ngx_upstream_jdomain/ngx_http_upstream_jdomain.o \ /opt/jdomain/ngx_upstream_jdomain/ngx_http_upstream_jdomain.c In file included from src/core/ngx_core.h:58:0, from /opt/jdomain/ngx_upstream_jdomain/ngx_http_upstream_jdomain.c:7: /opt/jdomain/ngx_upstream_jdomain/ngx_http_upstream_jdomain.c: In function ‘ngx_http_upstream_set_jdomain_peer_session’: /opt/jdomain/ngx_upstream_jdomain/ngx_http_upstream_jdomain.c:521:42: error: dereferencing pointer to incomplete type ‘SSL_SESSION {aka struct ssl_session_st}’ ssl_session, ssl_session ? ssl_session->references : 0); ^ src/core/ngx_log.h:93:48: note: in definition of macro ‘ngx_log_debug’ ngx_log_error_core(NGX_LOG_DEBUG, log, __VA_ARGS__) ^ /opt/jdomain/ngx_upstream_jdomain/ngx_http_upstream_jdomain.c:519:2: note: in expansion of macro ‘ngx_log_debug2’ ngx_log_debug2(NGX_LOG_DEBUG_HTTP, pc->log, 0, ^ objs/Makefile:1397: recipe for target 'objs/addon/ngx_upstream_jdomain/ngx_http_upstream_jdomain.o' failed make[3]: *** [objs/addon/ngx_upstream_jdomain/ngx_http_upstream_jdomain.o] Error 1 make[3]: Leaving directory '/opt/rebuildnginx/nginx-1.12.1/debian/build-full' Makefile:8: recipe for target 'build' failed make[2]: *** [build] Error 2 make[2]: Leaving directory '/opt/rebuildnginx/nginx-1.12.1/debian/build-full' debian/rules:163: recipe for target 'build.arch.full' failed make[1]: *** [build.arch.full] Error 2 make[1]: Leaving directory '/opt/rebuildnginx/nginx-1.12.1' debian/rules:141: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
is there anywork around for this, os is maybe a versions incopatibility problem? thank you
Hello, when trying to compile in a ubuntu:xenail machine, i got an error saying
is there anywork around for this, os is maybe a versions incopatibility problem? thank you