After installing ocaml-4.02.1, unison reported an error in installation and solved it?

  linux, question

UISTYLE = text
Building for Unix
NATIVE = true
THREADS = false
STATIC = false
OSTYPE = linux
OSARCH =
ocamlopt: update.ml —> update.cmx
ocamlopt -I lwt -I ubase -I system -I system/generic -I lwt/generic -c /soft/unison-2.40.1/update.ml
File “/soft/unison-2.40.1/update.ml”, line 1:
Error: The implementation /soft/unison-2.40.1/update.ml

does not match the interface update.cmi:
 ...
 In module NameMap:
 The value `split' is required but not provided
 In module NameMap:
 The value `choose' is required but not provided
 In module NameMap:
 The value `max_binding' is required but not provided
 In module NameMap:
 The value `min_binding' is required but not provided
 In module NameMap:
 The value `bindings' is required but not provided
 In module NameMap:
 The value `cardinal' is required but not provided
 In module NameMap:
 The value `partition' is required but not provided
 In module NameMap:
 The value `filter' is required but not provided
 In module NameMap:
 The value `exists' is required but not provided
 In module NameMap:
 The value `for_all' is required but not provided
 In module NameMap:
 The value `merge' is required but not provided
 In module NameMap:
 The value `singleton' is required but not provided

make:*[update.cmx] error 2

Dependency package is not installed, use OPAM to install the package and try it out.