编译Linux内核问题收集与总结

1、Makefile‘混和的隐含和普通规则’错误的解决   (mixed implicit and normal rules. Stop.)

        这是由于Make工具对低版本内核Makefile一些旧的规则兼容不是很好,只需要修改一下开发包内核原码里的Makefile。

       http://blog.csdn.net/liukun321/article/details/6915641

2、内核编译时make menuconfig出现问题时的解决办法    

        [root@ linux-2.6.22.6]# make menuconfig
         HOSTCC  scripts/kconfig/lxdialog/checklist.o
         In file included from scripts/kconfig/lxdialog/checklist.c:24:0:
         scripts/kconfig/lxdialog/dialog.h:32:20: 致命错误:curses.h:没有那个文件或目录
         编译中断。
         make[1]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1
         make: *** [menuconfig] 错误 2

            解决方法:安装ncurses-devel 

            [root@ linux-2.6.22.6]# yum install -y ncurses-devel


3、invalid option `abi=aapcs-linux'  

You're building an EABI kernel with an OABI compiler. You can either
turn off the EABI option in your config file (Kernel Features->Use EABI),
or, you can use an EABI toolchain such as the ARM/GNU Linux one from
<http://www.codesourcery.com/gnu_toolchains/arm/download.html>.
I recommend the latter, because then you can run Arjan's new images.

将交叉编译工具改成4.4.3神马的就可以了。

   

4、array type has incomplete element type




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值