본문 바로가기

개발일기/Trouble Shooting

BTF: .tmp_vmlinux.btf: pahole (pahole) is not available

Kernel compile 중 다음과 같은 오류가 떴다.

BTF: .tmp_vmlinux.btf: pahole (pahole) is not available
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF
make: *** [Makefile:1106: vmlinux] Error 1

 

해결책은 다음과 같다.

$ sudo apt install dwarves