Link errors while building gstremaer 1 sample for android with Android Studio

suspension manusha1980 at gmail.com
Mon Aug 31 06:42:03 PDT 2015


I am trying to build a sample in android SDK for version 1.5.2 which is
downloadable from http://gstreamer.freedesktop.org/data/pkg/android/1.5.2/.

I am using the following libraries in link stage:
ldLibs += ["ffi", "intl", "glib-2.0", "log","xml2", "iconv",
"gstreamer-1.0", "gobject-2.0","gmodule-2.0","gthread-2.0","glib-2.0",
"gio-2.0"]

The format of library dependency specification does not require -l part in
AS.

However I get following set of link errors.

14:41:18.244 [ERROR]
[org.gradle.internal.operations.logging.DefaultBuildOperationLoggerFactory]
ggettext.c:315: error: undefined reference to 'libintl_textdomain'
ggettext.c:316: error: undefined reference to 'libintl_gettext'
ggettext.c:107: error: undefined reference to 'libintl_bindtextdomain'
ggettext.c:110: error: undefined reference to
'libintl_bind_textdomain_codeset'
ggettext.c:402: error: undefined reference to 'libintl_dgettext'
ggettext.c:429: error: undefined reference to 'libintl_dcgettext'
ggettext.c:460: error: undefined reference to 'libintl_dngettext'
gst.c:488: error: undefined reference to 'libintl_bindtextdomain'
gst.c:489: error: undefined reference to 'libintl_bind_textdomain_codeset'
gst.c:884: error: undefined reference to 'libintl_dgettext'
gst.c:300: error: undefined reference to 'libintl_dgettext'
gst.c:301: error: undefined reference to 'libintl_dgettext'
gclosure.c:1203: error: undefined reference to 'ffi_type_sint64'
gclosure.c:1203: error: undefined reference to 'ffi_type_double'
gclosure.c:1203: error: undefined reference to 'ffi_type_float'
gclosure.c:1203: error: undefined reference to 'ffi_type_uint32'
gclosure.c:1203: error: undefined reference to 'ffi_type_uint64'
gclosure.c:1203: error: undefined reference to 'ffi_type_pointer'
gclosure.c:1203: error: undefined reference to 'ffi_type_sint32'
gclosure.c:1445: error: undefined reference to 'ffi_prep_cif'
gclosure.c:1448: error: undefined reference to 'ffi_call'
gclosure.c:1452: error: undefined reference to 'ffi_type_void'
gclosure.c:1452: error: undefined reference to 'ffi_type_pointer'
gclosure.c:1558: error: undefined reference to 'ffi_prep_cif'
gclosure.c:1561: error: undefined reference to 'ffi_call'
gclosure.c:1586: error: undefined reference to 'ffi_type_void'
gclosure.c:1586: error: undefined reference to 'ffi_type_pointer'
gclosure.c:1586: error: undefined reference to 'ffi_type_uint64'
gclosure.c:1586: error: undefined reference to 'ffi_type_sint32'
gclosure.c:1586: error: undefined reference to 'ffi_type_uint32'
gclosure.c:1586: error: undefined reference to 'ffi_type_sint64'
gclosure.c:1586: error: undefined reference to 'ffi_type_float'
gclosure.c:1586: error: undefined reference to 'ffi_type_double'
collect2: error: ld returned 1 exit status


I have checked with nm and these symbols actually exist in respective
libraries in SDK. The CPU architecture is ARM7.

Any idea what could be happening here?






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Link-errors-while-building-gstremaer-1-sample-for-android-with-Android-Studio-tp4673412.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list