[cairo] Compiling under Solaris failed with unrefrenced symbol [SOLVED]

Reinhard Sy sterntaler.10 at googlemail.com
Thu Feb 10 04:05:14 PST 2011


Am 10.02.2011 12:33, schrieb Reinhard Sy:
>
>
> Am 09.02.2011 22:28, schrieb Reinhard Sy:
>>
>> Hi Joonas,
>> At the momen I am not in the office but i have downloaded yedterday 
>> the newest version of glib this version should match the 
>> requirements.... But I let you know the exact version number tomorrow.
>>
>> Reinhard
>>
>>
>> -- Gesendet von meinem Palm Pre
>>
>> ------------------------------------------------------------------------
>> M Joonas Pihlaja <jpihlaja at cc.helsinki.fi> schrieb am 09.02.2011 20:09:
>>
>>
>> Hi Reinhard,
>>
>> Could you check that your glib version is something relatively new?
>> The g_once_init* functions need at least >= 2.14. Turns out cairo is
>> missing a minimum version check so we need to add that too once we
>> actually figure out what the minimum version should be. :)
>>
>> Joonas
> Hi ,
>
>
> Now I have found a version of glib which I am able to compile with 
> small modifications. Version 2.28.0
>
> But if I now try to compile cairo I get:
>
>
> make[4]: Entering directory 
> `/import/work/Compile/cairo-1.10.2/util/cairo-gobject'
>   CCLD   libcairo-gobject.la
> Undefined                       first referenced
>  symbol                             in file
> g_boxed_type_register_static        
> .libs/libcairo_gobject_la-cairo-gobject-structs.o
> g_enum_register_static              
> .libs/libcairo_gobject_la-cairo-gobject-enums.o
> ld: fatal: Symbol referencing errors. No output written to 
> .libs/libcairo-gobject.so.2.11000.2
>
>
>
>
> Are these symbols comming from glib ?
>
> BTW: I am using the Sun Studio 11 Compiler Suite
>
> Thanks for your help 

Hi ,

I defined :

export GOBJECT_LIBS="-lgobject-2.0 -lglib-2.0"

then all works fine.

Cheers
Reinhard


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110210/ab8f934c/attachment-0001.htm>


More information about the cairo mailing list