[Bug 742097] New: GStreamer binaries for iOS don't build in XCode

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 29 12:43:46 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=742097
  GStreamer | don't know | 1.4.4

           Summary: GStreamer binaries for iOS don't build in XCode
    Classification: Platform
           Product: GStreamer
           Version: 1.4.4
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: atsakirid at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=293454)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=293454)
XCode project that manifests those issues

Creating a bug report after discussing it with Sebastian Dröge

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

P.S. After Sebastian's request I also tried example project @
http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials/xcode%20iOS
but I got he same problem.
P.S.2 I also switched to my GNU/Linux box to see where those 3 undefined
symbols reside (using nm) and most of them are defined in glibc.so, so I wonder
why in iOS glibc.dylib doesn't have define/export those symbols...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list