Problema compilare Sursa

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
NickTimisoreanu
Nou Venit

Nou Venit
Mesaje: 46
Membru din: 05 Mar 2017, 17:52
Server: TBX
Aprecieri: 230  
Mulţumiri: 1  
Medalii

stie cineva cum as putea rezolva aceasta eroare?


root@localhost:/usr/src/sursa/game/src # gmake -j20
compile cmd_general.cpp
In file included from cmd_general.cpp:3:0:
/usr/include/md5.h:25:2: warning: #warning "You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning." [-Wcpp]
#warning "You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning."
^
cmd_general.cpp: In function 'void do_CubePetAdd(LPCHARACTER, const char*, int, int)':
cmd_general.cpp:2287:21: warning: unused variable 'strArg1' [-Wunused-variable]
const std::string& strArg1 = std::string(arg1);
^
cmd_general.cpp: In function 'void do_PetEvo(LPCHARACTER, const char*, int, int)':
cmd_general.cpp:2363:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (ch->GetNewPetSystem()->GetLevel() >= 40 && tmpevo == 0 ||
^
cmd_general.cpp:2365:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
ch->GetNewPetSystem()->GetLevel() >= 80 && tmpevo == 2) {
^
cmd_general.cpp: In function 'void do_in_game_mall(LPCHARACTER, const char*, int, int)':
cmd_general.cpp:2544:3: error: 'MD5_CTX' was not declared in this scope
MD5_CTX ctx;
^
cmd_general.cpp:2544:11: error: expected ';' before 'ctx'
MD5_CTX ctx;
^
cmd_general.cpp:2549:12: error: 'ctx' was not declared in this scope
MD5Init(&ctx);
^
cmd_general.cpp:2549:15: error: 'MD5Init' was not declared in this scope
MD5Init(&ctx);
^
cmd_general.cpp:2550:59: error: 'MD5Update' was not declared in this scope
MD5Update(&ctx, (const unsigned char *) buf, strlen(buf));
^
cmd_general.cpp:2552:19: error: 'MD5End' was not declared in this scope
MD5End(&ctx, sas);
^
gmake: *** [.obj/cmd_general.o] Error 1
Avatar utilizator
Syxov
Nivel 10

Nivel 10
Mesaje: 2197
Membru din: 18 Sep 2016, 17:34
Server: SonyMt2
Regat: Jinno
Aprecieri: 70  
Mulţumiri: 138  
Discord: Copiază ID
Medalii

WarningSubiect vechi , arhivat !
Imagine
Afișează semnătura
Închis
Răspunsuri
6
Vizualizări
697
Răspunsuri
5
Vizualizări
540
Răspunsuri
6
Vizualizări
232
Răspunsuri
1
Vizualizări
234

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 78 vizitatori