源码编译过程中遇到ffmpeg相关的编译失败问题,怎么破?

查看源码目录下/vendor/hisi/hi35xx/middleware/source/third_party/ffmpeg/ffmpeg-y/ffbuild/config.log

主要报错信息如下:

/home/fleetingold/llvm/bin/../bin/clang -mfloat-abi=softfp -mfpu=neon-vfpv4 -fPIC -fstack-protector-all -s -ftrapv -mcpu=cortex-a7 -c -o /tmp/ffconf.rxwaXFqw/test.o /tmp/ffconf.rxwaXFqw/test.c

clang-9: warning: argument unused during compilation: '-mfloat-abi=softfp' [-Wunused-command-line-argument]

clang-9: warning: argument unused during compilation: '-mfpu=neon-vfpv4' [-Wunused-command-line-argument]

clang-9: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]

clang-9: warning: argument unused during compilation: '-mcpu=cortex-a7' [-Wunused-command-line-argument]

/home/fleetingold/llvm/bin/../bin/clang -Wl,-z,relro,-z,now -fPIC -mcpu=cortex-a7 -o /tmp/ffconf.rxwaXFqw/test /tmp/ffconf.rxwaXFqw/test.o

/usr/bin/ld: cannot find crt1.o: No such file or directory

/usr/bin/ld: cannot find crti.o: No such file or directory

clang-9: error: linker command failed with exit code 1 (use -v to see invocation)

C compiler test failed.

怎么破?

附图:

源码编译过程中遇到ffmpeg相关的编译失败问题,怎么破?-鸿蒙开发者社区

HarmonyOS编译
2020-11-19 11:26:47
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
fangwenmahu

截图的错误应该是没有在ffmpeg目录下调用 ./configure

上一步完成后再启动编译

分享
微博
QQ
微信
回复
2020-11-25 11:23:30
相关问题
在HAP编译过程中,本地依赖tgz
376浏览 • 1回复 待解决
编译hvigor.js相关问题
396浏览 • 1回复 待解决
openharmony编译安装hb前遇到问题
6318浏览 • 1回复 待解决
应用内 FFmpeg 开源三方库编译
672浏览 • 1回复 待解决
求助:Ubuntu编译w800时遇到问题
4692浏览 • 1回复 待解决
Lite Wearable 开发过程中疑问
9521浏览 • 2回复 待解决
支持调试本地源码无法编译so
385浏览 • 1回复 待解决
hi3861编译失败原因
9789浏览 • 2回复 待解决
macOS 编译 Paddle-Lite 失败
448浏览 • 1回复 待解决
mysql存储过程中处理多条数据
961浏览 • 1回复 待解决