Skip to content

error during make #15

@davidenitti

Description

@davidenitti

I have this error when installing:

make
make[1]: Entering directory '/home/davide/code/coq/FormalML'
COQDEP VFILES
COQC coq/lib_utils/LibUtilsCoqLibAdd.v
COQC coq/lib_utils/LibUtilsLift.v
COQC coq/lib_utils/LibUtilsListAdd.v
COQC coq/lib_utils/LibUtilsStringAdd.v
COQC coq/lib_utils/LibUtilsAssoc.v
File "./coq/lib_utils/LibUtilsAssoc.v", line 1502, characters 14-40:
Error: No such bound variable dec0 (possible names are: dec, l, a and b).

make[2]: *** [Makefile.coq:793: coq/lib_utils/LibUtilsAssoc.vo] Error 1
make[1]: *** [Makefile.coq:409: all] Error 2
make[1]: Leaving directory '/home/davide/code/coq/FormalML'
make: *** [Makefile:9: coq] Error 2

I kind of solved replacing dec0 with dec (but I'm not sure is ok)
but now I get this error

make
make[1]: Entering directory '/home/davide/code/coq/FormalML'
COQDEP VFILES
COQC coq/lib_utils/LibUtilsAssoc.v
COQC coq/lib_utils/LibUtilsSortingAdd.v
COQC coq/lib_utils/LibUtilsSublist.v
COQC coq/lib_utils/LibUtilsBag.v
COQC coq/lib_utils/LibUtilsCompat.v
COQC coq/lib_utils/LibUtilsBindings.v
COQC coq/lib_utils/LibUtilsBindingsNat.v
COQC coq/lib_utils/LibUtilsClosure.v
COQC coq/lib_utils/LibUtilsDigits.v
File "./coq/lib_utils/LibUtilsDigits.v", line 154, characters 80-81:
Error: The reference H was not found in the current environment.

make[2]: *** [Makefile.coq:793: coq/lib_utils/LibUtilsDigits.vo] Error 1
make[1]: *** [Makefile.coq:409: all] Error 2
make[1]: Leaving directory '/home/davide/code/coq/FormalML'
make: *** [Makefile:9: coq] Error 2

I managed to fix second error by installing it in a new switch with opam switch create nnsopt 4.07.0, maybe some version of the default switch is not compatible, in any case I still have the first error and other similar that I fixed as said before (removing the 0 from the name of the variable) but now I have this:

File "./coq/utils/RealAdd.v", line 5318, characters 19-29:
Error: The reference Qreals.Q2R was not found in the current environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions