[P4-dev] Problem with p4c-bm-ss

Han Wang hanwang at barefootnetworks.com
Sat Oct 7 14:27:44 EDT 2017


Hi Richard,

The SIGCOMM2017 examples should be fixed now. Please pull in the changes
and try again.

Han

> On Oct 7, 2017, at 10:57 AM, edgar <richard.mayers92 at gmail.com> wrote:
> 
> Hi all,
> 
> I can not compile p4-16 programs anymore. For example if I try to run
> the SIGCOMM2017 basic exercise I get:
> 
> basic.p4(176): error: main: Cannot unify parameter hdr with hdr
> because they have different directions
> ) main;
>  ^^^^
> basic.p4(77)
> control MyVerifyChecksum(in headers hdr, inout metadata meta) {
>                                    ^^^
> /usr/local/share/p4c/p4include/v1model.p4(197)
> control VerifyChecksum<H, M>(inout H hdr,
>                                     ^^^
> 
> Are you aware of that issue?
> 
> Kind regards,
> Richard
> 
> _______________________________________________
> P4-dev mailing list
> P4-dev at lists.p4.org
> http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org





More information about the P4-dev mailing list