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

examples/cont makefile #24

Open
andrew-appel opened this issue Dec 16, 2014 · 1 comment
Open

examples/cont makefile #24

andrew-appel opened this issue Dec 16, 2014 · 1 comment

Comments

@andrew-appel
Copy link
Collaborator

On 12/15/2014 8:11 PM, [email protected] wrote:

Just wanted to let you know that the [cont] directory makefile doesn’t seem to work as is on my system. I needed to add [-I path/to/compcert -as compcert] to the command line flags for [coqc].

@llbit
Copy link

llbit commented Mar 30, 2017

I am having problems building this example with the latest version of VST (commit 1745a39):

coqc -I . -I ../../msl -as msl -R ../../compcert -as compcert ../../msl/rmaps.v
coqc: -as: no such file or directory
make: *** [../../msl/rmaps.vo] Error 

I am using Coq 8.6.

I looked at the coqc documentation and it looks like they removed the -as flag, and this seems to work better:

COQFLAGS= -I . -Q ../../msl msl -R ../../compcert compcert

However compilation fails when building:

rm -f *.vo *~
rm -f language.html seplogic.html lift_seplogic.html model.html lseg.html client_lemmas.html sample_prog.html
rm -f language.glob seplogic.glob lift_seplogic.glob model.glob lseg.glob client_lemmas.glob sample_prog.glob
coqc -I . -Q ../../msl msl -R ../../compcert compcert language.v
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
File "./language.v", line 59, characters 0-36:
Warning: Implicit Arguments is deprecated; use Arguments instead
[deprecated-implicit-arguments,deprecated]
coqc -I . -Q ../../msl msl -R ../../compcert compcert seplogic.v
coqc -I . -Q ../../msl msl -R ../../compcert compcert lift_seplogic.v
coqc -I . -Q ../../msl msl -R ../../compcert compcert ../../msl/rmaps.v
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
<W> Grammar extension: in [tactic:simple_tactic] some rule has been masked
File "../../msl/rmaps.v", line 57, characters 23-36:
Error: Illegal application (Non-functional construction): 
The expression "functor" of type "Type"
cannot be applied to the term
 "preds" : "Type -> Type"
make: *** [../../msl/rmaps.vo] Error 1

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

2 participants