Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ocaml-sha-ocaml-sha-v1.9 powermac$ make
- ocamlc -c -o sha1.cmi sha1.mli
- ocamlc -ccopt "-Wall -O3 -funroll-loops -I/usr/include" -c -o sha1.o sha1.c
- mv sha1.o sha1.lib.o
- ocamlc -ccopt "-Wall -O3 -funroll-loops -I/usr/include" -c -o sha1_stubs.o sha1_stubs.c
- sha1_stubs.c: In function ‘sha1_file’:
- sha1_stubs.c:28: error: ‘O_CLOEXEC’ undeclared (first use in this function)
- sha1_stubs.c:28: error: (Each undeclared identifier is reported only once
- sha1_stubs.c:28: error: for each function it appears in.)
- sha1_stubs.c: In function ‘stub_sha1_file’:
- sha1_stubs.c:118: warning: implicit declaration of function ‘strcpy’
- sha1_stubs.c:118: warning: incompatible implicit declaration of built-in function ‘strcpy’
- sha1_stubs.c:118: warning: implicit declaration of function ‘strlen’
- sha1_stubs.c:118: warning: incompatible implicit declaration of built-in function ‘strlen’
- sha1_stubs.c:128: warning: implicit declaration of function ‘memcpy’
- sha1_stubs.c:128: warning: incompatible implicit declaration of built-in function ‘memcpy’
- make: *** [sha1_stubs.o] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement