GStreamer binaries for iOS don't build in XCode

Sebastian Dröge sebastian at centricular.com
Mon Dec 29 02:26:10 PST 2014


On So, 2014-12-28 at 22:34 +0200, Antonis Tsakiridis wrote:
> 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.

Hi,

please create a bug report for this at http://bugzilla.gnome.org against
GStreamer and include a sample project file there that reproduces the
problem.

Does it work with the example code from
http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials/xcode%20iOS
?

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141229/481d19b7/attachment.sig>


More information about the gstreamer-devel mailing list