Re: linking / performance / interposing detection ...



Federico Mena Quintero wrote:

>On Tue, 2005-12-13 at 12:16 -0600, Federico Mena Quintero wrote:
>  
>
>>Very neat.  How do interposed symbols happen?  Is it just people
>>forgetting to put a "static" somewhere?  That seems to be the case for
>>parent_class in metal_gtk2_engine.c.
>>    
>>
>
>Bah, I see now that it is more complicated.  The various .c files in the
>metal engine do share the parent_class variable - it can't be made
>static.
>  
>
You should be able to fix it by passing the following arguments to libtool:
    -export-symbols symbolsfile

Where the symbols file contains:
  g_module_init
  theme_init
  theme_exit
  theme_create_rc_style

No other symbols need be exported by the theme engine.

James.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]