找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1244|回复: 9

用docker中的ubuntu18编译openwrt出现这个错误怎么解决

[复制链接]
    tar -xf - -C /home/op/lede/build_dir/target-mipsel_24kc_musl/openwrt-sdk-ramips-mt7621_gcc-8.4.0_musl.Linux-x86_64
find: 'build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.101/firmware/Makefile': No such file or directory
tar: staging_dir/host/bin: Directory renamed before its status could be extracted
tar: Exiting with failure status due to previous errors
Makefile:85: recipe for target '/home/op/lede/bin/targets/ramips/mt7621/openwrt-sdk-ramips-mt7621_gcc-8.4.0_musl.Linux-x86_64.tar.xz' failed
make[3]: *** [/home/op/lede/bin/targets/ramips/mt7621/openwrt-sdk-ramips-mt7621_gcc-8.4.0_musl.Linux-x86_64.tar.xz] Error 2
make[3]: Leaving directory '/home/op/lede/target/sdk'
time: target/sdk/install#2.36#9.36#104.95
target/Makefile:23: recipe for target 'target/sdk/install' failed
make[2]: *** [target/sdk/install] Error 2
make[2]: Leaving directory '/home/op/lede'
target/Makefile:19: recipe for target '/home/op/lede/staging_dir/target-mipsel_24kc_musl/stamp/.target_install' failed
make[1]: *** [/home/op/lede/staging_dir/target-mipsel_24kc_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/op/lede'
/home/op/lede/include/toplevel.mk:222: recipe for target 'world' failed
make: *** [world] Error 2


我的恩山、我的无线 The best wifi forum is right here.
少文件,要么是没违禁词语要么是开启了并发编译
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

有没有执行make download?

点评

make download是下载dl文件的吧,我发现是build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.101/firmware/Makefile路径里少了firmware/Makefile  详情 回复 发表于 2021-3-11 21:20
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

要么就是下载没成功

点评

下载源码不成功?我看了一下是build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.101/firmware/Makefile路径里的firmware/Makefile没有,  详情 回复 发表于 2021-3-11 21:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
dhdgves 发表于 2021-3-11 19:34
要么就是下载没成功

下载源码不成功?我看了一下是build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.101/firmware/Makefile路径里的firmware/Makefile没有,
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
dhdgves 发表于 2021-3-11 19:34
有没有执行make download?

make download是下载dl文件的吧,我发现是build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.101/firmware/Makefile路径里少了firmware/Makefile
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

725216 发表于 2021-3-11 21:20
make download是下载dl文件的吧,我发现是build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux- ...

按我的经验,这种情况就是下载的文件有缺失。不是源码不完整。openwrt源码里面,很多东西虽然能选但是需要下载(很多东西甚至是ftp下载,很难成功),就是要求执行make download V=s命令,不然就是这种确实状况。你看到Makefile少了,十有八九是dl库没到位。

点评

之前已经运行了make download  详情 回复 发表于 2021-3-12 08:33
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
dhdgves 发表于 2021-3-11 23:42
按我的经验,这种情况就是下载的文件有缺失。不是源码不完整。openwrt源码里面,很多东西虽然能选但是需 ...

之前已经运行了make download
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

725216 发表于 2021-3-12 08:33
之前已经运行了make download

重下源码吧,十有八九能解决。我编译7612的时候没遇到这个问题。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

make download下载不是必需的,不过编译过程全局那啥上网是必需的。你这问题百分百是下载不完全。



                                           
    芝士就是力量,法国就是培根!
      
    我的恩山、我的无线 The best wifi forum is right here.
    回复

    使用道具 举报

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

    本版积分规则

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

    GMT+8, 2024-4-28 04:32

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

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

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