找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1333|回复: 7

学习编译OPENWRT固件老是卡在ffmpeg,求助如何解决

[复制链接]
发表于 2021-10-13 18:32 | 显示全部楼层 |阅读模式
我是尝试编译B70的OPENWRT固件,老是卡在ffmpeg,去github 找原因,因为小白,看得云里雾里,该怎么解决呢?有大佬支下招么?
我看了make menuconfig的选项,也没有选中ffmpeg,也不知是选了啥插件需要这个ffmpeg..

这是云编译的错误提示,我同时本地也编译,出错提示是一样的。
2021-10-13T09:57:45.6684925Z /workdir/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/lib/gcc/mipsel-openwrt-linux-musl/8.4.0/../../../../mipsel-openwrt-linux-musl/bin/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8'
2021-10-13T09:57:45.6689863Z /workdir/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/lib/gcc/mipsel-openwrt-linux-musl/8.4.0/../../../../mipsel-openwrt-linux-musl/bin/ld: libavformat/libavformat.so: undefined reference to `__atomic_store_8'
2021-10-13T09:57:45.6693293Z /workdir/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/lib/gcc/mipsel-openwrt-linux-musl/8.4.0/../../../../mipsel-openwrt-linux-musl/bin/ld: libavformat/libavformat.so: undefined reference to `__atomic_load_8'
2021-10-13T09:57:45.6695722Z /workdir/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/lib/gcc/mipsel-openwrt-linux-musl/8.4.0/../../../../mipsel-openwrt-linux-musl/bin/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_add_8'
2021-10-13T09:57:45.6697390Z collect2: error: ld returned 1 exit status
2021-10-13T09:57:45.6698054Z make[4]: *** [Makefile:124: ffmpeg_g] Error 1
2021-10-13T09:57:45.6702903Z make[4]: Leaving directory '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-full/ffmpeg-4.4'
2021-10-13T09:57:45.6718892Z make[3]: *** [Makefile:751: /workdir/openwrt/build_dir/target-mipsel_24kc_musl/ffmpeg-full/ffmpeg-4.4/.built] Error 2
2021-10-13T09:57:45.6721696Z make[3]: Leaving directory '/workdir/openwrt/feeds/packages/multimedia/ffmpeg'
2021-10-13T09:57:45.6723296Z time: package/feeds/packages/ffmpeg/full/compile#0.60#0.13#0.76
2021-10-13T09:57:45.6735398Z     ERROR: package/feeds/packages/ffmpeg failed to build (build variant: full).
2021-10-13T09:57:45.6738147Z make[2]: *** [package/Makefile:116: package/feeds/packages/ffmpeg/compile] Error 1
2021-10-13T09:57:45.6750003Z make[2]: Leaving directory '/workdir/openwrt'
2021-10-13T09:57:45.6788973Z make[1]: *** [package/Makefile:110: /workdir/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
2021-10-13T09:57:45.6791779Z make[1]: Leaving directory '/workdir/openwrt'
2021-10-13T09:57:45.6805908Z make: *** [/workdir/openwrt/include/toplevel.mk:230: world] Error 2
2021-10-13T09:57:45.7010050Z ##[error]Process completed with exit code 2.


我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-10-13 18:47 | 显示全部楼层
单线程编译看错误代码。

点评

单线程看了基本是一样的错误提示,我看了大概的意思是ffmpeg的makefile文件有问题,编译通不过。但打开ffmpeg makefile文件看到内容太复杂了,无从下手。  详情 回复 发表于 2021-10-13 18:58
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-10-13 18:58 | 显示全部楼层
shmily103 发表于 2021-10-13 18:47
单线程编译看错误代码。

单线程看了基本是一样的错误提示,我看了大概的意思是ffmpeg的makefile文件有问题,编译通不过。但打开ffmpeg makefile文件看到内容太复杂了,无从下手。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-29 18:24 | 显示全部楼层
请问楼主这个问题解决了么?我也是在编译的时候遇到这个问题,不知道怎么解决,请问你解决了么?

点评

现在貌似没这问题,我也不知道是怎么回事。估计源码修改了。 我用的windows下的linux子系统编译的版本unbuntu20.4,LEAN的源码  详情 回复 发表于 2021-11-30 11:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-11-30 11:30 | 显示全部楼层
PhantasyAngel 发表于 2021-11-29 18:24
请问楼主这个问题解决了么?我也是在编译的时候遇到这个问题,不知道怎么解决,请问你解决了么?

现在貌似没这问题,我也不知道是怎么回事。估计源码修改了。
我用的windows下的linux子系统编译的版本unbuntu20.4,LEAN的源码

点评

我刚才编译都报错呢 可以将你这个文件夹下的文件发一份给我么?谢谢 路径:\lede\feeds\packages\multimedia\ffmpeg  详情 回复 发表于 2021-11-30 15:28
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-30 15:28 | 显示全部楼层
校友(梨) 发表于 2021-11-30 11:30
现在貌似没这问题,我也不知道是怎么回事。估计源码修改了。
我用的windows下的linux子系统编译的版本un ...

我刚才编译都报错呢

可以将你这个文件夹下的文件发一份给我么?谢谢
路径:\lede\feeds\packages\multimedia\ffmpeg

点评

。。。。。。。  详情 回复 发表于 2021-11-30 15:58
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-11-30 15:58 | 显示全部楼层
PhantasyAngel 发表于 2021-11-30 15:28
我刚才编译都报错呢

可以将你这个文件夹下的文件发一份给我么?谢谢

。。。。。。。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

我今天吧我去年编译时候保留下来的ffmpeg文件替换掉这次自动生成的这个文件就不报错了,但是去年的那个版本是3.4.1,这次这个是4.4,我感觉确实是他源码有问题 非常感谢  详情 回复 发表于 2021-11-30 23:37
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-30 23:37 | 显示全部楼层

我今天吧我去年编译时候保留下来的ffmpeg文件替换掉这次自动生成的这个文件就不报错了,但是去年的那个版本是3.4.1,这次这个是4.4,我感觉确实是他源码有问题

非常感谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-24 21:28

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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