首页 > 系统服务 > 详细

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

时间:2017-02-15 00:09:12      阅读:216      评论:0      收藏:0      [点我收藏+]

一、前言

  最近进行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即可。

 

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

原文:http://www.cnblogs.com/digital-wei/p/6399445.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!