본문 바로가기

유용한 디버깅 팁

[라즈베리파이] crash-utility 설치(Arm64)

소스 내려 받기

$ 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