Skip to content

Commit 2d447a5

Browse files
committed
fix "fatal error: 'asm/errno.h' file not found"
1 parent f5aac3a commit 2d447a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

common/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,7 @@ $(BPFTOOL_SRC):
4343
.PHONY: $(TOOL_BPF_OBJ)
4444
$(TOOL_BPF_OBJ):
4545
cd $(LIBBPF_TOOLS_SRC)
46+
@if ! test -d /usr/include/asm; then
47+
sudo ln -s /usr/include/asm-generic /usr/include/asm
48+
fi
4649
$(MAKE)

0 commit comments

Comments
 (0)