After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741412 - various plugin registration symbols undefined (1.5 master)
various plugin registration symbols undefined (1.5 master)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Mac OS
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-11 22:01 UTC by Mike McNamara
Modified: 2014-12-18 18:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike McNamara 2014-12-11 22:01:52 UTC
After successfully compiling the latest version of GStreamer from master (7fa8aa79e95d17f3c54479b32a0425d4fc6aed91) there are a number of missing symbols when attempting to register plugins.  For example:

Undefined symbols for architecture armv7:
  "_gst_plugin_opengl_register", referenced from:
      _gst_ios_init in libPods-iOSGStreamer.a(gst_ios_init.o)
ld: symbol(s) not found for architecture armv7

undef: _gst_plugin_opengl_register
Undefined symbols for architecture i386:
  "_gst_plugin_opengl_register", referenced from:
      _gst_ios_init in libPods-iOSGStreamer.a(gst_ios_init.o)
ld: symbol(s) not found for architecture i386

This is the case for a number of things like rsvg, gdp, openh264, taglib, etc...  I have tried (without success unfortunately) to diagnose where this issue stems from.  

When I look in the cerbero build directories it appears that each architecture is in fact being built and I've verified it's for the correct architecture:

mikemcs-imac:ios_universal mike$ ls
arm64	armv7	armv7s	x86	x86_64

mikemcs-imac:ios_universal mike$ lipo -info arm64/gst-plugins-bad-1.0-1.5/gst-libs/gst/gl/libgstgl_1.0_la-gstglapi.o
Non-fat file: arm64/gst-plugins-bad-1.0-1.5/gst-libs/gst/gl/libgstgl_1.0_la-gstglapi.o is architecture: arm64

mikemcs-imac:ios_universal mike$ lipo -info armv7/gst-plugins-bad-1.0-1.5/gst-libs/gst/gl/libgstgl_1.0_la-gstglapi.o
Non-fat file: armv7/gst-plugins-bad-1.0-1.5/gst-libs/gst/gl/libgstgl_1.0_la-gstglapi.o is architecture: armv7

etc....
Comment 1 Mike McNamara 2014-12-18 18:41:14 UTC
This issue appear to have been resolved with commit 549c1c206c98744957511ec31af3d528e2f5252c on 12/17.
Comment 2 Tim-Philipp Müller 2014-12-18 18:52:41 UTC
commit 549c1c206c98744957511ec31af3d528e2f5252c
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Wed Dec 17 13:02:43 2014 +0100

    osx/ios: Also copy over headers that are directly in prefix/include
    
    Not having them in the final package might not be ideal.