• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

problem compiling with otadmin support enabled

yaten

New Member
Joined
Sep 18, 2010
Messages
22
Reaction score
0
Hello,

I`m getting this error when compiling with otadmin enabled:


admin.cpp:22:17: error: rsa.h: No such file or directory
admin.cpp: In member function 'virtual void ProtocolAdmin:arsePacket(NetworkMessage&)':
admin.cpp:229: error: no matching function for call to 'ProtocolAdmin::RSA_decrypt(RSA*&, NetworkMessage&)'
protocol.h:74: note: candidates are: bool Protocol::RSA_decrypt(NetworkMessage&)
admin.cpp:292: error: invalid use of incomplete type 'struct RSA'
admin.h:136: error: forward declaration of 'struct RSA'
admin.cpp:294: error: expected `;' before 's'
admin.cpp:294: error: statement cannot resolve address of overloaded function
admin.cpp: In constructor 'Admin::Admin()':
admin.cpp:543: error: invalid use of incomplete type 'struct RSA'
admin.h:136: error: forward declaration of 'struct RSA'
admin.cpp:544: error: invalid use of incomplete type 'struct RSA'
admin.h:136: error: forward declaration of 'struct RSA'
cc1plus: warnings being treated as errors
admin.cpp:548: error: possible problem detected in invocation of delete operator:
admin.cpp:548: error: invalid use of incomplete type 'struct RSA'
admin.h:136: error: forward declaration of 'struct RSA'
admin.cpp:548: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
admin.cpp: In destructor 'virtual Admin::~Admin()':
admin.cpp:559: error: possible problem detected in invocation of delete operator:
admin.cpp:559: error: invalid use of incomplete type 'struct RSA'
admin.h:136: error: forward declaration of 'struct RSA'
admin.cpp:559: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
In file included from otserv.cpp:57:
admin.h:136: error: using typedef-name 'RSA' after 'class'
/usr/include/openssl/ossl_typ.h:128: error: 'RSA' has a previous declaration here

Anyone can help me?

Thanks!
 
Back
Top