GNOME Bugzilla – Bug 797237
Undefined reference to 'soundtouch::BPMDetect::inputSamples(short const*, int) generating libgstreamer_android.so with 1.14.3
Last modified: 2018-11-03 10:24:53 UTC
I am trying to generate the binaries bundle for Android with 1.14.3 downloaded from https://gstreamer.freedesktop.org/data/pkg/android/1.14.3/ and I am getting this error when running ndk-build: GStreamer : [GEN] => gst-build-armeabi/gstreamer_android.c GStreamer : [COMPILE] => gst-build-armeabi/gstreamer_android.c GStreamer : [LINK] => gst-build-armeabi/libgstreamer_android.so Done mkdir Done cp [armeabi] Prebuilt : libgstreamer_android.so <= gst-build-armeabi/ Done rm [armeabi] Install : libgstreamer_android.so => libs/armeabi/libgstreamer_android.so [armeabi] SharedLibrary : libgstreamer_for_android.so [armeabi] Install : libgstreamer_for_android.so => libs/armeabi/libgstreamer_for_android.so 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 gstbpmdetect.cc:237: error: undefined reference to 'soundtouch::BPMDetect::inputSamples(short const*, int)' gstbpmdetect.cc:249: error: undefined reference to 'soundtouch::BPMDetect::inputSamples(short const*, int)' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [buildsharedlibrary_armeabi-v7a] Error 1
What NDK version are you targetting? Currently NDK r18 is not supported by GStreamer 1.14 so you'll need to use either r16 or r17. The r18 update is still a WIP.
I am trying with r16b
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/76.