gst_element_factory_make fails with ANDROID

Sebastian Dröge sebastian at centricular.com
Tue Nov 26 00:41:30 PST 2013


On Mo, 2013-11-25 at 07:53 -0800, yxxone wrote:
> Well ,I think I'd been too confident. Now , the "qtdemux" does not play
> tricks on me any more and it's "gstrtpbin" 's  turn then . I had thought
> that after I add "rtpmanager"  to  "GSTREAMER_PLUGINS" , everything will be
> ok . But thing goes wrong in another way . when I build it with "ndk-build"
> , error occur and I felt desperated. I wonder if I did not get the right
> plugin name or there is other thing I shoud pay attention to.
> 
> the error is like this:
> /home/yxx/Documents/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold:
> gst-build/gstreamer_android.o: in function
> gst_android_register_static_plugins:gstreamer_android.c(.text.gst_android_register_static_plugins+0x18):
> error: undefined reference to 'gst_plugin_rtpmanager_register'
> collect2: ld returned 1 exit status
> make: *** [buildsharedlibrary] Error 1

Add $(GSTREAMER_PLUGINS_NET) to your Android.mk.

-- 
Sebastian Dröge <sebastian at centricular.com>
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: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131126/f1787f83/attachment.pgp>


More information about the gstreamer-devel mailing list