今天照着教程编译linux内核,输入make menuconfig 出不来配置菜单。上网查了下,说是gcc库支持不全什么的,要装libncurses5-dev , sudo apt-get install libncurses5-dev,成功安装。make menuconfig ,可以出现配置菜单。接下来编译的时候出现错误:arm-linux-gcc :not found 。但输入arm-linux-gcc -v 却能显示arm-linux-gcc的版本号,说明已经添加到环境变量。不知道为什么。还有,在没有装 libncurses5-dev之前编译都没出现过arm-linux-gcc :not found 这个问题,那位好心人能帮我解决下。