我正在尝试使用 OCAML 编译器(版本 4.01.0)和 GNU make 4.0 编译统一源。源代码取自链接(http://www.seas.upenn.edu/~bcpierce/unison//download/releases/unison-2.27.57/)
我提取了 tar.gz,然后按照用户手册(http://www.seas.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual )中的说明编写了命令“make NATIVE=false” .html ) 请参阅从头开始构建统一窗口部分。
代码开始编译几秒钟但停止并出现以下错误:
----------
File "/cygdrive/c/unison_build/unison-2.27.57/update.ml", line 1:
Error: The implementation /cygdrive/c/unison_build/unison-2.27.57/update.ml
does not match the interface update.cmi:
...
In module NameMap:
The field `split' is required but not provided
In module NameMap:
The field `choose' is required but not provided
In module NameMap:
The field `max_binding' is required but not provided
In module NameMap:
The field `min_binding' is required but not provided
In module NameMap:
The field `bindings' is required but not provided
In module NameMap:
The field `cardinal' is required but not provided
In module NameMap:
The field `partition' is required but not provided
In module NameMap:
The field `filter' is required but not provided
In module NameMap:
The field `exists' is required but not provided
In module NameMap:
The field `for_all' is required but not provided
In module NameMap:
The field `merge' is required but not provided
In module NameMap:
The field `singleton' is required but not provided
Makefile.OCaml:339: recipe for target 'update.cmo' failed
make: *** [update.cmo] Error 2