GStreamer binaries for iOS don't build in XCode

Antonis Tsakiridis atsakirid at gmail.com
Sun Dec 28 12:34:00 PST 2014


Hello,

I installed the binaries found at:

http://gstreamer.freedesktop.org/data/pkg/ios/1.4.4/

Then I used the GStreamer Template 'GStreamer Single View Application' and
tried to build in XCode without success. The problem is undefined symbols
for fstatat, openat and fdopendir as can be seen in XCode's output below:

-------------------
Undefined symbols for architecture armv7s:
  "_fstatat", referenced from:      _g_local_file_measure_size_of_file in
GStreamer(libgio-2_0_a_armv7s_-libgio_2_0_la-glocalfile.o)
  "_openat", referenced from:      _g_local_file_measure_size_of_file in
GStreamer(libgio-2_0_a_armv7s_-libgio_2_0_la-glocalfile.o)
  "_fdopendir", referenced from:      _g_local_file_measure_size_of_file in
GStreamer(libgio-2_0_a_armv7s_-libgio_2_0_la-glocalfile.o)
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
-------------------

Please note that I get the same issues both for device (iOS 7.1) and
simulator (i386 and x86_64 architectures). Tried to spot which dynamic libs
from the relevant SDK contain those functions/symbols in order to add them
but I wasn't able to find any, so I tried to add glibc.dylib in XCode and
various others but to no avail.

Any ideas what might be wrong?

Thanks a lot,
Antonis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141228/55181e3a/attachment.html>


More information about the gstreamer-devel mailing list