5
tengine版本
master
openssl版本openssl-1.1.0
系统版本Linux localhost 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
./configure \
--prefix=/usr/local/nginx \
--sbin-path=/usr/local/nginx/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/data/logs/error.log \
--http-log-path=/data/logs/access.log \
--pid-path=/var/run/nginx/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--user=nginx \
--group=nginx \
--with-pcre=deps/pcre-8.36 \
--with-jemalloc=deps/jemalloc \
--add-module=deps/lua-nginx-module \
--with-openssl=deps/openssl-1.1.0 \
--with-http_upstream_check_module \
--with-http_gzip_static_module \
--add-module=deps/nginx-static-etags/ \
--with-http_v2_module \
--with-http_ssl_module \
--with-syslog
错误详情:
cc1: warnings being treated as errors
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_init’中:
src/event/ngx_event_openssl.c:115: 错误:不建议使用‘OPENSSL_config’(声明于 deps/openssl-1.1.0/.openssl/include/openssl/conf.h:92)
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_rsa512_key_callback’中:
src/event/ngx_event_openssl.c:756: 错误:不建议使用‘RSA_generate_key’(声明于 deps/openssl-1.1.0/.openssl/include/openssl/rsa.h:193)
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_dhparam’中:
src/event/ngx_event_openssl.c:946: 错误:提领指向不完全类型的指针
src/event/ngx_event_openssl.c:947: 错误:提领指向不完全类型的指针
src/event/ngx_event_openssl.c:949: 错误:提领指向不完全类型的指针
src/event/ngx_event_openssl.c:949: 错误:提领指向不完全类型的指针
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_handshake’中:
src/event/ngx_event_openssl.c:1169: 错误:提领指向不完全类型的指针
src/event/ngx_event_openssl.c:1170: 错误:提领指向不完全类型的指针
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_connection_error’中:
src/event/ngx_event_openssl.c:1931: 错误:‘SSL_R_NO_CIPHERS_PASSED’未声明(在此函数内第一次使用)
src/event/ngx_event_openssl.c:1931: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
src/event/ngx_event_openssl.c:1931: 错误:所在的函数内也只报告一次。)
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_session_cache’中:
src/event/ngx_event_openssl.c:2125: 错误:传递‘SSL_CTX_sess_set_get_cb’的第 2 个参数时在不兼容的指针类型间转换
deps/openssl-1.1.0/.openssl/include/openssl/ssl.h:618: 附注:需要类型‘struct SSL_SESSION * (*)(struct ssl_st *, const unsigned char *, int, int *)’,但实参的类型为‘struct SSL_SESSION * (*)(struct SSL *, u_char *, int, int *)’
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_session_id_context’中:
src/event/ngx_event_openssl.c:2147: 错误:‘md’的存储大小未知
src/event/ngx_event_openssl.c:2213: 错误:隐式声明函数‘EVP_MD_CTX_cleanup’
src/event/ngx_event_openssl.c:2147: 错误:未使用的变量‘md’
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_session_ticket_key_callback’中:
src/event/ngx_event_openssl.c:2875: 错误:不建议使用‘RAND_pseudo_bytes’(声明于 deps/openssl-1.1.0/.openssl/include/openssl/rand.h:47)
make[1]: *** [objs/src/event/ngx_event_openssl.o] 错误 1
make[1]: Leaving directory `/root/tengine'
make: *** [build] 错误 2