Can't have more than one constant operand to an SALU compare

When I compiling my p4 program on tna, I got the error message:
error: can’t have more than one constant operand to an SALU compare.

I have no clue of what’s causing this error, can anyone give some advice please?
Thanks in advance.

Hello Kathy,

Welcome to the forum! You can find a lot of useful information here, especially if you use it search function. For example, a simple search on the “tna” and “SALU” keywords will immediately produce this post, that contains the necessary recommendations.

Happy hacking,
Vladimir