On 01/03/2019 12.34, Sravani Maddukuri via openssl-users wrote:
> Earlier our application used OpenSSL version 1.0.2n. Now we wanted to
> upgrade to 1.1.1b.
> After upgrade when i compile OpenSSL, i see the following errors:
> Tried to generate the Makefile with both the ways mentioned below..
> But getting compilation errors as attached mainly at places
> where DEPRECATEDIN_1_1_0 and DEPRECATEDIN_0_9_8 are used.
Your system is missing 'struct hostent':
error: 'struct hostent' declared inside parameter list [-Werror]
The structure is provided by netdb.h. Does the error go away if you put
"#include <netdb.h>" before you include any OpenSSL headers?