编译FFMpeg android时找不到-lcompiler_rt-extras

问题描述

您好,我正在使用 FFMpeg 3.2 编译一些旧代码,但此处出现错误

arm-linux-androideabi-gcc -O3 -Wall -mthumb -pipe -fpic -fasm -finline-limit=300 -ffast-math -fstrict-aliasing -Werror=strict-aliasing -fmodulo-sched -fmodulo-sched-allow-regmoves -Wno-psabi -Wa,--noexecstack -DANDROID -DNDEBUG -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mvectorize-with-neon-quad -D__ANDROID_API__=21 -march=armv7-a -c -o /tmp/ffconf.uLklbXJC/test.o /tmp/ffconf.uLklbXJC/test.c
arm-linux-androideabi-gcc -Wl,--fix-cortex-a8 -lcompiler_rt-extras -D__ANDROID_API__=21 -march=armv7-a -o /tmp/ffconf.uLklbXJC/test /tmp/ffconf.uLklbXJC/test.o
/home/xxx/Downloads/xx/jni/toolchain/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcompiler_rt-extras
collect2: error: ld returned 1 exit status
C compiler test Failed.

我已经完成了

 sudo apt-get install build-essential
[sudo] password for xx: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
0 upgraded,0 newly installed,0 to remove and 99 not upgraded.

试图链接的 compiler_rt-extras 是什么?它过去编译得很好,所以我不确定缺少什么设置。 Ubuntu 16,ndk 16b。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...