Headers manquants

Fermé
blackbox - 17 févr. 2008 à 22:04
 blackbox - 21 févr. 2008 à 15:10
Lu all,
j'ai un prob lors du make d'un prog
je vous donne le message d'erreur

make -f makefile.linux

g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableGenerate.cpp -lssl -O3 -o rtgen
ChainWalkContext.cpp:14:26: erreur: openssl/rand.h : Aucun fichier ou répertoire de ce type
ChainWalkContext.cpp: In member function «void CChainWalkContext::GenerateRandomIndex()":
ChainWalkContext.cpp:348: erreur: «RAND_bytes" was not declared in this scope
HashAlgorithm.cpp:9:25: erreur: openssl/des.h : Aucun fichier ou répertoire de ce type
HashAlgorithm.cpp:10:25: erreur: openssl/md5.h : Aucun fichier ou répertoire de ce type
HashAlgorithm.cpp:11:25: erreur: openssl/sha.h : Aucun fichier ou répertoire de ce type
HashAlgorithm.cpp:16: erreur: «des_key_schedule" has not been declared
HashAlgorithm.cpp: In function «void setup_des_key(unsigned char*, int&)":
HashAlgorithm.cpp:18: erreur: «des_cblock" was not declared in this scope
HashAlgorithm.cpp:18: erreur: expected `;' before «key"
HashAlgorithm.cpp:20: erreur: «key" was not declared in this scope
HashAlgorithm.cpp:30: erreur: «des_set_key" was not declared in this scope
HashAlgorithm.cpp: In function «void HashLM(unsigned char*, int, unsigned char*)":
HashAlgorithm.cpp:45: erreur: «des_key_schedule" was not declared in this scope
HashAlgorithm.cpp:45: erreur: expected `;' before «ks"
HashAlgorithm.cpp:47: erreur: «ks" was not declared in this scope
HashAlgorithm.cpp:48: erreur: «des_cblock" was not declared in this scope
HashAlgorithm.cpp:48: erreur: expected primary-expression before «)" token
HashAlgorithm.cpp:48: erreur: expected primary-expression before «)" token
HashAlgorithm.cpp:48: erreur: «DES_ENCRYPT" was not declared in this scope
HashAlgorithm.cpp:48: erreur: «des_ecb_encrypt" was not declared in this scope
HashAlgorithm.cpp: In function «void HashMD5(unsigned char*, int, unsigned char*)":
HashAlgorithm.cpp:53: erreur: «MD5" was not declared in this scope
HashAlgorithm.cpp: In function «void HashSHA1(unsigned char*, int, unsigned char*)":
HashAlgorithm.cpp:58: erreur: «SHA1" was not declared in this scope

sachant que j'ai openssl et les headers et les lib qui vont avec comment ce fait-il que je n'ai pas des.h md5.h et sha1.h

a mon avis si j'avais ces headers je pourrais make sans problem

merci de votre aide

1 réponse

Yop,

probleme résolu...

je post pas de solutions... yen a pas..xD

En fait fait etre patient des fois ça marche des fois ça marche pas (peut etre c'est parce que j'ai pris libSSl)

Bye
0