~/tibia/sources# make
make all-am
make[1]: Entering directory '/root/tibia/sources'
CXX actions.o
CXX allocator.o
CXX baseevents.o
CXX beds.o
CXX chat.o
CXX combat.o
CXX condition.o
CXX configmanager.o
CXX connection.o
CXX container.o
CXX creature.o
CXX creatureevent.o
CXX cylinder.o
CXX database.o
CXX databasemanager.o
CXX databasemysql.o
CXX depot.o
CXX dispatcher.o
CXX exception.o
CXX fileloader.o
CXX game.o
CXX globalevent.o
CXX group.o
CXX house.o
CXX housetile.o
CXX ioban.o
CXX ioguild.o
CXX iologindata.o
CXX iomap.o
CXX iomapserialize.o
CXX item.o
CXX itemattributes.o
CXX items.o
CXX luascript.o
CXX mailbox.o
CXX manager.o
CXX map.o
CXX monster.o
CXX monsters.o
CXX movement.o
CXX networkmessage.o
CXX npc.o
CXX otserv.o
otserv.cpp: In function ‘void otserv(StringVec, ServiceManager*)’:
otserv.cpp:580: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:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:581: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:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:582: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:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:583: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:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:584: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:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:35:
otserv.cpp:596:15: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
BN_mod(g_RSA->dmp1, g_RSA->d, r1, ctx);
^
In file included from /usr/include/openssl/crypto.h:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:35:
otserv.cpp:596:28: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
BN_mod(g_RSA->dmp1, g_RSA->d, r1, ctx);
^
In file included from /usr/include/openssl/crypto.h:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:35:
otserv.cpp:597:15: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
BN_mod(g_RSA->dmq1, g_RSA->d, r2, ctx);
^
In file included from /usr/include/openssl/crypto.h:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/openssl/asn1.h:24:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:35:
otserv.cpp:597:28: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
BN_mod(g_RSA->dmq1, g_RSA->d, r2, ctx);
^
In file included from /usr/include/openssl/crypto.h:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:599:23: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
^~
In file included from /usr/include/openssl/crypto.h:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:599:36: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
^~
In file included from /usr/include/openssl/crypto.h:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:599:46: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
BN_mod_inverse(g_RSA->iqmp, g_RSA->q, g_RSA->p, ctx);
^~
In file included from /usr/include/openssl/crypto.h:31: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:35:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
Makefile:557: recipe for target 'otserv.o' failed
make[1]: *** [otserv.o] Error 1
make[1]: Leaving directory '/root/tibia/sources'
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2