Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature mismatch: Modules do not match: #32

Open
Secomxslw opened this issue Mar 18, 2024 · 0 comments
Open

Signature mismatch: Modules do not match: #32

Secomxslw opened this issue Mar 18, 2024 · 0 comments

Comments

@Secomxslw
Copy link

  • ocamlfind ocamlc -c -g -package gsl -pp ocaml+twt -o PhyloLik.cmo PhyloLik.ml
    File "PhyloLik.ml", line 7, characters 25-28:
    7 | pe leaf = [Certain of int | Distribution of float array | Marginalize] ^^^ Error: Signature mismatch: Modules do not match: sig type t = int val compare : ('a -> 'a -> int) -> 'a list -> 'a list -> int end is not included in Set.OrderedType Values do not match: val compare : ('a -> 'a -> int) -> 'a list -> 'a list -> int is not included in val compare : t -> t -> int File "set.mli", line 55, characters 4-31: Expected declaration File "PhyloLik.ml", line 6, characters 5-12: Actual declaration Command exited with code 2. Compilation unsuccessful after building 51 targets (49 cached) in 00:00:01. make[2]: *** [lib] Error 10 make[2]: Leaving directory /home/ykf/CSF/PhyloCSF/lib/CamlPaml'
    make[1]: *** [reinstall] Error 2
    make[1]: Leaving directory `/home/ykf/CSF/PhyloCSF/lib/CamlPaml'
    make: *** [CamlPaml] Error 2

This is an error message. What does it mean? How can I resolve it? Thank you, everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant