源码编译过程中遇到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
相关问题
openharmony编译安装hb前遇到问题
5545浏览 • 1回复 待解决
求助:Ubuntu编译w800时遇到问题
4183浏览 • 1回复 待解决
Lite Wearable 开发过程中疑问
8762浏览 • 2回复 待解决
hi3861编译失败原因
8843浏览 • 2回复 待解决
mysql存储过程中处理多条数据
412浏览 • 1回复 待解决
vpp 编译问题有懂吗?
374浏览 • 1回复 待解决
OpenHarmony-2.2-Beta2 编译失败,求助
6806浏览 • 1回复 已解决
编译打包签名怎么管理
377浏览 • 1回复 待解决
openHarmony2.0 hb编译问题
8653浏览 • 5回复 待解决