youtube / yt-watchme

340 stars 134 forks source link

NDK Compile error #59

Open nomi2013 opened 7 years ago

nomi2013 commented 7 years ago

External Native Build Issues Build command failed. Error while executing process /Users/nomankhan/Library/Android/sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Clients/9910/MainActivity1/app/src/main/jni/Android.mk NDK_APPLICATION_MK=/Clients/9910/MainActivity1/app/src/main/jni/Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=/Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n} Android NDK: WARNING:/Clients/9910/MainActivity1/app/src/main/jni/Android.mk:ffmpeg: non-system libraries in linker flags: /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavformat.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavcodec.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavfilter.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavresample.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libswscale.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavutil.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libx264.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libpostproc.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libswresample.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libfdk-aac.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
rm -f /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/* rm -f /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdbserver rm -f /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdb.setup mkdir -p /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a echo [armeabi-v7a] "Gdbserver ": "[arm-linux-androideabi] /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdbserver" install -p /Users/nomankhan/Library/Android/sdk/ndk-bundle/prebuilt/android-arm/gdbserver/gdbserver /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdbserver echo [armeabi-v7a] "Gdbsetup ": "/Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdb.setup" echo "set solib-search-path /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debmake: u* No rule to make target /Clients/9910/MaginActivity1/app/s/rc/main/jni/../third_party/lame/libmp3lame/VbrTag.c', needed by/Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/deboug/obj/local/armeabi-v7a/objs/lame/VbbrTag.o'. Stop. j/local/armeabi-v7a" > /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdb.setup echo "directory /Users/nomankhan/Library/Android/sdk/ndk-bundle/sysroot /Clients/9910/MainActivity1/app/src/main/jni/libavcodec /Clients/9910/MainActivity1/app/src/main/jni/libavcodec/arm /Clients/9910/MainActivity1/app/src/main/jni/libavformat /Clients/9910/MainActivity1/app/src/main/jni/libavutil /Clients/9910/MainActivity1/app/src/main/jni/libavutil/arm /Users/nomankhan/Library/Android/sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++ /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lame/libmp3lame /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lame/include" >> /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdb.setup mkdir -p /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs/ffmpeg echo [armeabi-v7a] "Compile thumb ": "ffmpeg <= ffmpeg-jni.c" /Users/nomankhan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -MMD -MP -MF /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs/ffmpeg/ffmpeg-jni.o.d -gcc-toolchain /Users/nomankhan/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64 -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as -g -target armv7-none-linux-androideabi14 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -DNDEBUG -I/Clients/9910/MainActivity1/app/src/main/jni/libavcodec -I/Clients/9910/MainActivity1/app/src/main/jni/libavcodec/arm -I/Clients/9910/MainActivity1/app/src/main/jni/libavformat -I/Clients/9910/MainActivity1/app/src/main/jni/libavutil -I/Clients/9910/MainActivity1/app/src/main/jni/libavutil/arm -I/Clients/9910/MainActivity1/app/src/main/jni -DANDROID -DHAVE_AV_CONFIG_H -std=c99 -DSTDC_CONSTANT_MACROS -DSTDC_HEADERS -Wno-deprecated-declarations -D__ANDROID_API=14 -Wa,--noexecstack -Wformat -Werror=format-security --sysroot /Users/nomankhan/Library/Android/sdk/ndk-bundle/sysroot -isystem /Users/nomankhan/Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi -c /Clients/9910/MainActivity1/app/src/main/jni/ffmpeg-jni.c -o /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs/ffmpeg/ffmpeg-jni.o mkdir -p /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a Build command failed. Error while executing process /Users/nomankhan/Library/Android/sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Clients/9910/MainActivity1/app/src/main/jni/Android.mk NDK_APPLICATION_MK=/Clients/9910/MainActivity1/app/src/main/jni/Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=0 APP_PLATFORM=android-14 NDK_OUT=/Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/release/lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n} Android NDK: WARNING:/Clients/9910/MainActivity1/app/src/main/jni/Android.mk:ffmpeg: non-system libraries in linker flags: /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavformat.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavcodec.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavfilter.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavresample.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libswscale.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libavutil.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libx264.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libpostproc.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libswresample.a /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lib/libfdk-aac.a
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
rm -f /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/release/lib/armeabi-v7a/ rm -f /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/release/lib/armeabi-v7a/gdbserver rm -f /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/release/lib/armeabi-v7a/gdb.setup mkdir -p /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/objs/ffmpeg echo [armeabi-v7a] "Compile thumb ": "ffmpeg <= ffmpeg-jni.c" /Users/nomankhan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -MMD -MP -MF /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/objs/ffmpeg/ffmpeg-jni.o.d -gcc-toolchain /Users/nomankhan/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64 -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-armake:
No rule to make target /Clients/9910/MainActivity1/app/src/main/jni/../third_party/lame/libmp3lame/VbrTag.c', needed bgy/Clients/9910/MainActivity1/app/build/inteumenrmtedi ates/-ndkBuild/release/obj/local/armeabi-v7a/objs/lame/VbrTag.o'. Stop. Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as -g -target armv7-none-linux-androideabi14 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -DNDEBUG -I/Clients/9910/MainActivity1/app/src/main/jni/libavcodec -I/Clients/9910/MainActivity1/app/src/main/jni/libavcodec/arm -I/Clients/9910/MainActivity1/app/src/main/jni/libavformat -I/Clients/9910/MainActivity1/app/src/main/jni/libavutil -I/Clients/9910/MainActivity1/app/src/main/jni/libavutil/arm -I/Clients/9910/MainActivity1/app/src/main/jni -DANDROID -DHAVE_AV_CONFIG_H -std=c99 -DSTDC_CONSTANT_MACROS -DSTDC_HEADERS -Wno-deprecated-declarations -D__ANDROID_API=14 -Wa,--noexecstack -Wformat -Werror=format-security --sysroot /Users/nomankhan/Library/Android/sdk/ndk-bundle/sysroot -isystem /Users/nomankhan/Library/Android/sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi -c /Clients/9910/MainActivity1/app/src/main/jni/ffmpeg-jni.c -o /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/objs/ffmpeg/ffmpeg-jni.o mkdir -p /Clients/9910/MainActivity1/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a