On 09/18/2013 10:52 AM, Paul J Stevens wrote:
On 09/18/2013 09:32 AM, boot wrote:

  GLIB:                      -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0

Yep! That one is off.

Its almost it, but the threads should also be initialized at runtime for old glib2 versions.
I've added back next chunk:

--- src/server.c
+++ src/server.c
@@ -223,6 +223,8 @@ static int server_setup(ServerConfig_T *conf)
        if (! MATCH(conf->service_name,"IMAP"))
                return 0;

+       if (! g_thread_supported())
+               g_thread_init(NULL);
        // Asynchronous message queue for receiving messages
        // from worker threads in the main thread.
        //

To make it work on glib-2.22.5

--
Best regards,
Pavlo Lavrenenko,
PortaOne, Inc., Junior Software Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7624

PortaOne - VoIP Solutions Company
Visit our Website: http://www.portaone.com
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to