napalm911911@otchaos:~/otserv/sources$ make -j 2
make all-am
make[1]: Entering directory '/home/napalm911911/otserv/sources'
CXX otserv.o
CXX playerbox.o
CXX player.o
otserv.cpp: In function ‘void otserv(StringVec, ServiceManager*)’:
otserv.cpp:599: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:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:600: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:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:601: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:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:602: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:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:603: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:44:
/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:23:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
otserv.cpp:613: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: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:44:
/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:23:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
otserv.cpp:613: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: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:44:
/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:23:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
otserv.cpp:614: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: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:44:
/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:23:0,
from /usr/include/openssl/rsa.h:16,
from otserv.cpp:44:
otserv.cpp:614: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: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:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:616: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: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:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:616: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: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:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:616: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: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:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
Makefile:552: recipe for target 'otserv.o' failed
make[1]: *** [otserv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
player.cpp: In member function ‘virtual void Player::postAddNotification(Creature*, Thing*, const Cylinder*, int32_t, CylinderLink_t)’:
player.cpp:3442:7: warning: variable ‘requireListUpdate’ set but not used [-Wunused-but-set-variable]
bool requireListUpdate = true;
^~~~~~~~~~~~~~~~~
player.cpp: In member function ‘virtual void Player::postRemoveNotification(Creature*, Thing*, const Cylinder*, int32_t, bool, CylinderLink_t)’:
typedef struct rsa_st RSA;
^~~~~~
otserv.cpp:616: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: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:44:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
Makefile:552: recipe for target 'otserv.o' failed
make[1]: *** [otserv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/napalm911911/otserv/sources'
Makefile:409: recipe for target 'all' failed
make: *** [all] Error 2
napalm911911@otchaos:~/otserv/sources$ sudo apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version (2.69-11).
build-essential is already the newest version (12.4ubuntu1).
ccache is already the newest version (3.4.1-1).
libboost-dev is already the newest version (1.65.1.0ubuntu1).
libboost-filesystem-dev is already the newest version (1.65.1.0ubuntu1).
libboost-system-dev is already the newest version (1.65.1.0ubuntu1).
libboost-thread-dev is already the newest version (1.65.1.0ubuntu1).
libgmp3-dev is already the newest version (2:6.1.2+dfsg-2).
pkg-config is already the newest version (0.29.1-0ubuntu2).
libboost-regex-dev is already the newest version (1.65.1.0ubuntu1).
liblua5.1-0-dev is already the newest version (5.1.5-8.1build2).
subversion is already the newest version (1.9.7-4ubuntu1).
libmysqlclient-dev is already the newest version (5.7.30-0ubuntu0.18.04.1).
libssl-dev is already the newest version (1.1.1-1ubuntu2.1~18.04.6).
libxml2-dev is already the newest version (2.9.4+dfsg1-6.1ubuntu1.3).
screen is already the newest version (4.6.2-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
napalm911911@otchaos:~/otserv/sources$
Qwizer I have tried contacting you on your whatsapp and Discord and havent been able to get in touch with you please if you can add me in discord Ransomware#8236
I would like to buy the premium package you have of this server if you still sell it and if possible tell me why the hell it's not compiling under linux, I really dont want to host this thing in a windows server