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

p4c sai extension build error #8

Open
dkrdzic opened this issue Aug 25, 2021 · 0 comments
Open

p4c sai extension build error #8

dkrdzic opened this issue Aug 25, 2021 · 0 comments

Comments

@dkrdzic
Copy link

dkrdzic commented Aug 25, 2021

In order to use SAI-P4-BM, I need to compile a P4 Soft Switch Model with SAI p4c extension. But when tried to build it, an error occurred (following https://github.com/opencomputeproject/SAI/blob/master/flexsai/p4/README.md):
Error copying directory from "/.../p4c/p4_14include" to "/.../p4c/build/p4_14include".
There was no p4_14include folder found.
Does anyone know how to fix this?

If I make an empty p4_14include dir and build, it fails because of:
terminate called after throwing an instance of 'Util::CompilationError'
what(): IntMod: Duplicate class name

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

1 participant