Skip to content

Instantly share code, notes, and snippets.

@toantran-ea
Created September 3, 2014 14:02
Show Gist options
  • Save toantran-ea/757b5402050fc6831fc3 to your computer and use it in GitHub Desktop.
Save toantran-ea/757b5402050fc6831fc3 to your computer and use it in GitHub Desktop.
3/9/2014-Compiling error
toans-MacBook-Pro:HologreetingsARAndroid toan$ ~/androiddev/android-ndk-r10/ndk-build clean
/Users/toan/androiddev/android-ndk-r10/build/core/build-binary.mk:449: warning: overriding commands for target `obj/local/armeabi-v7a/objs/ImageTargetsNative/__/__/HologreetingsARLib/src/Android'
/Users/toan/androiddev/android-ndk-r10/build/core/build-binary.mk:449: warning: ignoring old commands for target `obj/local/armeabi-v7a/objs/ImageTargetsNative/__/__/HologreetingsARLib/src/Android'
[armeabi-v7a] Clean : ImageTargetsNative [armeabi-v7a]
[armeabi-v7a] Clean : OpenAL-prebuilt [armeabi-v7a]
[armeabi-v7a] Clean : Vuforia-prebuilt [armeabi-v7a]
[armeabi-v7a] Clean : android_native_app_glue [armeabi-v7a]
[armeabi-v7a] Clean : crypto [armeabi-v7a]
[armeabi-v7a] Clean : curl [armeabi-v7a]
[armeabi-v7a] Clean : gnustl_shared [armeabi-v7a]
[armeabi-v7a] Clean : gnustl_static [armeabi-v7a]
[armeabi-v7a] Clean : gstreamer_android [armeabi-v7a]
[armeabi-v7a] Clean : ssl [armeabi-v7a]
toans-MacBook-Pro:HologreetingsARAndroid toan$ ~/androiddev/android-ndk-r10/ndk-build NDK-DEBUG=1
/Users/toan/androiddev/android-ndk-r10/build/core/build-binary.mk:449: warning: overriding commands for target `obj/local/armeabi-v7a/objs/ImageTargetsNative/__/__/HologreetingsARLib/src/Android'
/Users/toan/androiddev/android-ndk-r10/build/core/build-binary.mk:449: warning: ignoring old commands for target `obj/local/armeabi-v7a/objs/ImageTargetsNative/__/__/HologreetingsARLib/src/Android'
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= HologreetingsARLib.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= main.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= ImageTargets.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= SampleUtils.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= JavaTexture.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= tinyxml2.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= consts.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= ARManager.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= Core.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= DownloadOperation.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= Performance.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= Collection.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= CollectionItem.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= Settings.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= Thread.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= Mutex.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= WaitCondition.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= FileUtils.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= StringUtils.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= MemoryVideoFrame.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= MemoryAudioFrame.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= MediaInput.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= MediaOutput.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= AudioOutputDeviceOAL.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= AudioMixer.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= android_fopen.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= FileUtilsAndroidImpl.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= StatisticsAndroidImpl.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= SettingsHelper_Android.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= MediaInputAndroidImpl.cpp
In file included from /Users/toan/Documents/svn/HologreetingsAR/dependencies/android/GStreamer/include/gstreamer-1.0/gst/gl/gstglmemory.h:29:0,
from jni/../../HologreetingsARLib/src/Android/MediaInputAndroidImpl.cpp:26:
/Users/toan/Documents/svn/HologreetingsAR/dependencies/android/GStreamer/include/gstreamer-1.0/gst/gl/gl.h:25:2: warning: #warning "The GL library from gst-plugins-bad is unstable API and may change in future." [-Wcpp]
#warning "The GL library from gst-plugins-bad is unstable API and may change in future."
^
/Users/toan/Documents/svn/HologreetingsAR/dependencies/android/GStreamer/include/gstreamer-1.0/gst/gl/gl.h:26:2: warning: #warning "You can define GST_USE_UNSTABLE_API to avoid this warning." [-Wcpp]
#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
^
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= MediaOutputAndroidImpl.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= VideoFrameAndroidImpl.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= AudioFrameAndroidImpl.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= AudioInputDeviceAndroidImpl.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= Renderer.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= EffectParams.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= EffectES2.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= EffectParamsES2.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= PixelBufferES2.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= RenderBufferES2.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= RenderFactoryES2.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= RenderTextureES2.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= TextureES2.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= UtilsES2.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= EGLCachedVars.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= RenderContextES2_Android.cpp
[armeabi-v7a] Compile++ arm : ImageTargetsNative <= TextureHelper_Android.cpp
[armeabi-v7a] Prebuilt : libVuforia.so <= jni/../../dependencies/android/vuforia/lib/
[armeabi-v7a] Prebuilt : libopenal.so <= jni/../../dependencies/android/openal/lib/
GStreamer : [GEN] => gst-build-armeabi-v7a/gstreamer_android.c
GStreamer : [COMPILE] => gst-build-armeabi-v7a/gstreamer_android.c
GStreamer : [LINK] => gst-build-armeabi-v7a/libgstreamer_android.so
lto1: fatal error: bytecode stream generated with LTO version 2.2 instead of the expected 3.0
compilation terminated.
lto-wrapper: /Users/toan/androiddev/android-ndk-r10/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc returned 1 exit status
/Users/toan/androiddev/android-ndk-r10/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.gold: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [buildsharedlibrary_armeabi-v7a] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment