otserv.cpp: In function 'void otserv(StringVec, ServiceManager*)':
otserv.cpp:549:18: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
BN_dec2bn(&g_RSA->p, g_config.getString(ConfigManager::RSA_PRIME1).c_str());
^~
In file included from /usr/include/openssl/crypto.h:25:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:32:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:550:18: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
BN_dec2bn(&g_RSA->q, g_config.getString(ConfigManager::RSA_PRIME2).c_str());
^~
In file included from /usr/include/openssl/crypto.h:25:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:32:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:551:18: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
BN_dec2bn(&g_RSA->d, g_config.getString(ConfigManager::RSA_PRIVATE).c_str());
^~
In file included from /usr/include/openssl/crypto.h:25:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:32:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:552:18: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
BN_dec2bn(&g_RSA->n, g_config.getString(ConfigManager::RSA_MODULUS).c_str());
^~
In file included from /usr/include/openssl/crypto.h:25:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:32:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:553:18: error: invalid use of incomplete type 'RSA {aka struct rsa_st}'
BN_dec2bn(&g_RSA->e, g_config.getString(ConfigManager::RSA_PUBLIC).c_str());
^~
In file included from /usr/include/openssl/crypto.h:25:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:32:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA {aka struct rsa_st}'
typedef struct rsa_st RSA;
^~~~~~
Makefile:551: recipe for target 'otserv.o' failed
make[1]: *** [otserv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/outputmessage.Tpo .deps/outputmessage.Po
make[1]: Leaving directory '/home/otserv/trunk'
Makefile:408: recipe for target 'all' failed
make: *** [all] Error 2