源码编译过程中遇到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前遇到问题
3167浏览 • 1回复 待解决
求助:Ubuntu编译w800时遇到问题
2655浏览 • 1回复 待解决
Lite Wearable 开发过程中疑问
5059浏览 • 2回复 待解决
hi3861编译失败原因
5310浏览 • 1回复 待解决
OpenHarmony-2.2-Beta2 编译失败,求助
4184浏览 • 1回复 已解决
Java编译说不是语句
1906浏览 • 2回复 待解决
openHarmony2.0 hb编译问题
5492浏览 • 3回复 待解决
编译OpenHarmony2.0失败,求助一下
5379浏览 • 3回复 已解决
编译hispark, pegasus, hi3861, wifi 代码失败
3382浏览 • 1回复 待解决