在编译内核的过程中遇到这样的问题:
arm-linux-ld: no machine record defined |
详细见截图:
经过在网上查询说解决放放如下:
修改:arch/arm/kernel/vmlinux.lds文件的最后部分:
注释掉上图中的
ASSERT((__proc_info_end - __proc_info_begin), "missing CPU support")
ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined") |
具体可以看到上面的注释:
/*
* These must never be empty * If you have to comment these two assert statements out, your * binutils is too old (for other reasons as well) */ |
时间: 2024-11-13 06:54:27