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
sed -i 1s/python3/python/ scripts/bpf_helpers_doc.py
cd tools/bpf/bpftool/
sed -i '/#include <linux/if.h>/d' net.c
make
Auto-detecting system features:
... libbfd: [ on ]
... disassembler-four-args: [ OFF ]
... zlib: [ on ]
... libcap: [ OFF ]
... clang-bpf-co-re: [ on ]
CC map_perf_ring.o
CC xlated_dumper.o
CC common.o
CC iter.o
CC btf.o
CC tracelog.o
CC perf.o
CC main.o
CC json_writer.o
CC gen.o
Auto-detecting system features:
... libelf: [ on ]
... zlib: [ on ]
... bpf: [ on ]
make[1]: Entering directory /root/rpmbuild/BUILD/linux-5.10.59/tools/lib/bpf' GEN bpf_helper_defs.h MKDIR staticobjs/ CC staticobjs/libbpf.o CC staticobjs/bpf.o CC staticobjs/nlattr.o CC staticobjs/btf.o CC staticobjs/libbpf_errno.o CC staticobjs/str_error.o CC staticobjs/netlink.o CC staticobjs/bpf_prog_linfo.o CC staticobjs/libbpf_probes.o CC staticobjs/xsk.o CC staticobjs/hashmap.o CC staticobjs/btf_dump.o CC staticobjs/ringbuf.o LD staticobjs/libbpf-in.o LINK libbpf.a make[1]: Leaving directory /root/rpmbuild/BUILD/linux-5.10.59/tools/lib/bpf'
LINK bpftool-bootstrap
GEN vmlinux.h
Error: failed to load BTF from /sys/kernel/btf/vmlinux: Invalid argument
make: *** [vmlinux.h] Error 22
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.e1Z2zK (%build)
Bad exit status from /var/tmp/rpm-tmp.e1Z2zK (%build)
The text was updated successfully, but these errors were encountered:
this is the building log:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PmeERz
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e1Z2zK
Auto-detecting system features:
... libbfd: [ on ]
... disassembler-four-args: [ OFF ]
... zlib: [ on ]
... libcap: [ OFF ]
... clang-bpf-co-re: [ on ]
CC map_perf_ring.o
CC xlated_dumper.o
CC common.o
CC iter.o
CC btf.o
CC tracelog.o
CC perf.o
CC main.o
CC json_writer.o
CC gen.o
Auto-detecting system features:
... libelf: [ on ]
... zlib: [ on ]
... bpf: [ on ]
make[1]: Entering directory
/root/rpmbuild/BUILD/linux-5.10.59/tools/lib/bpf' GEN bpf_helper_defs.h MKDIR staticobjs/ CC staticobjs/libbpf.o CC staticobjs/bpf.o CC staticobjs/nlattr.o CC staticobjs/btf.o CC staticobjs/libbpf_errno.o CC staticobjs/str_error.o CC staticobjs/netlink.o CC staticobjs/bpf_prog_linfo.o CC staticobjs/libbpf_probes.o CC staticobjs/xsk.o CC staticobjs/hashmap.o CC staticobjs/btf_dump.o CC staticobjs/ringbuf.o LD staticobjs/libbpf-in.o LINK libbpf.a make[1]: Leaving directory
/root/rpmbuild/BUILD/linux-5.10.59/tools/lib/bpf'LINK bpftool-bootstrap
GEN vmlinux.h
Error: failed to load BTF from /sys/kernel/btf/vmlinux: Invalid argument
make: *** [vmlinux.h] Error 22
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.e1Z2zK (%build)
Bad exit status from /var/tmp/rpm-tmp.e1Z2zK (%build)
The text was updated successfully, but these errors were encountered: