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

edgar richard.mayers92 at gmail.com
Sat Oct 7 13:57:55 EDT 2017


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




More information about the P4-dev mailing list