You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you do a “sudo apt-get install llvm” on your machine? New p4c has added a llvm dependency. I downloaded latest p4c right now and ‘cmake ..’ runs fine for me. My machine is using a 4.15.0 kernel and I use Ubuntu 18.04. Your kernel is 4.13.0 and I also see some llvm issues in your log.
@mbudiu-vmw I have solved the problem temporarily according to Antonin's method. But it does not seem like a perfect solution. cmake .. -DENABLE_EBPF=OFF
I have cloned the latest version of p4c, then install all dependencies. However, when building the project, it always gives an error.
The command console outputs as follows,
CMakeError.log:
BTW: I can call
pthread_create
successfully in my local environment.(e.g. gcc -o test test.c -lpthreads)The text was updated successfully, but these errors were encountered: