WY061912 2019-11-25 22:16 采纳率: 0%
浏览 536
已结题

nginx1.17.4中编译openssl报错

nginx1.17.4中编译openssl报错

file included from /usr/include/openssl/ssl.h:149:0,
from src/event/ngx_event_openssl.h:15,
from src/core/ngx_core.h:83,
from src/core/nginx.c:9:
/usr/include/openssl/comp.h:36:5: 错误:未知的类型名‘COMP_METHOD’
COMP_METHOD *meth;
^
/usr/include/openssl/comp.h:44:24: 错误:未知的类型名‘COMP_METHOD’
COMP_CTX *COMP_CTX_new(COMP_METHOD *meth);
^
/usr/include/openssl/comp.h:50:1: 错误:未知的类型名‘COMP_METHOD’
COMP_METHOD *COMP_rle(void);
^
/usr/include/openssl/comp.h:51:1: 错误:未知的类型名‘COMP_METHOD’
COMP_METHOD *COMP_zlib(void);
^
In file included from src/event/ngx_event_openssl.h:15:0,
from src/core/ngx_core.h:83,
from src/core/nginx.c:9:
/usr/include/openssl/ssl.h:879:5: 错误:未知的类型名‘COMP_METHOD’
COMP_METHOD *method;
^
In file included from /usr/include/openssl/ssl.h:1655:0,
from src/event/ngx_event_openssl.h:15,
from src/core/ngx_core.h:83,
from src/core/nginx.c:9:
/usr/include/openssl/dtls1.h:257:35: 错误:字段‘recordinfo’的类型不完全
struct bio_dgram_sctp_rcvinfo recordinfo;
^
In file included from src/event/ngx_event_openssl.h:15:0,
from src/core/ngx_core.h:83,
from src/core/nginx.c:9:
/usr/include/openssl/ssl.h:2468:1: 错误:未知的类型名‘COMP_METHOD’
const COMP_METHOD *SSL_get_current_compression(SSL *s);
^
/usr/include/openssl/ssl.h:2469:1: 错误:未知的类型名‘COMP_METHOD’
const COMP_METHOD *SSL_get_current_expansion(SSL *s);
^
/usr/include/openssl/ssl.h:2470:1: 错误:未知的类型名‘COMP_METHOD’
const char *SSL_COMP_get_name(const COMP_METHOD *comp);
^
/usr/include/openssl/ssl.h:2475:45: 错误:未知的类型名‘COMP_METHOD’
int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm);

  • 写回答

2条回答 默认 最新

  • weixin_43466240 2019-11-26 11:05
    关注

    COMP_METHOD 没有定义吧? $COMP_METHOD

    评论

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!