求助: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
...全文
233 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
lengxueshashou 2014-12-26
  • 打赏
  • 举报
回复
你好,我也遇到这个问题了,请问最后解决了吗?
内容概要:本文围绕“基于虚拟同步发电机的多逆变器并联改进控制策略”展开,系统研究了微电网环境下多逆变器系统的协同运行与控制问题。重点内容包括虚拟同步发电机(VSG)技术在双机并联系统中的应用,实现有功与无功功率的精确分配(均分或按比例)、微电网黑启动控制、虚拟阻抗的引入以有效抑制环流,以及预同步并网控制策略的设计与实现。文中依托MATLAB/Simulink平台构建了详细的仿真模型,对所提出的各项控制策略进行了全面的仿真验证,确保系统在负载突变、并网/离网切换等动态工况下具备优异的稳定性、动态响应特性和功率均分精度。此外,文档还列举了大量相关的电力系统科研方向与可复现课题,如储能系统优化、无功补偿、配电网重构、智能优化算法应用等,充分体现了MATLAB/Simulink在现代电力电子与新能源并网技术科研中的核心支撑作用。; 适合人群:具备电力电子技术、自动控制原理及微电网基础知识,从事电气工程、新能源发电、智能电网等领域的研究生、科研人员及工程技术人员。; 使用场景及目标:①深入掌握虚拟同步发电机(VSG)在多逆变器并联系统中的功率分配、惯量支撑与一次调频调压机制;②学习并实践微电网黑启动、环流抑制、预同步控制等关键环节的仿真建模与控制算法设计;③借助文中丰富的科研案例与仿真资源,开展高水平学术论文的复现工作或进行创新性课题的研究与开发; 阅读建议:建议结合文中提及的Simulink仿真模型与网盘提供的完整资源,坚持理论学习与动手实践相结合,重点关注控制策略的设计思路、模块化搭建方法及仿真参数的整定过程,同时关注公众号“荔枝科研社”以获取持续的技术支持与资料更新。

80,490

社区成员

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

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