plumi / plumi.app

plumi video sharing
plumi.org
110 stars 61 forks source link

src/event/ngx_event_openssl.c #1610

Open Cgruppo opened 5 years ago

Cgruppo commented 5 years ago
src/event/ngx_event_openssl.c

src/event/ngx_event_openssl.c: In function 'ngx_ssl_dhparam': src/event/ngx_event_openssl.c:573:11: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}' dh->p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL); ^~ src/event/ngx_event_openssl.c: In function 'ngx_ssl_handshake': src/event/ngx_event_openssl.c:791:31: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}' if (c->ssl->connection->s3) { ^~ src/event/ngx_event_openssl.c: In function 'ngx_ssl_connection_error': src/event/ngx_event_openssl.c:1508:21: error: 'SSL_R_NO_CIPHERS_PASSED' undeclared (first use in this function) || n == SSL_R_NO_CIPHERS_PASSED / 182 / ^~~~~~~ src/event/ngx_event_openssl.c:1508:21: note: each undeclared identifier is reported only once for each function it appears in In file included from src/core/ngx_core.h:45:0, from src/event/ngx_event_openssl.c:9: src/event/ngx_event_openssl.c: In function 'ngx_ssl_new_session': src/event/ngx_event_openssl.c:1850:24: error: dereferencing pointer to incomplete type 'SSL_SESSION {aka struct ssl_session_st}' ngx_memcpy(id, sess->session_id, sess->session_id_length); ^ src/core/ngx_string.h:102:54: note: in definition of macro 'ngx_memcpy'

define ngx_memcpy(dst, src, n) (void) memcpy(dst, src, n)

                                                  ^~~

objs/Makefile:762: recipe for target 'objs/src/event/ngx_event_openssl.o' failed make[1]: [objs/src/event/ngx_event_openssl.o] Error 1 make[1]: Leaving directory '/opt/plumi.app/parts/nginx-buildcompile/nginx-1.3.8' Makefile:8: recipe for target 'build' failed make: [build] Error 2 nginx-build: Command failed with exit code 2: make nginx-build: Compilation error. The package is left as is at /opt/plumi.app/parts/nginx-buildcompile/nginx-1.3.8 where you can inspect what went wrong While: Installing nginx-build. Error: System error