[Tools]build crash ARM64 on ubuntu-1204-64-bit for crashdump analyze
1.下载 crash-7.1.2.tar.gz, 可以从网站下载最新的,网址是: http://people.redhat.com/anderson/
2.解压缩后进入 crash-7.1.2 目录,输入编译命令 :
make target=ARM64
3.如果顺利,会生成 ARM64 的 crash 可执行文件。
4.编译的时候碰到以下错误:
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]: * [configure-gdb] Error 1
make[2]: * [all] Error 2
crash build failed
make[1]: * [gdb_merge] Error 1
make: * [all] Error 2
解决办法之一(在ubuntu-1204-64-bit 驗證 OK):
sudo apt-get install libncurses5-dev