|
From: Ashish A. <aga...@gm...> - 2014-10-21 11:54:29
|
Has anyone else hit this compile error. It happens on the latest Mac OS X 10.10. I tested with OCaml 4.02.0 and 4.02.1. I'm compiling via opam, which provides ocamlnet 3.7.6. # ocamlfind ocamlc -g -I ../../src/netstring -package "unix" -w -3-25 -c main.ml # rm -f ocamlrpcgen ocamlrpcgen # OCAMLPATH="..:$OCAMLPATH" \ # ocamlfind ocamlc -g -I ../../src/netstring -package "unix" -w -3-25 -custom -o ocamlrpcgen \ # -package unix,netstring,str \ # rpc_generator.cma main.cmo -linkpkg # rm lexer.ml ### stderr ### # ...[truncated] # Undefined symbols for architecture x86_64: # "_mkfifoat", referenced from: # _netsys_mkfifoat in libnetsys.a(netsys_c.o) # (maybe you meant: _netsys_mkfifoat) # ld: symbol(s) not found for architecture x86_64 # clang: error: linker command failed with exit code 1 (use -v to see invocation) # File "_none_", line 1: # Error: Error while building custom runtime system # make[1]: *** [ocamlrpcgen] Error 2 # make: *** [all] Error 2 |