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

having trouble running 2017 tutorials #41

Closed
theluke55 opened this issue Jul 14, 2017 · 2 comments
Closed

having trouble running 2017 tutorials #41

theluke55 opened this issue Jul 14, 2017 · 2 comments

Comments

@theluke55
Copy link

I'm trying to run the l3 forwarding p4 app and when i launch ./run.sh i get:

Entering build directory.
Extracting package.
Reading package manifest.

p4c-bm2-ss --p4v 16 "ipv4_forward.p4" -o "ipv4_forward.p4.json"
sh: 1: p4c-bm2-ss: not found
Compile failed.

I can't seem to figure out how to fix this, I found p4c-bm2-ss in the p4c compiler as a backend tool, but I'm not using it, should i be? In other words i'm using the bmv2 and the p4c-bmv2 and getting this message

@antoninbas
Copy link
Member

You are trying to compile a P4_16 program, so you can't use p4c-bmv2 and you need to use p4c-bm2-ss. Follow the steps in the p4lang/p4c README (https://github.com/p4lang/p4c) to install it.

@theluke55
Copy link
Author

Thanks that worked

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