Problems compilling sign-1.0.7
Hi there!
I've been trying to compile sign-1.0.7 without sucess, when i start the make i get the following output
$ make
make -C src
make[1]: Entering directory `/home/miguel/Downloads/sign/sign-1.0.7/src'
cc -Wall -DNDEBUG -g -c -o digest.o digest.c
digest.c:4:25: openssl/md5.h: No such file or directory
digest.c:5:25: openssl/sha.h: No such file or directory
digest.c: In function `_md5_update':
digest.c:14: warning: implicit declaration of function `MD5_Update'
digest.c:14: `MD5_CTX' undeclared (first use in this function)
digest.c:14: (Each undeclared identifier is reported only once
digest.c:14: for each function it appears in.)
digest.c:14: parse error before ')' token
digest.c: In function `_md5_complete':
digest.c:21: warning: implicit declaration of function `MD5_Final'
digest.c:21: `MD5_CTX' undeclared (first use in this function)
digest.c:21: parse error before ')' token
digest.c: In function `_md5_process':
digest.c:27: `MD5_CTX' undeclared (first use in this function)
digest.c:27: parse error before "temp"
digest.c:29: warning: implicit declaration of function `MD5_Init'
digest.c:29: `temp' undeclared (first use in this function)
digest.c: In function `_md5_instance':
digest.c:37: `MD5_CTX' undeclared (first use in this function)
digest.c:37: `ctx' undeclared (first use in this function)
digest.c:43: parse error before ')' token
digest.c: In function `_sha1_update':
digest.c:59: warning: implicit declaration of function `SHA1_Update'
digest.c:59: `SHA_CTX' undeclared (first use in this function)
digest.c:59: parse error before ')' token
digest.c: In function `_sha1_complete':
digest.c:68: warning: implicit declaration of function `SHA1_Final'
digest.c:68: `SHA_CTX' undeclared (first use in this function)
digest.c:68: parse error before ')' token
digest.c: In function `_sha1_process':
digest.c:75: `SHA_CTX' undeclared (first use in this function)
digest.c:75: parse error before "temp"
digest.c:77: warning: implicit declaration of function `SHA1_Init'
digest.c:77: `temp' undeclared (first use in this function)
digest.c: In function `_sha1_instance':
digest.c:86: `SHA_CTX' undeclared (first use in this function)
digest.c:86: `ctx' undeclared (first use in this function)
digest.c:92: parse error before ')' token
make[1]: *** [digest.o] Error 1
make[1]: Leaving directory `/home/miguel/Downloads/sign/sign-1.0.7/src'
make: *** [all] Error 2
From what i've seen i concluded that the problem is related to missing openssl header files and so i've compilled and installed it ( openssl-0.9.7d) .
After that i've tried to compile sign again but get the same error .
What am i missing?
|