Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Andrews-MacBook-Pro:viacoin Andrew$ make clean; make install
- [ RM ] viacoin.o sha256.o viacoin.mo viacoin.sym viacoin.dep module_strings.h *.o *.d *.dep *.sym hgstamp
- Updated HGVERSION
- [ README ] module_strings.h
- [ CC ] viacoin.o
- [ CC ] sha256.o
- In file included from tomcrypt_hash.h:3:0,
- from tomcrypt_sha256.h:12,
- from sha256.c:11:
- ../../src/imath.h:65:1: error: unknown type name 'uint32_t'
- uint32_t log_length(int v);
- ^
- sha256.c: In function 'sha256_process':
- sha256.c:175:1: error: implicit declaration of function 'memcpy' [-Werror=implicit-function-declaration]
- HASH_PROCESS(sha256_process, sha256_compress, sha256, 64)
- ^
- In file included from sha256.c:11:0:
- tomcrypt_sha256.h:104:13: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
- memcpy(md-> state_var .buf + md-> state_var.curlen, in, (size_t)n); \
- ^
- sha256.c:175:1: note: in expansion of macro 'HASH_PROCESS'
- HASH_PROCESS(sha256_process, sha256_compress, sha256, 64)
- ^
- sha256.c: In function 'sha256_test':
- sha256.c:256:7: error: implicit declaration of function 'strlen' [-Werror=implicit-function-declaration]
- sha256_process(&md, (unsigned char*)tests[i].msg, (unsigned long)strlen(tests[i].msg));
- ^
- sha256.c:256:72: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
- sha256_process(&md, (unsigned char*)tests[i].msg, (unsigned long)strlen(tests[i].msg));
- ^
- sha256.c:258:7: error: implicit declaration of function 'XMEMCMP' [-Werror=implicit-function-declaration]
- if (XMEMCMP(tmp, tests[i].hash, 32) != 0) {
- ^
- cc1: some warnings being treated as errors
- make: *** [sha256.o] Error 1
- Andrews-MacBook-Pro:viacoin Andrew$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement