'simple_switch_grpc: ABI version mismatch between PI core library (3) and PI implementation (0)

I am trying to build a P4 environment on my Ubuntu 16.04.

But When I execute make run in practice, I always get this output:

P4 switch s11 did not start correctly.
utils/Makefile:27: recipe for target'run' failed
make: *** [run] Error 1

I have checked the log:

ABI version mismatch between PI core library (3) and PI implementation (0)
simple_switch_grpc: pi.c:160: pi_init: Assertion `abi_version == PI_ABI_VERSION && "PI ABI version mismatch"' failed.
Calling target program-options parser

What I want to know is what PI implementation refers to? And how should I update it? Thanks a lot for any help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source