[P4-dev] Missing json files when compiling several .p4 files

Andy Fingerhut andy.fingerhut at gmail.com
Sun Feb 3 16:15:44 EST 2019


It may be easier to help you if you give a link to some Makefile in some
existing public repository that you have cloned and then modified, and
perhaps also a description of any changes you have made so far, e.g. a copy
of your Makefile, if you have changed your copy.

Andy


On Sun, Feb 3, 2019 at 12:00 PM Ruiyang Chen <rc5 at illinois.edu> wrote:

> Hi everyone,
> I'm new to p4 and faced some problem. I was trying to have 3 different p4
> file for 3 different switches in the network, and the Makefile will give me
> error that "cannot find json file for target build".(It'll create a json
> file for the first p4 file but not for the other 2.) I have looked at the
> Makefile and wasn't sure which step is to create the json file in "build"
> directory corresponding to the p4 files in the current directory.  Any help
> on how to modify the makefile to compile several .p4 codes will be
> appreciated! Thanks!
>
> Best,
> Ruiyang Chen
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20190203/65d87160/attachment.html>


More information about the P4-dev mailing list