Skip to content

failed to compile #23

Description

@freedog8

[jliu@login01 PhyloCSF]$ make
make -C lib/CamlPaml reinstall
make[1]: Entering directory /data/gpfs02/jliu/ding/tools/PhyloCSF/lib/CamlPaml' make uninstall make[2]: Entering directory /data/gpfs02/jliu/ding/tools/PhyloCSF/lib/CamlPaml'
ocamlfind remove CamlPaml
ocamlfind: [WARNING] No such file: /data/gpfs01/jliu/.opam/default/lib/CamlPaml/META
make[2]: Leaving directory /data/gpfs02/jliu/ding/tools/PhyloCSF/lib/CamlPaml' make install make[2]: Entering directory /data/gpfs02/jliu/ding/tools/PhyloCSF/lib/CamlPaml'
ocamlbuild -use-ocamlfind CamlPaml.cma CamlPaml.cmxa

  • ocamlfind ocamlc -c -g -package gsl -pp ocaml+twt -o Code.cmo Code.ml
    File "Code.ml", line 55, characters 11-24:
    Warning 3: deprecated: Stdlib.String.create
    Use Bytes.create instead.
    File "Code.ml", line 57, characters 3-27:
    Warning 3: deprecated: Stdlib.String.set
    Use Bytes.set instead.
    File "Code.ml", line 193, characters 32-46:
    Warning 3: deprecated: Stdlib.Char.uppercase
    Use Char.uppercase_ascii instead.
    File "Code.ml", line 193, characters 50-64:
    Warning 3: deprecated: Stdlib.Char.uppercase
    Use Char.uppercase_ascii instead.
    File "Code.ml", line 193, characters 68-82:
    Warning 3: deprecated: Stdlib.Char.uppercase
    Use Char.uppercase_ascii instead.
    File "Code.ml", line 1:
    Error: The implementation Code.ml does not match the interface Code.cmi:
    ...
    In module DNA:
    Values do not match:
    val revcomp : string -> bytes
    is not included in
    val revcomp : string -> string
    File "Code.mli", line 29, characters 1-31: Expected declaration
    File "Code.ml", line 53, characters 5-12: Actual declaration
    Command exited with code 2.
    Compilation unsuccessful after building 53 targets (52 cached) in 00:00:00.
    make[2]: *** [lib] Error 10
    make[2]: Leaving directory /data/gpfs02/jliu/ding/tools/PhyloCSF/lib/CamlPaml' make[1]: *** [reinstall] Error 2 make[1]: Leaving directory /data/gpfs02/jliu/ding/tools/PhyloCSF/lib/CamlPaml'
    make: *** [CamlPaml] Error 2

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