Linux c 开发-8 GDB编译报错处理

https://ftp.gnu.org/gnu/gdb/gdb-10.1.tar.xz

使用的gdb10.1版本,编译报错

1、error: no termcap library found
2、error: makeinfo is required for compilation

参考

https://blog.csdn.net/tiger15605353603/article/details/81296312

解决办法:

sudo apt-get install texinfo
sudo apt-get install libncurses5-dev
sudo apt-get install m4
sudo apt-get install flex
sudo apt-get install bison

posted @ 2021-03-26 15:09  zhaogaojian  阅读(216)  评论(0编辑  收藏  举报