Error building with gstreamer 1.14.1 on Android platform

stic at free.fr stic at free.fr
Tue May 22 14:07:25 UTC 2018


Hi,

I am trying to upgrade to gstreamer 1.14.1 on Android, but compiling ended with following error while everything was fine up to gstreamer 1.12.x:

  GStreamer      : [GEN] => gst-build-armeabi-v7a/gstreamer_android.c
  GStreamer      : [COMPILE] => gst-build-armeabi-v7a/gstreamer_android.c
  GStreamer      : [LINK] => gst-build-armeabi-v7a/libgstreamer_android.so
  system/certs.c:88: error: undefined reference to 'getpwuid_r'
  glocalfileinfo.c:1110: error: undefined reference to 'getpwuid_r'
  gtimer.c:328: error: undefined reference to 'timegm'
  gtimer.c:328: error: undefined reference to 'timegm'
  gutils.c:657: error: undefined reference to 'getpwnam_r'
  gutils.c:663: error: undefined reference to 'getpwuid_r'
  collect2: error: ld returned 1 exit status
  make: *** [buildsharedlibrary_armeabi-v7a] Error 1

This error is related to APP_PLATFORM which needs to be set to at least android-21, and I am currently using APP_PLATFORM android-19 for compatibility reason.
Once APP_PLATFORM is set to android-21 the error is gone but that forces us to compile again at least android-21 and may lead us to compatibility issues with older Android versions.

Is it possible to get a fix to let us compile again older Android versions, something like this ? https://github.com/libuv/libuv/commit/43994b4e3c86f594eb25a47b87b3d82228dd5746

Thanks for your help about this !


More information about the gstreamer-android mailing list