Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. Andrews-MacBook-Pro:viacoin Andrew$ make clean; make install
  2. [ RM ] viacoin.o sha256.o viacoin.mo viacoin.sym viacoin.dep module_strings.h *.o *.d *.dep *.sym hgstamp
  3. Updated HGVERSION
  4. [ README ] module_strings.h
  5. [ CC ] viacoin.o
  6. [ CC ] sha256.o
  7. In file included from tomcrypt_hash.h:3:0,
  8. from tomcrypt_sha256.h:12,
  9. from sha256.c:11:
  10. ../../src/imath.h:65:1: error: unknown type name 'uint32_t'
  11. uint32_t log_length(int v);
  12. ^
  13. sha256.c: In function 'sha256_process':
  14. sha256.c:175:1: error: implicit declaration of function 'memcpy' [-Werror=implicit-function-declaration]
  15. HASH_PROCESS(sha256_process, sha256_compress, sha256, 64)
  16. ^
  17. In file included from sha256.c:11:0:
  18. tomcrypt_sha256.h:104:13: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
  19. memcpy(md-> state_var .buf + md-> state_var.curlen, in, (size_t)n); \
  20. ^
  21. sha256.c:175:1: note: in expansion of macro 'HASH_PROCESS'
  22. HASH_PROCESS(sha256_process, sha256_compress, sha256, 64)
  23. ^
  24. sha256.c: In function 'sha256_test':
  25. sha256.c:256:7: error: implicit declaration of function 'strlen' [-Werror=implicit-function-declaration]
  26. sha256_process(&md, (unsigned char*)tests[i].msg, (unsigned long)strlen(tests[i].msg));
  27. ^
  28. sha256.c:256:72: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
  29. sha256_process(&md, (unsigned char*)tests[i].msg, (unsigned long)strlen(tests[i].msg));
  30. ^
  31. sha256.c:258:7: error: implicit declaration of function 'XMEMCMP' [-Werror=implicit-function-declaration]
  32. if (XMEMCMP(tmp, tests[i].hash, 32) != 0) {
  33. ^
  34. cc1: some warnings being treated as errors
  35. make: *** [sha256.o] Error 1
  36. Andrews-MacBook-Pro:viacoin Andrew$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement