2.6.27内核编译

make[3]: *** [drivers/video/console/vgacon.o] 错误 1
make[2]: *** [drivers/video/console] 错误 2
make[1]: *** [drivers/video] 错误 2
make: *** [drivers] 错误 2

在make menuconfig时Graphics support ->console display driver support->vga text console(不选这个)在编译:
    usr/local/arm/3.4.1/bin/arm-linux-ld: no machine record defined
    make: *** [.tmp_vmlinux1] 错误 1

在 google 查到的都是说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"
后来自己到 arch/arm/kernel/vmlinux.lds 看注释才知道

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)
在编译通过。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值