"undefined reference to bsd_signal" error on Android Studio 2.1
Diane Cordero
dcordero at sbimagingsystems.com
Tue May 10 17:19:35 UTC 2016
Hi Sebastian,
Thank you for the answers! I've submitted a bug here: https://bugzilla.gnome.org/show_bug.cgi?id=766235
In the bug report, I have included a patch for the project listed here: https://github.com/sdroege/gst-player/tree/master/android
To answer your question regarding NDK v.12, when I updated to Android Studio 2.1, I was able to update my Android NDK using the SDK Manager (see image attachment in bug report).
Please let me know what you find, thanks!
Diane
-----Original Message-----
From: gstreamer-android [mailto:gstreamer-android-bounces at lists.freedesktop.org] On Behalf Of Sebastian Dröge
Sent: Monday, May 09, 2016 11:19 PM
To: Discussions about GStreamer on Android <gstreamer-android at lists.freedesktop.org>
Subject: Re: "undefined reference to bsd_signal" error on Android Studio 2.1
Hi,
can you provide an example project that shows this error, and file a bug about it at
https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
Also do the Android examples here work for you?
https://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials/
or something using gradle like
https://github.com/sdroege/gst-player/tree/master/android
On Mo, 2016-05-09 at 22:41 +0000, Diane Cordero wrote:
>
> I am working on migrating my Android Eclipse project to Android Studio
> 2.1 using Android NDK v12 and Gradle 2.2.1.
Where do you get NDK v12? The latest seems to be still r11c.
> Why does it reference API level 9? Is this error based on changes to
> the Android NDK? If so, is there a patch I can apply to get around
> this error?
What is the target API you used for your project? We build the GStreamer binaries against API version 9 as that is the lowest we require. It should however be forwards-compatible (but maybe it isn't?).
> As a side question, are GStreamer releases tested on Android Studio?
Not specifically, but they're tested with command-line tools, which are the same as called by Android Studio.
> And what is the connection between android-ndk-r11 and the Android NDK
> used by Android Studio?
There is no difference.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
More information about the gstreamer-android
mailing list