Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error of switch code with SDE 9.7.0 #2

Open
yyppyy opened this issue Mar 3, 2023 · 0 comments
Open

Compilation error of switch code with SDE 9.7.0 #2

yyppyy opened this issue Mar 3, 2023 · 0 comments

Comments

@yyppyy
Copy link

yyppyy commented Mar 3, 2023

When I compiled the switch code with Tofino SDE 9.7.0. The compiler gives the following error:

/home/me/bf-sde-9.7.0/pkgsrc/p4-examples/programs/netlock/tables.p4(223): [--Werror=invalid] error: V1Table notify_tail_client_table: Table invoked from two different controls: Apply and Apply
table notify_tail_client_table {
^
/home/me/bf-sde-9.7.0/pkgsrc/p4-examples/programs/netlock/netlock.p4(451)
        apply(notify_tail_client_table);
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/me/bf-sde-9.7.0/pkgsrc/p4-examples/programs/netlock/netlock.p4(231)
            apply(notify_tail_client_table);
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I realized this compilation error could have happened during the translation from P4-14 to p4-16 as described here. But I am unable to apply the fix to my Tofino SDE.

When I gived up on fixing it myself and tried to acquire the exact SDE version (8.2.2) you use, I realized that the earliest version Intel still provides is 9.3, as suggested here. I wonder if you have any workaround on this compilation issue.

Thanks for any help in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant