NDK构建***多个目标模式.停止



我正在尝试在https://github.com/openstf/android-libjpeg-turbo上遵循说明

我已经安装了android-ndk-r10e,并按照该项目如下使用,以通过命令行编译armeabi的Libjpeg-Turbo:

C:android-ndk-r10eandroid-ndk-r10endk-build.cmd APP_ABI=armeabi

但是,我会遇到以下问题,但我不知道如何解决:

C:/android-ndk-r10e/build/core/build-binary.mk:464: *** multiple target patterns.  Stop.

相同的结果是使用 r13b版本的ndk:

C:/android-ndk-r13b/build/core/build-binary.mk:497: *** multiple target patterns.  Stop.

编辑:

ndk-build.cmd APP_ABI=armeabi DUMP_LOCAL_SRC_FILES的结果:

libjpeg-turbo-1.4.1/jcapimin.c libjpeg-turbo-1.4.1/jcapistd.c libjpeg-turbo-1.4.1/jccoefct.c libjpeg-turbo-1.4.1/jccolor.c libjpeg-turbo-1.4.1/jcdctmgr.c libjpeg-turbo-1.4.1/jchuff.c libjpeg-turbo-1.4.1/jcinit.c libjpeg-turbo-1.4.1/jcmainct.c libjpeg-turbo-1.4.1/jcmarker.c libjpeg-turbo-1.4.1/jcmaster.c libjpeg-turbo-1.4.1/jcomapi.c libjpeg-turbo-1.4.1/jcparam.c libjpeg-turbo-1.4.1/jcphuff.c libjpeg-turbo-1.4.1/jcprepct.c libjpeg-turbo-1.4.1/jcsample.c libjpeg-turbo-1.4.1/jctrans.c libjpeg-turbo-1.4.1/jdapimin.c libjpeg-turbo-1.4.1/jdapistd.c libjpeg-turbo-1.4.1/jdatadst.c libjpeg-turbo-1.4.1/jdatasrc.c libjpeg-turbo-1.4.1/jdcoefct.c libjpeg-turbo-1.4.1/jdcolor.c libjpeg-turbo-1.4.1/jddctmgr.c libjpeg-turbo-1.4.1/jdhuff.c libjpeg-turbo-1.4.1/jdinput.c libjpeg-turbo-1.4.1/jdmainct.c libjpeg-turbo-1.4.1/jdmarker.c libjpeg-turbo-1.4.1/jdmaster.c libjpeg-turbo-1.4.1/jdmerge.c libjpeg-turbo-1.4.1/jdphuff.c libjpeg-turbo-1.4.1/jdpostct.c libjpeg-turbo-1.4.1/jdsample.c libjpeg-turbo-1.4.1/jdtrans.c libjpeg-turbo-1.4.1/jerror.c libjpeg-turbo-1.4.1/jfdctflt.c libjpeg-turbo-1.4.1/jfdctfst.c libjpeg-turbo-1.4.1/jfdctint.c libjpeg-turbo-1.4.1/jidctflt.c libjpeg-turbo-1.4.1/jidctfst.c libjpeg-turbo-1.4.1/jidctint.c libjpeg-turbo-1.4.1/jidctred.c libjpeg-turbo-1.4.1/jquant1.c libjpeg-turbo-1.4.1/jquant2.c libjpeg-turbo-1.4.1/jutils.c libjpeg-turbo-1.4.1/jmemmgr.c libjpeg-turbo-1.4.1/jmemnobs.c  libjpeg-turbo-1.4.1/jaricom.c libjpeg-turbo-1.4.1/jcarith.c libjpeg-turbo-1.4.1/jdarith.c  libjpeg-turbo-1.4.1/turbojpeg.c libjpeg-turbo-1.4.1/transupp.c libjpeg-turbo-1.4.1/jdatadst-tj.c libjpeg-turbo-1.4.1/jdatasrc-tj.c

整个问题是在Android.mk的结构中,include $(call all-subdir-makefiles)引用的Android.mk文件的基础。在这种情况下,Android NDK试图多次加载源文件。

纠正汇编后,汇编无济于事。

相关内容

  • 没有找到相关文章

最新更新