项目场景:
libx264,交叉编译,安装步骤网上都能搜得到(解压,配置,编译),问题出现在make编译时,会报“v4si”的错误,在网上搜索到的结果,都不太明确如何解决,今天遇到了顺便写一下解决方法:
问题描述
直接看报错信息:
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -fPIC -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden -c filters/video/cache.c -o filters/video/cache-8.o -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
In file included from ./common/common.h:811:0,
from filters/video/cache.c:28:
./common/rectangle.h: In function ‘x264_macroblock_cache_rect’