编译过程中遇到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.
怎么破?
问题如果贴到问答区,可以吸引更多的愿意回答问题的回复。