Error while compiling Android project with gstreamer 1.16.0

Andrew Esh andrew.esh at qterics.com
Fri Sep 20 12:27:16 UTC 2019


Look in .../cerbero.git/build/dist/<architecture>/lib to see if libiconv
exists. Cerbero should have built it. There should have been an error in an
earlier stage of the build when the libiconv dependency could not be built.

On Fri, Sep 20, 2019 at 5:44 AM Harsh Vardhan <harshnehal1996 at gmail.com>
wrote:

> Hi,
>
>      I tried compiling my Android project in studio which uses gstreamer
> 1.16.0 with ndk r18b but I get an error with the following message :
>
> GStreamer      : [GEN] => gst-build-x86/gstreamer_android.c
> GStreamer      : [COMPILE] => gst-build-x86/gstreamer_android.c
> GStreamer      : [LINK] => gst-build-x86/libgstreamer_android.so
>
> /home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/x86/glib-2.56.1/_builddir/../glib/gconvert.c:175:
> error: undefined reference to 'libiconv_open'
> /home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/x86/glib-2.56.1/_builddir/../glib/gconvert.c:285:
> error: undefined reference to 'libiconv'
> /home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/x86/glib-2.56.1/_builddir/../glib/gconvert.c:308:
> error: undefined reference to 'libiconv_close'
> /home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/x86/glib-2.56.1/_builddir/../glib/gconvert.c:285:
> error: undefined reference to 'libiconv'
> /home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/x86/glib-2.56.1/_builddir/../glib/gconvert.c:308:
> error: undefined reference to 'libiconv_close'
> /home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/x86/glib-2.56.1/_builddir/../glib/gconvert.c:285:
> error: undefined reference to 'libiconv'
> /home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/x86/glib-2.56.1/_builddir/../glib/gconvert.c:308:
> error: undefined reference to 'libiconv_close'
> /home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/x86/glib-2.56.1/_builddir/../glib/gconvert.c:308:
> error: undefined reference to 'libiconv_close'
> clang++.exe: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make: *** [buildsharedlibrary_x86] Error 1
>
> Any suggestion will be highly appreciated.
>
> Thanks
> Harsh
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-android



-- 
Andrew Esh
Senior Software Engineer
Qterics
612-564-2580
www.qterics.com
<http://www.nielsen.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-android/attachments/20190920/edf2c603/attachment.html>


More information about the gstreamer-android mailing list