0

我在 Ubuntu 16.04 上下载了 openssl 1.1.0f 和 net-snmp 5.7.3。OpenSSL 的安装没有问题。因为,我运行了 net-snmp ./configure --with-security-modules=tsm --with-transports="DTLSUDP TLSTCP",它也很顺利 - 配置摘要显示了 DTLSUDP 和 TLSTCP 传输支持。但是,make失败:

snmp_openssl.c:167:24: error: dereferencing pointer to incomplete type "X509_NAME_ENTRY {aka struct X509_name_entry_st}"

snmp_openssl.c:473:37: error: dereferencing pointer to incomplete type "X509 {aka struct X509_st}"

发现许多类似的错误,但无法将任何信息应用于我的问题。有任何想法吗?

4

1 回答 1

1

看起来那个版本的 net-snmp 与 OpenSSL 1.1.0 不兼容。我建议您改用最新的 OpenSSL 1.0.2。

于 2017-08-26T07:25:03.263 回答