一、前言
最近进行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移植过程中遇到的makemenuconfig问题及解决方案,详细描述了通过重新编译mconf文件来修复错误的具体步骤。

352


被折叠的 条评论
为什么被折叠?



