I followed the instructions from README file - https://github.com/opencomputeproject/SAI/blob/master/flexsai/p4/README.md in order to link and build p4lang/p4c with SAI p4 backend extension.
With make command an error occurred:
Error copying directory from "/.../p4c/p4_14include" to "/.../p4c/build/p4_14include", where p4c is my local p4c repo cloned from p4lang/p4c.
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
I followed the instructions from README file - https://github.com/opencomputeproject/SAI/blob/master/flexsai/p4/README.md in order to link and build
p4lang/p4c
withSAI p4 backend
extension. Withmake
command an error occurred: Error copying directory from "/.../p4c/p4_14include" to "/.../p4c/build/p4_14include", wherep4c
is my localp4c
repo cloned fromp4lang/p4c
. There was nop4_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