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

Mihai Budiu mbudiu at vmware.com
Sat Oct 7 19:53:43 EDT 2017


That is very uncommon, I hope we won't need to change v1model APIs again ever in a backwards-incompatible fashion. I have sent an email about this API change about 2 weeks ago on this mailing list. Please let me know if you would like me to send you a copy.

Mihai

-----Original Message-----
From: P4-dev [mailto:p4-dev-bounces at lists.p4.org] On Behalf Of ecm
Sent: Saturday, October 7, 2017 4:05 PM
To: Han Wang <hanwang at barefootnetworks.com>
Cc: p4-dev at lists.p4.org
Subject: Re: [P4-dev] Problem with p4c-bm-ss

Thanks for the fast response,

Should I expect more API changes ? Is that common ?

Richard


On 7 October 2017 at 20:27, Han Wang <hanwang at barefootnetworks.com> wrote:
> 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
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.p4.org_mail
>> man_listinfo_p4-2Ddev-5Flists.p4.org&d=DwICAg&c=uilaK90D4TOVoH58JNXRg
>> Q&r=tGW6TKXajnoXSyy1S1P4DHGPe8sj54GGvw-b21n7aWg&m=puGBRQEt2B2Cs9tymGF
>> B_87nc9Mp8RjO1C8JZ6raIxI&s=sVGQQApRPr68htF40mn_yEhlxZq-O3Eg2vmCeN1Uxt
>> 0&e=
>

_______________________________________________
P4-dev mailing list
P4-dev at lists.p4.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.p4.org_mailman_listinfo_p4-2Ddev-5Flists.p4.org&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=tGW6TKXajnoXSyy1S1P4DHGPe8sj54GGvw-b21n7aWg&m=puGBRQEt2B2Cs9tymGFB_87nc9Mp8RjO1C8JZ6raIxI&s=sVGQQApRPr68htF40mn_yEhlxZq-O3Eg2vmCeN1Uxt0&e=




More information about the P4-dev mailing list