http://permalink.gmane.org/gmane.comp.video.x264.devel/7088
config.log
会有下面黑体字的报错。
x264 configure script
Command line options: "--build=i686-pc-linux" "--host=arm-linux" "--target=arm-linux" "--enable-static" "--enable-pthread"
checking whether /home/zhangbin/Documents/opt/toolschain/4.5.1/bin/arm-linux-gcc works... yes
checking for -std=gnu99... yes
checking whether /home/zhangbin/Documents/opt/toolschain/4.5.1/bin/arm-linux-gcc supports __asm__("rev ip, ip");... yes
checking whether /home/zhangbin/Documents/opt/toolschain/4.5.1/bin/arm-linux-gcc supports __asm__("movt r0, #0");... yes
checking whether /home/zhangbin/Documents/opt/toolschain/4.5.1/bin/arm-linux-gcc supports __asm__("vadd.i16 q0, q0, q0");... yes
checking for pthread.h... yes
checking for return log2f(2); in math.h... yes
checking for sws_getContext(0,0,0,0,0,0,0,0,0,0); in libswscale/swscale.h... no
Failed commandline was:
--------------------------------------------------
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/arm-linux-gcc conftest.c -I/mnt/SD/include -Wall -I. -std=gnu99 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -I/usr/local/include -L/usr/local/lib -lswscale -L/mnt/SD/lib -lm -lpthread -o conftest
conftest.c: In function 'main':
conftest.c:2:1: warning: 'sws_getContext' is deprecated (declared at /usr/local/include/libswscale/swscale.h:191)
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libswscale.so when searching for -lswscale
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libswscale.a when searching for -lswscale
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lswscale
collect2: ld returned 1 exit status
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include <libswscale/swscale.h>
int main () { sws_getContext(0,0,0,0,0,0,0,0,0,0); return 0; }
--------------------------------------------------
checking for avcodec_decode_video2(0,0,0,0); in libavformat/avformat.h... no
Failed commandline was:
--------------------------------------------------
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/arm-linux-gcc conftest.c -I/mnt/SD/include -Wall -I. -std=gnu99 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -I/usr/local/include -L. -L/usr/local/lib -lavformat -lavcodec -lavutil -lswscale -L/mnt/SD/lib -lm -lpthread -o conftest
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libavformat.so when searching for -lavformat
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libavformat.a when searching for -lavformat
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lavformat
collect2: ld returned 1 exit status
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include <libavformat/avformat.h>
int main () { avcodec_decode_video2(0,0,0,0); return 0; }
--------------------------------------------------
checking for FFMS_DestroyVideoSource(0); in ffms.h... no
Failed commandline was:
--------------------------------------------------
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/arm-linux-gcc conftest.c -I/mnt/SD/include -Wall -I. -std=gnu99 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -lffms2 -L/mnt/SD/lib -lm -lpthread -o conftest
conftest.c:1:18: fatal error: ffms.h: No such file or directory
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include <ffms.h>
int main () { FFMS_DestroyVideoSource(0); return 0; }
--------------------------------------------------
checking for FFMS_DestroyVideoSource(0); in ffms.h... no
Failed commandline was:
--------------------------------------------------
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/arm-linux-gcc conftest.c -I/mnt/SD/include -Wall -I. -std=gnu99 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -lffms2 -lstdc++ -L. -L/usr/local/lib -lavformat -lavcodec -lavutil -lswscale -L/mnt/SD/lib -lm -lpthread -o conftest
conftest.c:1:18: fatal error: ffms.h: No such file or directory
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include <ffms.h>
int main () { FFMS_DestroyVideoSource(0); return 0; }
--------------------------------------------------
checking for gpac/isomedia.h... no
Failed commandline was:
--------------------------------------------------
/home/zhangbin/Documents/opt/toolschain/4.5.1/bin/arm-linux-gcc conftest.c -I/mnt/SD/include -Wall -I. -std=gnu99 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -lgpac_static -L/mnt/SD/lib -lm -lpthread -o conftest
conftest.c:1:27: fatal error: gpac/isomedia.h: No such file or directory
compilation terminated.
--------------------------------------------------
Failed program was:
--------------------------------------------------
#include <gpac/isomedia.h>
int main () { return 0; }
--------------------------------------------------
checking for -fno-tree-vectorize... yes
checking for fseeko(stdin,0,0); in stdio.h... yes
checking for -Wshadow... yes
Platform: ARM
System: LINUX
asm: yes
avs: no
lavf: no
ffms: no
gpac: no
gpl: yes
thread: posix
filters: crop select_every
debug: no
gprof: no
PIC: no
shared: no
visualize: no
bit depth: 8