Open bhuvanplus opened 6 months ago
This is an issue with OpenSSL, I would guess that you are using a newer version than this code supports.
Thanks for a quick response.
I am using Ubuntu 22.04.2 LTS & openssl 3.0.2-0ubuntu1.15 which is around 2 yrs old.
I see snmp-collector/c_src/snmp_collector_usm.c has compiler check for the older openssl version "OpenSSL < v1.1.0". From this, I this understood that snmp-collector supports the latest version such as 3.x as well.
Do you think that openssl 3.0.2 is the reason for the error "error: invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX’"?
Totally. The check is for portability between openssl 1.1.0
and older versions. Version 1.1.0
was current at that time. I'm sure it's not difficult to support openssl 3.0.2
, however I don't have the time right at the moment.
I have followed the procedure explained in the file README.maintainer. All the steps till "make" have succeeded. The " make " command throws the following error "invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX’ {aka ‘struct evp_md_ctx_st’}". Please help me in resolving this issue.