Hi Sudip, Sudip Mukherjee <[email protected]> writes:
> > Reported error: > In file included from /<<PKGBUILDDIR>>/src/cc/bcc_libbpf_inc.h:5, > from > /<<PKGBUILDDIR>>/src/cc/frontends/clang/b_frontend_action.cc:37: > /usr/include/bpf/btf.h: In function ‘bool btf_is_mod(const btf_type*)’: > /usr/include/bpf/btf.h:463:24: error: ‘BTF_KIND_TYPE_TAG’ was not declared in > this scope; did you mean ‘BTF_KIND_TYPEDEF’? > 463 | kind == BTF_KIND_TYPE_TAG; > | ^~~~~~~~~~~~~~~~~ > | BTF_KIND_TYPEDEF > /usr/include/bpf/btf.h: In function ‘bool btf_is_decl_tag(const btf_type*)’: > /usr/include/bpf/btf.h:493:31: error: ‘BTF_KIND_DECL_TAG’ was not declared in > this scope; did you mean ‘BTF_KIND_FLOAT’? > 493 | return btf_kind(t) == BTF_KIND_DECL_TAG; > | ^~~~~~~~~~~~~~~~~ > | BTF_KIND_FLOAT > /usr/include/bpf/btf.h: In function ‘bool btf_is_type_tag(const btf_type*)’: > /usr/include/bpf/btf.h:498:31: error: ‘BTF_KIND_TYPE_TAG’ was not declared in > this scope; did you mean ‘BTF_KIND_TYPEDEF’? > 498 | return btf_kind(t) == BTF_KIND_TYPE_TAG; > | ^~~~~~~~~~~~~~~~~ > | BTF_KIND_TYPEDEF > I tried building bpfcc 0.23.0 with experimental libbpf and it too failed. These versions are released with 0.5.0 libbpf. I see that next release 0.24.0 (not sure when it happens) should work with newer libbpf. Can we hold uploading newer libbpf to unstable till then?. Thanks and Regards, Vasudev

