您的位置:首页 > 产品设计 > UI/UE

openwrt 编译出现错误 quilt_checked Error126解决办法

2018-02-01 15:58 1416 查看
1 ubuntu 版本16.04



2 编译出错 .quilt_checked Error126

原报错界面已滚过头了,借用下面一段提示,与原来的类似

make[4]:***[/home/Alex/openwrt_widora/build_dir/target-mipsel_24kec+dsp_musl-1.1.11/linux-ramips_rt305x/linux-3.18.29/.quilt_checked]Error
126

3 解决方法

分二步

step 1 安装32兼容包

在编译widora时,有在论坛看到有人讲使用Ubuntu16.04(64bit)进行嵌入式开发时,默认情况下无法正常运行32位的交叉编译工具链,因此需要安装额外兼容包。

因此,

sudo apt-get install libc6:i386

sudo apt-get install lib32stdc++6  

sudo apt-get install lib32z1 

顺利安装完成。

step 2 在make menuconfig之前运行“sudo make tools/quilt/install”



输入命令"sudo make tools/quilt/install",会跳出make menuconfig配置界面

之后,再输入“sudo make -j1 V=s”,生成bin文件,完成最终编译。



中间还出现shairport_mmap编译失败

package/Makefile:191: recipe for target 'package/shairport_mmap/compile' failed

运行make menuconfig, sound->shairport_mmap,不选择此功能,这样,才最后编译通过,获得

openwrt-ramips-mt7688-widora-squashfs-sysupgrade.bin

openwrt-ramips-mt7688-widora32M-squashfs-sysupgrade.bin





温馨提示:安装过程中,可能会缺少某些文件包,因为国外的链接某些不能访问,可在http://dl.widora.cc找一下,

下载好再放到dl目录下,继续编译即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Openwrt
相关文章推荐