Closed nean-and-i closed 8 years ago
Can you try the change I made (just pull from git)? If that doesn't fix it, we can investigate further.
sorry, after the latest change I get even more errors:
docsis.c:45:25: error: openssl/sha.h: No such file or directory docsis.c: In function ‘add_mta_hash’: docsis.c:142: error: ‘SHA_CTX’ undeclared (first use in this function) docsis.c:142: error: (Each undeclared identifier is reported only once docsis.c:142: error: for each function it appears in.) docsis.c:142: error: expected ‘;’ before ‘shactx’ docsis.c:143: error: ‘SHA_DIGEST_LENGTH’ undeclared (first use in this function) docsis.c:143: warning: ISO C90 forbids mixed declarations and code docsis.c:145: error: implicit declaration of function ‘SHA1_Init’ docsis.c:145: error: ‘shactx’ undeclared (first use in this function) docsis.c:146: error: implicit declaration of function ‘SHA1_Update’ docsis.c:147: error: implicit declaration of function ‘SHA1_Final’ docsis.c:143: warning: unused variable ‘hash_value’ make[2]: * [docsis.o] Error 1 make[2]: Leaving directory `/mnt/git/docsis/src' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory`/mnt/git/docsis' make: *\ [all] Error 2
On Thu, Jun 16, 2016 at 1:42 AM, Richard Laager notifications@github.com wrote:
Can you try the change I made (just pull from git)? If that doesn't fix it, we can investigate further.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rlaager/docsis/issues/44#issuecomment-226351527, or mute the thread https://github.com/notifications/unsubscribe/ABP_BU5nowKye5PCNAGgofek5U3X6CG4ks5qMI3mgaJpZM4I2cgn .
unable to compile it at latest CentOS 5.11 version.
md5.h:45:7: warning: no newline at end of file