我在 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}"
发现许多类似的错误,但无法将任何信息应用于我的问题。有任何想法吗?