GStreamer-Android-example: linkage error: undefined reference to 'bsd_signal'
Yevgen Voronetskyy
voronetskyy at gmail.com
Wed Jun 1 18:52:44 UTC 2016
Hi everyone,
I’m trying to build the android app from git at github.com:jaroslavas/Gstreamer-Android-example.git
I have modified local.properties to point to valid locations,
and my Android.mk file contains
—
sdk.dir=/Users/admin/Library/Android/sdk
ndk.dir=/Applications/android-ndk-r11c/
—
When running the build though gradle in AndroidStudio, I have the following error:
—
20:29:34.273 [QUIET] [system.out] GStreamer : [COMPILE] => gst-build-armeabi/gstreamer_android.c
20:29:34.468 [QUIET] [system.out] GStreamer : [LINK] => gst-build-armeabi/libgstreamer_android.so
20:29:45.958 [ERROR] [system.err] /home/slomo/cerbero/android-ndk-r11/platforms/android-9/arch-arm/usr/include/signal.h:113: error: undefined reference to 'bsd_signal'
20:29:45.959 [ERROR] [system.err] /home/slomo/cerbero/android-ndk-r11/platforms/android-9/arch-arm/usr/include/signal.h:113: error: undefined reference to 'bsd_signal'
20:29:45.959 [ERROR] [system.err] /home/slomo/cerbero/android-ndk-r11/platforms/android-9/arch-arm/usr/include/signal.h:113: error: undefined reference to 'bsd_signal'
20:29:45.959 [ERROR] [system.err] /home/slomo/cerbero/android-ndk-r11/platforms/android-9/arch-arm/usr/include/signal.h:113: error: undefined reference to 'bsd_signal'
20:29:45.959 [ERROR] [system.err] collect2: error: ld returned 1 exit status
20:29:45.960 [ERROR] [system.err] make: *** [buildsharedlibrary_armeabi] Error 1
20:29:45.961 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED
20:29:45.961 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'command '/Applications/android-ndk-r11c/ndk-build'' finished with exit value 2 (state: FAILED)
20:29:45.962 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':app:ndkBuild'
20:29:45.962 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :app:ndkBuild FAILED
—
Any idea what is wrong in my conf?
--
Yevgen Voronetskyy
More information about the gstreamer-android
mailing list