[AGENT++] SNMP++ - build on Solaris with OpenSSL 1.0.0 errors

Alona Rossen arossen at opentext.com
Thu Mar 22 17:29:45 CET 2012


I receive the following error messages when I build SNMP++ v. 3.2.25 on Solaris using Sun C++ 5.10 compiler:


"auth_priv.cpp", line 1398: Error: Formal argument input of type const unsigned char* in call to DES_ncbc_encrypt(const unsigned char*, unsigned char*, long, DES_ks*, unsigned char(*)[8], int) is being passed unsigned char(*)[8].
"auth_priv.cpp", line 1398: Error: Formal argument output of type unsigned char* in call to DES_ncbc_encrypt(const unsigned char*, unsigned char*, long, DES_ks*, unsigned char(*)[8], int) is being passed unsigned char(*)[8].
"auth_priv.cpp", line 1410: Error: Formal argument input of type const unsigned char* in call to DES_ncbc_encrypt(const unsigned char*, unsigned char*, long, DES_ks*, unsigned char(*)[8], int) is being passed unsigned char(*)[8].
"auth_priv.cpp", line 1410: Error: Formal argument output of type unsigned char* in call to DES_ncbc_encrypt(const unsigned char*, unsigned char*, long, DES_ks*, unsigned char(*)[8], int) is being passed unsigned char(*)[8].
"auth_priv.cpp", line 1467: Error: Formal argument input of type const unsigned char* in call to DES_ncbc_encrypt(const unsigned char*, unsigned char*, long, DES_ks*, unsigned char(*)[8], int) is being passed unsigned char(*)[8].
"auth_priv.cpp", line 1467: Error: Formal argument output of type unsigned char* in call to DES_ncbc_encrypt(const unsigned char*, unsigned char*, long, DES_ks*, unsigned char(*)[8], int) is being passed unsigned char(*)[8].
6 Error(s) detected.

All arguments seem to be of the correct type.

Thank you,
Alona


More information about the AGENTPP mailing list