Xcode 4.6.3 GStreamer 1.2.0 linker error
Andoni Morales
ylatuya at gmail.com
Sat Oct 26 12:58:03 CEST 2013
2013/10/24 Michael McNamara <mmcnamara at control4.com>
> I believe that the linker issues described in my original message must
> stem from the 1.2.0 iOS package being built with Xcode 5 against the iOS 7
> SDK. As such they don't appear to be backward compatible for use with
> Xcode 4.6.3. This being the case, I've been trying to build 1.2.0 myself
> using Xcode 4.6.3. The repo that I'm building from:
>
> git://anongit.freedesktop.org/gstreamer/sdk/cerbero
>
> I can bootstrap with no issues:
>
> $ ./cerbero-uninstalled bootstrap
>
> I then edit config/cross-ios* to set the SDK to 6_1 and start the build
> process:
>
> $ ./cerbero-uninstalled -c config/cross-ios-universal.cbc package
> gstreamer-1.0
>
> I'm currently dying when building glib:
>
> …
> checking for i386-apple-darwin10-gcc... llvm-gcc-4.2
> checking whether the C compiler works... no
> configure: error: in
> `/Users/mike/cerbero/sources/ios_universal/x86/glib-2.38.0':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> ***** Error running 'package' command:
> Recipe 'glib' failed at the build step 'configure'
>
> Somewhat confusingly I can do a buildone for both x86 and arm on glib
> with no issues?
>
> $ ./cerbero-uninstalled -c config/cross-ios-x86.cbc buildone glib
>
> $ ./cerbero-uninstalled -c config/cross-ios-arm7.cbc buildone glib
>
> Suggestions on where to poke around would be welcome.
>
Hi,
I have launched a clean rebuild here trying to reproduce it. The error
should be logged in /Users/mike/cerbero/sources/
ios_universal/x86/glib-2.38.0/config.log, could you paste it here?
Andoni
>
> Thanks!
>
>
> Subject: Xcode 4.6.3 GStreamer 1.2.0 linker error
>
> Hi All,
>
> I'm attempting to build a project for iOS / iOS Simulator with Xcode
> 4.6.3 using GStreamer 1.2.0:
>
> http://gstreamer.freedesktop.org/data/pkg/ios/
>
> and am dying with the following linker error:
>
> ~/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/GStreamer(libcairo_a_i386_-cairo.o),
> archive member 'libcairo_a_i386_-cairo.o' with length 37376 is not mach-o
> or llvm bitcode for architecture i386
>
> I thought perhaps a mis-lipo'd version of this lib had made it into the
> above distribution based on the error, so I decided to check into it. I
> did a lipo –thin on both architectures (i386 and armv7) and then used ar to
> extract the respective archives. Checking with otool on the libcairo
> object files, both seem to be correct:
>
> $ otool -hv libcairo_a_i386_-cairo.o
> libcairo_a_i386_-cairo.o: is an LLVM bit-code file
>
> $ otool -hv libcairo_a_armv7_-cairo.o
> libcairo_a_armv7_-cairo.o: is an LLVM bit-code file
>
> Which flies in the face of the linker error above. I'm totally stumped.
> I tried Xcode 5 on the same project and don't seem to have any issues. To
> answer the obvious question, I'm not currently in a spot where I cannot use
> Xcode 5 unfortunately.
>
> Does anyone have any idea why this would be the case? Any advice or
> guidance would be most appreciated!
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
--
Andoni Morales Alastruey
LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131026/d13e1fb3/attachment.html>
More information about the gstreamer-devel
mailing list