Skip to content

compilation error #4

Description

@welvinyu

I was not able to build the example using make. It first reports the following error:
Makefile:145: .depend: No such file or directory
make: *** No rule to make target `.depend'. Stop.

After the line 145 on the Makefile, I encounter the following error:
ocamlfind ocamlc -I +compiler-libs -g -annot -bin-annot -w A-4-9 -warn-error A-4-9-10-27-32-33-34-39-45 -I +compiler-libs -package cryptokit -I +unix -c ttmap.ml
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/local/lib/ocaml/compiler-libs, /usr/local/lib/ocaml
File "ttmap.ml", line 1193, characters 6-25:
Error: Unbound type constructor modtype_declaration
Hint: Did you mean module_declaration or type_declaration?
make: *** [ttmap.cmo] Error 2

I wonder if it has to do with the version of OCaml I installed?

$ ocaml -version
The OCaml toplevel, version 4.02.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions