Advertisement
Guest User

Untitled

a guest
Mar 31st, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. ocaml-sha-ocaml-sha-v1.9 powermac$ make
  2. ocamlc -c -o sha1.cmi sha1.mli
  3. ocamlc -ccopt "-Wall -O3 -funroll-loops -I/usr/include" -c -o sha1.o sha1.c
  4. mv sha1.o sha1.lib.o
  5. ocamlc -ccopt "-Wall -O3 -funroll-loops -I/usr/include" -c -o sha1_stubs.o sha1_stubs.c
  6. sha1_stubs.c: In function ‘sha1_file’:
  7. sha1_stubs.c:28: error: ‘O_CLOEXEC’ undeclared (first use in this function)
  8. sha1_stubs.c:28: error: (Each undeclared identifier is reported only once
  9. sha1_stubs.c:28: error: for each function it appears in.)
  10. sha1_stubs.c: In function ‘stub_sha1_file’:
  11. sha1_stubs.c:118: warning: implicit declaration of function ‘strcpy’
  12. sha1_stubs.c:118: warning: incompatible implicit declaration of built-in function ‘strcpy’
  13. sha1_stubs.c:118: warning: implicit declaration of function ‘strlen’
  14. sha1_stubs.c:118: warning: incompatible implicit declaration of built-in function ‘strlen’
  15. sha1_stubs.c:128: warning: implicit declaration of function ‘memcpy’
  16. sha1_stubs.c:128: warning: incompatible implicit declaration of built-in function ‘memcpy’
  17. make: *** [sha1_stubs.o] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement