spirit-linux icon indicating copy to clipboard operation
spirit-linux copied to clipboard

compile failure

Open synapticflaws opened this issue 15 years ago • 1 comments

this is on Ubuntu 10.04 LTS

make gcc -std=gnu99 -c -o spirit.o spirit.c spirit.c:28:25: error: openssl/sha.h: No such file or directory spirit.c: In function ‘sha1_of_data’: spirit.c:59: error: ‘SHA_CTX’ undeclared (first use in this function) spirit.c:59: error: (Each undeclared identifier is reported only once spirit.c:59: error: for each function it appears in.) spirit.c:59: error: expected ‘;’ before ‘ctx’ spirit.c:60: warning: implicit declaration of function ‘SHA1_Init’ spirit.c:60: error: ‘ctx’ undeclared (first use in this function) spirit.c:61: warning: implicit declaration of function ‘SHA1_Update’ spirit.c:62: warning: implicit declaration of function ‘SHA1_Final’ spirit.c: In function ‘add_file’: spirit.c:268: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ spirit.c:272: error: ‘SHA_CTX’ undeclared (first use in this function) spirit.c:272: error: expected ‘;’ before ‘ctx’ spirit.c:273: error: ‘ctx’ undeclared (first use in this function) make: *** [spirit.o] Error 1

synapticflaws avatar Jul 10 '10 20:07 synapticflaws

Im getting the same error messages when I compile... Ubuntu 10.04 LTS x64

SOLUTION: Install libssl-dev

ardevd avatar Aug 24 '10 10:08 ardevd