Compilation errors with 1.1.1b
christian at python.org
Fri Mar 1 11:41:40 UTC 2019
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?
More information about the openssl-users