[Mono-devel-list] Static linking in mono beta2 breaks glib/gthread stuff

Paolo Molaro lupus at ximian.com
Tue Jun 8 09:38:37 EDT 2004


On 06/07/04 Steven Brown wrote:
> In C# with DllImport, I'm trying to call gthread-2.0's g_thread_init, 
> which in turn calls glib-2.0's g_messages_init, but since it's 
> statically linked into mono in beta2, it seems to resolve to mono's 
> internal copy.  But then when I call a glib-2.0 function directly, it's 
> apparently a different instance than the internal copy, and explodes due 
> to not having been initialized!
> 
> At least that's what seems to be happening; it's been a rather 
> complicated one to debug. :)  This is a much worse situation than in 

Thanks for tracking this: I removed the hack in cvs.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list