当前位置:编程学习 > wap >>

求助:ndk编译libvpx-v1.1.0.tar.bz2错误

# ./configure --target=armv7-linux-gcc --enable-runtime-cpu-detect --disable-install-bins --disable-install-srcs --disable-install-libs --disable-install-docs --disable-examples --disable-vp8-decoder --enable-pic

add_asflags --defsym ARCHITECTURE=7
check_cflags -mfpu=neon
check_cc -mfpu=neon
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
add_asflags -mfpu=neon
check_cflags -march=armv7-a -mcpu=cortex-a8
check_cc -march=armv7-a -mcpu=cortex-a8
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
add_asflags -mcpu=cortex-a8
check_cflags -O3
check_cc -O3
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -c -o /tmp/vpx-conf-
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -D_FORTIFY_SOURCE=0
check_cc -D_FORTIFY_SOURCE=0
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cc
BEGIN /tmp/vpx-conf-1205-16290.c
    1     unsigned int e = 'O'<<24 | '2'<<16 | 'B'<<8 | 'E';
END /tmp/vpx-conf-1205-16290.c

check_cpp
BEGIN /tmp/vpx-conf-1205-16290.c
    1 #include "unistd.h"
    2 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -E -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
/tmp/vpx-conf-1205-16290.c:1:20: fatal error: unistd.h: No such file or directory
compilation terminated.
check_cflags -Wall
check_cc -Wall
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wdeclaration-after-statement
check_cc -Wdeclaration-after-statement
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wdisabled-optimization
check_cc -Wdisabled-optimization
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wpointer-arith
check_cc -Wpointer-arith
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wtype-limits
check_cc -Wtype-limits
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wcast-qual
check_cc -Wcast-qual
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wimplicit-function-declaration
check_cc -Wimplicit-function-declaration
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wuninitialized
check_cc -Wuninitialized
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wunused-variable
check_cc -Wunused-variable
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wunused-but-set-variable
check_cc -Wunused-but-set-variable
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -Wno-unused-function
check_cc -Wno-unused-function
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -Wno-unused-function -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_cflags -I/home/tanhd/work/android-ndk-r8e/platforms/android-14/arch-arm/usr/include
check_cc -I/home/tanhd/work/android-ndk-r8e/platforms/android-14/arch-arm/usr/include
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -Wno-unused-function -I/home/tanhd/work/android-ndk-r8e/platforms/android-14/arch-arm/usr/include -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_header stdio.h
check_cpp
BEGIN /tmp/vpx-conf-1205-16290.c
    1 #include "stdio.h"
    2 int x;
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -Wno-unused-function -I/home/tanhd/work/android-ndk-r8e/platforms/android-14/arch-arm/usr/include -E -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
check_ld
check_cc
BEGIN /tmp/vpx-conf-1205-16290.c
    1 int main(void) {return 0;}
END /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -mfpu=neon -march=armv7-a -mcpu=cortex-a8 -O3 -fPIC -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -Wno-unused-function -I/home/tanhd/work/android-ndk-r8e/platforms/android-14/arch-arm/usr/include -c -o /tmp/vpx-conf-1205-9815.o /tmp/vpx-conf-1205-16290.c
arm-linux-androideabi-gcc -o /tmp/vpx-conf-1205-16432.x /tmp/vpx-conf-1205-9815.o
/home/tanhd/work/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory
/home/tanhd/work/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory
/home/tanhd/work/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/tanhd/work/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
collect2: error: ld returned 1 exit status
Android NDK libvpx vlc-android
补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,