[P4-dev] problem in p4 16 compiler
cascaval at barefootnetworks.com
Wed Aug 30 10:30:54 EDT 2017
'[' denotes an optional argument. If you want that feature, strip the brackets and use it. For your scenario, I suggest you just use the following:
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
On Aug 30, 2017, 04:36 -0700, mostafa <mostafaammar at aast.edu>, wrote:
> Dear All,
> Kindly I am trying to run the ipv4_forward example
> /ipv4_forward$ ./run.sh
> 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.
> When following the steps in
> to install compiler I am having an error
> /ipv4_forward/build$ cmake .. [-DCMAKE_BUILD_TYPE=RELEASE|DEBUG] [-DCMAKE_INSTALL_PREFIX=<path>] [-DENABLE_DOCS=ON (default off)] [-DENABLE_P4RUNTIME_TO_PD=OFF (default on)]
> -bash: syntax error near unexpected token `('
> Any help is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev