-
Notifications
You must be signed in to change notification settings - Fork 59
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
simple_router.p4app fails to compile #71
Comments
I think I figured out the issue, and a workaround... but not how to fix the code long-term. It seems like the For a quick test, I went into
to:
I then ran So the issue is that The solution seems to me to be to update (Unfortunately I am brand new to P4 so I don't know that I can help here.) |
Referring to p4lang/p4c#1845 this function now requires a parameter. Change both calls to |
Replace `mark_to_drop()` with `mark_to_drop(standard_metadata)` p4lang#71 Signed-off-by: Radostin Stoyanov <[email protected]>
Replace `mark_to_drop()` with `mark_to_drop(standard_metadata)` #71 Signed-off-by: Radostin Stoyanov <[email protected]>
Hi. Just cloned this repo to my MacBook Pro running MacOS 10.14.5. I have Docker 2.0.0.3 (31259) installed and it is working fine for other containers.
I copied
p4app
to/usr/local/bin
. But when I try to follow the example and do:p4app examples/simple_router.p4app
I get a compile failure and a command prompt back. Here is my complete error message:
Not sure what to do next. I've also tried running from the local directory (i.e.
./p4app
) with the same result. I've removed the docker image and tried having it pull it again. All gets the same error.The text was updated successfully, but these errors were encountered: