【开发环境】 uClinux内核编译问题<config/kconfig/mconf: cannot execute binary file>问题解决方法...

本文记录了在uClinux移植过程中遇到的makemenuconfig问题及解决方案,详细描述了通过重新编译mconf文件来修复错误的具体步骤。
AI助手已提取文章相关产品:

一、前言

  最近进行uClinux移植,make menuconfig时碰到如下问题:

[hello@localhost uClinux-dist]$ make menuconfig
find vendors -mindepth 2 '(' -name .svn -prune ')' -o -type f -name Kconfig -print | sed 's:^:source ../:' > vendors/Kconfig
config/mkconfig > Kconfig
KCONFIG_NOTIMESTAMP=1 /home/hello/Desktop/nios2-linux/uClinux-dist/config/kconfig/mconf Kconfig
/bin/sh: /home/hello/Desktop/nios2-linux/uClinux-dist/config/kconfig/mconf: cannot execute binary file
make: *** [menuconfig] Error 126

 

二、解决

  参考<http://www.alteraforum.com/forum/archive/index.php/t-38370.html> 文中提到的将mconf重新编译可解决问题,但文中未提及如何重新编译。

  

  现补充如下:

[hello@localhost kconfig]$ cd /home/hello/Desktop/nios2-linux/uClinux-dist/config/kconfig
[hello@localhost kconfig]$ ls
[hello@localhost kconfig]$ make clean
[hello@localhost kconfig]$ make all

  

  然后重新make menuconfig即可。

 

转载于:https://www.cnblogs.com/digital-wei/p/6399445.html

您可能感兴趣的与本文相关内容

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值