Link error when building Android plugin
Sebastian Dröge
sebastian at centricular.com
Sat Feb 8 11:11:31 PST 2014
On Fr, 2014-02-07 at 11:11 +0100, Ole Bromose wrote:
> [...]
>
> ./obj/local/armeabi/objs/dstreamer/gstusbsink.o: in function
> gst_usbsink_get_type:jni/gstusbsink.c:112: error: undefined reference to
> 'gst_audio_sink_get_type'
>
> I'm building the plugin together with the app.
> I suppose that gst_audio_sink_get_type is defined by the base class
> (GstAudioSink). Thus, it looks like GstAudioSink is not included in the
> plugins. The included plugins are:
>
> GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE)
> $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS)
> $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS)
> $(GSTREAMER_PLUGINS_CODECS_RESTRICTED)
>
> Is it correct that GstAudioSink is missing? Ifso, how do I get it included?
Try adding gstreamer-audio-1.0 to GSTREAMER_EXTRA_DEPS in your
Android.mk. Without this libgstreamer_android.so might not contain
everything you need.
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140208/afa08816/attachment.pgp>
More information about the gstreamer-android
mailing list