_Aion_
Nothing Else
Hello, when i trying copiler sourcer in ubuntu 14.04, appear this error on console.
How fix this?
i'm using OTX 2.x.S.4(Lastest 8.60)
How fix this?
i'm using OTX 2.x.S.4(Lastest 8.60)
C++:
otserv.cpp: In function âvoid otserv(StringVec, ServiceManager*)â:
otserv.cpp:613: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: forward declaration of âRSA {aka struct rsa_st}â
typedef struct rsa_st RSA;
^
otserv.cpp:614: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: forward declaration of âRSA {aka struct rsa_st}â
typedef struct rsa_st RSA;
^
otserv.cpp:615: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: forward declaration of âRSA {aka struct rsa_st}â
typedef struct rsa_st RSA;
^
otserv.cpp:616: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: forward declaration of âRSA {aka struct rsa_st}â
typedef struct rsa_st RSA;
^
otserv.cpp:617: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: 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:44:
otserv.cpp:627: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: 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:44:
otserv.cpp:627: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: 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:44:
otserv.cpp:628: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: 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:44:
otserv.cpp:628: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: forward declaration of âRSA {aka struct rsa_st}â
typedef struct rsa_st RSA;
^
otserv.cpp:630: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: forward declaration of âRSA {aka struct rsa_st}â
typedef struct rsa_st RSA;
^
otserv.cpp:630: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: forward declaration of âRSA {aka struct rsa_st}â
typedef struct rsa_st RSA;
^
otserv.cpp:630: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:44:
/usr/include/openssl/ossl_typ.h:110:16: error: forward declaration of âRSA {aka struct rsa_st}â
typedef struct rsa_st RSA;