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 754821 - Compilation issues on Mac OS X
Compilation issues on Mac OS X
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: General
0.16.x
Other Mac OS
: Normal normal
: ---
Assigned To: libgdata-maint
libgdata-maint
Depends on:
Blocks:
 
 
Reported: 2015-09-10 09:35 UTC by Tom Schoonjans
Modified: 2015-10-04 12:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tom Schoonjans 2015-09-10 09:35:31 UTC
In version 0.16.1, I had to modify gdata/gdata.symbols in order to get libgdata compiled as I was getting linking error over undefined references.

The following functions were removed from this file:

gdata_goa_authorizer_get_type
gdata_goa_authorizer_new
gdata_goa_authorizer_get_goa_object
gdata_freebase_result_error_get_type
gdata_freebase_result_error_quark

The first three can be explained by the configure argument --disable-gnome I used, while the two remaining functions are missing from the source code completely.
Comment 1 Philip Withnall 2015-09-10 16:21:56 UTC
(In reply to Tom Schoonjans from comment #0)
> gdata_freebase_result_error_get_type
> gdata_freebase_result_error_quark

I’ve just fixed those two:

commit c192f1f3e4ea17ee8a6572ee1ac89a6be8176a59
Author: Philip Withnall <philip.withnall@collabora.co.uk>
Date:   Thu Sep 10 16:56:25 2015 +0100

    core: Remove undefined symbols from gdata.symbols
    
    These two symbols are not defined anywhere.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754821

 gdata/gdata.symbols | 2 --
 1 file changed, 2 deletions(-)

will fix the others once I work out the best way of doing so.
Comment 2 Philip Withnall 2015-10-04 12:37:35 UTC
Fixed.

commit 0bb2901aa5d944e7e588a4fd9f57d3be96354dc5
Author: Philip Withnall <philip.withnall@collabora.co.uk>
Date:   Sun Oct 4 13:35:38 2015 +0100

    build: Split GOA symbols out into a separate symbols file
    
    On some systems (Mac OS X) it is an error to include symbols in the
    symbols file which are not exported from the library. This can happen if
    building with --disable-goa (or --disable-gnome).
    
    Fix this by generating the symbols file dynamically.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754821

 HACKING                  |    4 +-
 Makefile.am              |   14 +-
 gdata/gdata-core.symbols | 1117 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 gdata/gdata-goa.symbols  |    3 +
 gdata/gdata.symbols      | 1120 --------------------------------------------------------------------------------------------------------------------
 5 files changed, 1134 insertions(+), 1124 deletions(-)