[P4-dev] problem in p4 16 compiler

mostafa mostafaammar at aast.edu
Wed Aug 30 07:36:07 EDT 2017


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 

https://github.com/p4lang/p4c/blob/master/README.md

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...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170830/26c9925f/attachment-0002.html>


More information about the P4-dev mailing list