You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have an issue when I try to compile it on Mac OS X 10.7
It still an issue with Dynlink. I even applyed the dynlink patch on Ocaml, so I have Dynlink libs
-rw-r--r-- 1 root admin 26K 8 mar 16:18 dynlink.a
-rw-r--r-- 1 root admin 137K 5 avr 04:33 dynlink.cma
-rw-r--r-- 1 root admin 1,8K 5 avr 04:33 dynlink.cmi
-rw-r--r-- 1 root admin 3,1K 8 mar 16:18 dynlink.cmx
-rw-r--r-- 1 root admin 1,1K 8 mar 16:18 dynlink.cmxa
-rw-r--r-- 1 root admin 6,0K 5 avr 04:33 dynlink.mli
After a lot of warnings, like
ocamlfind ocamlopt -c -g -package findlib -package dynlink -I src -I src/utils -I src/typing -I src/toplevel -I src/parsing -I src/jitcomp -I src/bytecomp -I src/asmcomp -o src/ocamlnat.cmx src/ocamlnat.ml
findlib: [WARNING] Interface toploop.cmi occurs in several directories: /opt/local/lib/ocaml, src/toplevel
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /opt/local/lib/ocaml, src/toplevel
findlib: [WARNING] Interface topmain.cmi occurs in several directories: /opt/local/lib/ocaml, src/toplevel
/opt/local/bin/ocamlmklib -o src/ocamlnat src/jitcomp/natjit.o
ld: warning: -read_only_relocs cannot be used with x86_64
Hello, I have an issue when I try to compile it on Mac OS X 10.7
It still an issue with Dynlink. I even applyed the dynlink patch on Ocaml, so I have Dynlink libs
-rw-r--r-- 1 root admin 26K 8 mar 16:18 dynlink.a
-rw-r--r-- 1 root admin 137K 5 avr 04:33 dynlink.cma
-rw-r--r-- 1 root admin 1,8K 5 avr 04:33 dynlink.cmi
-rw-r--r-- 1 root admin 3,1K 8 mar 16:18 dynlink.cmx
-rw-r--r-- 1 root admin 1,1K 8 mar 16:18 dynlink.cmxa
-rw-r--r-- 1 root admin 6,0K 5 avr 04:33 dynlink.mli
After a lot of warnings, like
findlib: [WARNING] Interface toploop.cmi occurs in several directories: /opt/local/lib/ocaml, src/toplevel
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /opt/local/lib/ocaml, src/toplevel
findlib: [WARNING] Interface topmain.cmi occurs in several directories: /opt/local/lib/ocaml, src/toplevel
ld: warning: -read_only_relocs cannot be used with x86_64
I have
File "none", line 1, characters 0-1:
Error: No implementations provided for the following modules:
Dynlink referenced from src/jitcomp/jitlink.cmx,
src/toplevel/toploop.cmx
Command exited with code 2.
Compilation unsuccessful after building 383 targets (0 cached) in 00:00:14.
E: Command '/opt/local/bin/ocamlbuild src/ocamlnat.native -tag debug' terminated with error code 10
Interestingly, when I type :
ocamlfind ocamlopt -verbose -g -linkpkg -package "findlib,dynlink"
Effective set of compiler predicates: pkg_findlib,pkg_dynlink,autolink,native
The text was updated successfully, but these errors were encountered: