免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2332 | 回复: 1

[其它] ld: kernel image bigger than KERNEL_IMAGE_SIZE [复制链接]

论坛徽章:
0
发表于 2015-08-28 11:23 |显示全部楼层
编内核报如下错误,哪位知道怎么解决?
make menuconfig
  1. [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support                                                                     x x  
  2.   x x                                                                (/root/src/rootfs) Initramfs source file(s)  
复制代码
make
  1.   CC      arch/x86/lib/memmove_64.o
  2.   AS      arch/x86/lib/putuser.o
  3.   CC      arch/x86/lib/usercopy_64.o
  4.   AR      arch/x86/lib/lib.a
  5.   LD      vmlinux.o
  6.   MODPOST vmlinux.o
  7. WARNING: vmlinux.o(.text+0x24aabc): Section mismatch in reference from the function dmar_ir_support() to the variable .init.data:acpi_slot_detected
  8. The function dmar_ir_support() references
  9. the variable __initdata acpi_slot_detected.
  10. This is often because dmar_ir_support lacks a __initdata
  11. annotation or the annotation of acpi_slot_detected is wrong.

  12. WARNING: vmlinux.o(.cpuinit.text+0x62ea): Section mismatch in reference from the function end_local_APIC_setup() to the function .init.text:enable_drhd_fault_handling()
  13. The function __cpuinit end_local_APIC_setup() references
  14. a function __init enable_drhd_fault_handling().
  15. If enable_drhd_fault_handling is only used by end_local_APIC_setup then
  16. annotate enable_drhd_fault_handling with a matching annotation.

  17.   GEN     .version
  18.   CHK     include/linux/compile.h
  19.   UPD     include/linux/compile.h
  20.   CC      init/version.o
  21.   LD      init/built-in.o
  22.   LD      .tmp_vmlinux1
  23. ld: kernel image bigger than KERNEL_IMAGE_SIZE
  24. ld: kernel image bigger than KERNEL_IMAGE_SIZE
  25. make: *** [.tmp_vmlinux1] Error 1
复制代码

论坛徽章:
5
2015年辞旧岁徽章
日期:2015-03-03 16:54:15程序设计版块每日发帖之星
日期:2015-09-21 06:20:002015亚冠之卡尔希纳萨夫
日期:2015-09-22 14:11:11程序设计版块每日发帖之星
日期:2015-09-25 06:20:00每日论坛发贴之星
日期:2015-09-25 06:20:00
发表于 2015-09-22 13:20 |显示全部楼层
内核的大小超了,安卓的话去BoardConfig.mk里改一下BOARD_BOOTIMAGE_PARTITION_SIZE的值。其他的不清楚
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP