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

thd111 2013-07-30 08:10:54
# ./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
...全文
165 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
lengxueshashou 2014-12-26
  • 打赏
  • 举报
回复
你好,我也遇到这个问题了,请问最后解决了吗?

80,362

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧