源码编译过程中遇到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目录下调用 ./configure
上一步完成后再启动编译