找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 11638|回复: 29

老毛子Padavan有没有完整的编译教程

[复制链接]
本帖最后由 kokuty 于 2016-12-5 12:36 编辑

老毛子Padavan有没有完整的编译教程,有的话可不可共享一下,按照官方的步骤编不了,不知道那个地方出错了
是不是那个地方的环境没有搭好,我编译openwrt都没有出错,编译老毛子就有问题,有没有大侠帮忙

编译报错如下:
--------------------------COPY-CONFIG-----------------------------
--------------------------MAKE-DEP--------------------------------
make: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc:命令未找到
make ARCH=mips CROSS_COMPILE=/opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc- -C linux-3.4.x prepare
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
make[1]: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc:命令未找到
make[1]: 正在进入目录 `/home/fig/opt/rt-n56u/trunk/linux-3.4.x'
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found

s_xz-4.0
make[2]:正在离开目录 `/home/fig/opt/rt-n56u/trunk/tools/mksquash_xz-4.0'
make[1]:正在离开目录 `/home/fig/opt/rt-n56u/trunk/tools'
make ARCH=mips CROSS_COMPILE=/opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc- -j4 -C linux-3.4.x  || exit 1
make: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc:命令未找到
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
make[1]: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc:命令未找到
make[1]: 正在进入目录 `/home/fig/opt/rt-n56u/trunk/linux-3.4.x'
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      scripts/mod/empty.o
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
make[3]: *** [scripts/mod/empty.o] 错误 127
make[3]: *** 正在等待未完成的任务....
  HOSTCC  scripts/mod/mk_elfconfig
  CC      kernel/bounds.s
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
make[2]: *** [kernel/bounds.s] 错误 127
make[1]: *** [prepare0] 错误 2
make[1]: *** 正在等待未完成的任务....
make[2]: *** [scripts/mod] 错误 2
make[1]: *** [scripts] 错误 2
make[1]:正在离开目录 `/home/fig/opt/rt-n56u/trunk/linux-3.4.x'
make: *** [linux] 错误 1

apt-get install autopoint然后再重新编译
回复

使用道具 举报

自编译Padavan,适配斐讯K2教程
http://eryige.com/forum.php?mod= ... d=231&fromuid=2
(出处: 二一个)
步骤 1 » 安装准备环境
这里我比别人多加了一个工具autopoint,因为我不安装他会编译失败
参考链接:firmware create error
sudo apt-get install git autopoint autoconf automake bison build-essential flex gawk gettext gperf libtool pkg-config zlib1g-dev libgmp3-dev libmpc-dev libmpfr-dev texinfo python-docutils mc
回复

使用道具 举报

 楼主| | 显示全部楼层
yzy9952 发表于 2016-12-5 08:32
自编译Padavan,适配斐讯K2教程
http://eryige.com/forum.php?mod=viewthread&tid=231&fromuid=2
(出处:  ...

一编译就报错,找不到make: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc:命令未找到
fig@ubuntu:~/opt/rt-n56u/trunk$ sudo ./build_firmware
--------------------------COPY-CONFIG-----------------------------
--------------------------MAKE-DEP--------------------------------
make: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc:命令未找到
make ARCH=mips CROSS_COMPILE=/opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc- -C linux-3.4.x prepare
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
make[1]: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc:命令未找到
make[1]: 正在进入目录 `/home/fig/opt/rt-n56u/trunk/linux-3.4.x'
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
/bin/sh: 1: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc: not found
回复

使用道具 举报

 楼主| | 显示全部楼层
有没有人帮忙分析一下
回复

使用道具 举报

kokuty 发表于 2016-12-5 15:51
有没有人帮忙分析一下

toolchain 重新编译一下
回复

使用道具 举报

楼主都不看教程吗?先编译toolchain
回复

使用道具 举报

帮顶绑定
回复

使用道具 举报

交叉编译工具链都没编译好  编好工具链 放在对应目录 如果需要自定义目录请修改脚本里的目录链接
回复

使用道具 举报

 楼主| | 显示全部楼层
S沁雨寒S_风雪 发表于 2016-12-6 16:36
交叉编译工具链都没编译好  编好工具链 放在对应目录 如果需要自定义目录请修改脚本里的目录链接

我查了目录下都有相应的代码,就是编的时候找不到
回复

使用道具 举报

 楼主| | 显示全部楼层
血洗刀锋 发表于 2016-12-5 17:17
楼主都不看教程吗?先编译toolchain

我全按教程来编的
回复

使用道具 举报

本帖最后由 ladeng2015 于 2018-3-5 15:35 编辑

有,看这里,https://hqidi.com/12.html
回复

使用道具 举报

 楼主| | 显示全部楼层
ladeng2015 发表于 2016-12-8 11:39
有,看这里,http://hqidi.com/631.html

我都按这些教程来编的,目前还是编不过去,不知道有没有大侠支招
回复

使用道具 举报

kokuty 发表于 2016-12-9 10:08
我都按这些教程来编的,目前还是编不过去,不知道有没有大侠支招

留个Q , 我给你看看
回复

使用道具 举报

 楼主| | 显示全部楼层
ladeng2015 发表于 2016-12-9 13:27
留个Q , 我给你看看

这是我的QQ:2942240487
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-15 10:15

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表