编译go工程时提示缺少bpf_common.h

yum groupinstall "Development tools"
cd etc/yum.repos.d
yum install epel-realease
yum update
#查找相关文件
#直接将这个文件从GitHub上的Linux源码中拷贝下来放到源码路径中是行不通的
find / -name bpf_common.h

猜你喜欢

转载自blog.csdn.net/weixin_38645718/article/details/84982913