tianchaofengzi
一星辰一
2015-10-30 06:41

ndk调用第三方静态链接库

  • android
  • 动态库
  • 静态库

android ndk调用第三方静态链接库(.a文件)在android里面我要调用客户给的一个.a库(另有一个.h的头文件),我用ndk-build命令把它编译成.so的过程中一直出现问题。cmd提示如下,请问怎么解决,详细一点,各位大神,拜托了!
/i_cheng/android-ndk-r7b-windows/android-ndk-r7b/toolchains/arm-linux-androide bi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../. /arm-linux-androideabi/bin/ld.exe: ERROR: ./obj/local/armeabi/libpw.a(make_pw.o uses VFP register arguments, obj/local/armeabi/libshare.so does not :/i_cheng/android-ndk-r7b-windows/android-ndk-r7b/toolchains/arm-linux-androide bi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../. /arm-linux-androideabi/bin/ld.exe: failed to merge target specific data of file ./obj/local/armeabi/libpw.a(make_pw.o) ollect2: ld returned 1 exit status ake: *** [obj/local/armeabi/libshare.so] Error 1

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

0条回答