Problemă/Întrebare: Salut , primesc si eu aceasta erroare la gmake libserverkey ce as putea sa fac ma puteti ajuta va rog frumos.
Tipologie server(PvM / PvP):-
Resursă folosită: *Link exclusiv J4M*
ServerFiles utilizat: Serverfiles clean cu martysama
Syserr:-
Poză: imgur.com/iXH2Kf9
Detalii suplimentare:
gmake [2] *** [ Makefile:44: RSACrypto.o] Error 1
gmake [2] Leaving directory ' usr/src/Server/libserverkey'
gmake [1] *** [ Makefile28: default Error 2]
gmake [1] Leaving directory ' usr/src/Server/libserverkey'
gmake *** [Makefile:103: all] Error 2
Problema gmake / libserverkey
RSACrypto.h:14:8: error: forward declaration of 'RSA {aka struct rsa_st}'
struct rsa_st;
^
RSACrypto.cpp: In static member function 'static bool Security::RSACrypto::GenerateKey(Security::RSACrypto::PublicKey*, Security::RSACrypto::PrivateKey*)':
RSACrypto.cpp:314:14: warning: 'RSA* RSA_generate_key(int, long unsigned int, void
(int, int, void*), void*)' is deprecated (declared at /usr/include/openssl/rsa.h:235) [-Wdeprecated-declarations]
RSA* rsa = RSA_generate_key( 1024, 7, NULL, NULL );
^
RSACrypto.cpp:314:52: warning: 'RSA* RSA_generate_key(int, long unsigned int, void
(int, int, void*), void*)' is deprecated (declared at /usr/include/openssl/rsa.h:235) [-Wdeprecated-declarations]
RSA* rsa = RSA_generate_key( 1024, 7, NULL, NULL );
^
RSACrypto.cpp: In static member function 'static bool Security::RSACrypto::PrintKey(const Security::RSACrypto::PublicKey*, std::string&, std::string&)':
RSACrypto.cpp:351:32: error: invalid use of incomplete type 'struct rsa_st'
char* tmp = BN_bn2hex(k->rsa_->e);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
RSACrypto.cpp:358:26: error: invalid use of incomplete type 'struct rsa_st'
tmp = BN_bn2hex(k->rsa_->n);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
RSACrypto.cpp: In static member function 'static bool Security::RSACrypto::PrintKey(const Security::RSACrypto::PrivateKey*, std::string&, std::string&, std::string&)':
RSACrypto.cpp:370:32: error: invalid use of incomplete type 'struct rsa_st'
char* tmp = BN_bn2hex(k->rsa_->n);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
RSACrypto.cpp:377:26: error: invalid use of incomplete type 'struct rsa_st'
tmp = BN_bn2hex(k->rsa_->e);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
RSACrypto.cpp:384:26: error: invalid use of incomplete type 'struct rsa_st'
tmp = BN_bn2hex(k->rsa_->d);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
gmake[2]: *** [Makefile:44: RSACrypto.o] Error 1
gmake[2]: Leaving directory '/usr/src/RAVEM/Server/libserverkey'
gmake[1]: *** [Makefile:28: default] Error 2
gmake[1]: Leaving directory '/usr/src/RAVEM/Server/libserverkey'
gmake: *** [Makefile:103: all] Error 2
struct rsa_st;
^
RSACrypto.cpp: In static member function 'static bool Security::RSACrypto::GenerateKey(Security::RSACrypto::PublicKey*, Security::RSACrypto::PrivateKey*)':
RSACrypto.cpp:314:14: warning: 'RSA* RSA_generate_key(int, long unsigned int, void
RSA* rsa = RSA_generate_key( 1024, 7, NULL, NULL );
^
RSACrypto.cpp:314:52: warning: 'RSA* RSA_generate_key(int, long unsigned int, void
RSA* rsa = RSA_generate_key( 1024, 7, NULL, NULL );
^
RSACrypto.cpp: In static member function 'static bool Security::RSACrypto::PrintKey(const Security::RSACrypto::PublicKey*, std::string&, std::string&)':
RSACrypto.cpp:351:32: error: invalid use of incomplete type 'struct rsa_st'
char* tmp = BN_bn2hex(k->rsa_->e);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
RSACrypto.cpp:358:26: error: invalid use of incomplete type 'struct rsa_st'
tmp = BN_bn2hex(k->rsa_->n);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
RSACrypto.cpp: In static member function 'static bool Security::RSACrypto::PrintKey(const Security::RSACrypto::PrivateKey*, std::string&, std::string&, std::string&)':
RSACrypto.cpp:370:32: error: invalid use of incomplete type 'struct rsa_st'
char* tmp = BN_bn2hex(k->rsa_->n);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
RSACrypto.cpp:377:26: error: invalid use of incomplete type 'struct rsa_st'
tmp = BN_bn2hex(k->rsa_->e);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
RSACrypto.cpp:384:26: error: invalid use of incomplete type 'struct rsa_st'
tmp = BN_bn2hex(k->rsa_->d);
^
In file included from RSACrypto.cpp:1:0:
RSACrypto.h:14:8: error: forward declaration of 'struct rsa_st'
struct rsa_st;
^
gmake[2]: *** [Makefile:44: RSACrypto.o] Error 1
gmake[2]: Leaving directory '/usr/src/RAVEM/Server/libserverkey'
gmake[1]: *** [Makefile:28: default] Error 2
gmake[1]: Leaving directory '/usr/src/RAVEM/Server/libserverkey'
gmake: *** [Makefile:103: all] Error 2
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 86 vizitatori

