How to add glib-networking GIO/GnuTLS modules while building for Android?
Vincenzo Bono
vincenzo.bono at gmail.com
Mon Feb 18 10:38:38 UTC 2019
You are getting a link error vs x86_64, are you trying to compile towards that target od to ARM?
Vince
Il giorno 17/02/19, 18:26 "gstreamer-devel per conto di enthusiastic geek" <gstreamer-devel-bounces at lists.freedesktop.org per conto di enthusiasticgeek at gmail.com> ha scritto:
Ok for Gstreamer 1.1.6 I found out that the following paragraph in release
notes
The way that GIO modules are named has changed due to upstream GLib natively
adding support for loading static GIO modules. This means that any GStreamer
application using gnutls for SSL/TLS on the Android or iOS platforms (or any
other setup using static libraries) will fail to link looking for the
g_io_module_gnutls_load_static() function. The new function name is now
g_io_gnutls_load(gpointer data). data can be NULL for a static library. Look
at [this commit][gio-gnutls-static-link-example] for the necessary change in
the examples.
So I made the following change in the code in gst_ios_init.h but I think I
am not using API correctly
//For g_io_module_gnutls_load_static
//#define GST_G_IO_MODULE_DECLARE(name) \
//extern void G_PASTE(g_io_module_, G_PASTE(name, _load_static)) (void)
//#define GST_G_IO_MODULE_LOAD(name) \
//G_PASTE(g_io_module_, G_PASTE(name, _load_static)) ()
//For g_io_gnutls_load
#define GST_G_IO_MODULE_DECLARE(name) \
extern void G_PASTE(g_io_, G_PASTE(name, _load)) (void)
#define GST_G_IO_MODULE_LOAD(name) \
G_PASTE(g_io_, G_PASTE(name, _load)) ()
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list