소스 내려 받기
$ git clone https://github.com/crash-utility/crash.git
빌드 시작
$ make target=ARM64
빌드 도중 아래 에러 발생
checking for zlib.h... yes
checking for library containing dlgetmodinfo... no
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... no
configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
make[3]: *** [Makefile:8236: configure-gdb] Error 1
make[2]: *** [Makefile:835: all] Error 2
아래 명령어 실행
$ apt install libncurses5-dev
'유용한 디버깅 팁' 카테고리의 다른 글
vmcore validation (rd 0xFFFFFF8008082000 -e 0xFFFFFF800888202F -r kernel_code_dump.bin) (0) | 2023.04.19 |
---|---|
[리눅스커널] kimage_voffset를 T32으로 디버깅하기 (0) | 2023.04.18 |
[crash-utility] kvm(Arm64) vmcore 로딩 + ftrace 추출 (0) | 2023.04.18 |
[리눅스커널] LKDTM(Linux Kernel Dump Test Module) 소개 (0) | 2023.04.18 |