近期编译 Linux Kernel 被 header 所在的文件骗了,使用命令例如以下 cd /usr/src/linux-headers-3.11.0-24-generic/ make menuconfig make make menuconfig都还是正常 make的时候就缺非常多文件,headers 目录以下缺非常多 src文件 后来经过同事指点.使用了以下的步骤.成功了 sudo apt-get install libncurses5-dev kernel-package mkdir ~…
在使用比较新的gcc编译内核时,经常遇到这个问题: 问题一: 提示: mkimage" command not found - U-Boot images will not be built 原因是新的ubuntu系统上,这个工具的名字已经变了,安装方式如下所示: sudo apt-get install u-boot-tools 问题二: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ker…