"undefined reference to bsd_signal" error on Android Studio 2.1

Diane Cordero dcordero at sbimagingsystems.com
Tue May 10 18:51:48 UTC 2016


Hi Sebastian, 

I have downgraded my NDK to version 11c and am seeing the same 'undefined reference to bsd_signal' error. Which version of the NDK is 1.8.1 guaranteed to be compatible with?

Best,
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