Re: [code] [textadept] Glib 2.32 problems

From: Mitchell <m.att.foicica.com>
Date: Tue, 17 Apr 2012 11:30:19 -0400 (Eastern Daylight Time)

Hi Christian,

On Tue, 17 Apr 2012, Christian Schneider wrote:

> Hello i just tried to make and got problems to link my glib version 2.32..
> Please see
> http://developer.gnome.org/glib/2.31/glib-Deprecated-Thread-APIs.html
>
> make LUAJIT=1
> ...
> PlatGTK.o: In function `FontMutexLock()':
> PlatGTK.cxx:(.text+0xf75): undefined reference to `g_mutex_lock'
> PlatGTK.o: In function `FontMutexUnlock()':
> PlatGTK.cxx:(.text+0xf92): undefined reference to `g_mutex_unlock'
> PlatGTK.o: In function `Platform_Initialise()':
> PlatGTK.cxx:(.text+0x3b46): undefined reference to `g_mutex_new'
> PlatGTK.o: In function `Platform_Finalise()':
> PlatGTK.cxx:(.text+0x3b65): undefined reference to `g_mutex_free'
> collect2: ld returned 1 exit status
> make: *** [textadeptjit] Error 1

Seems like threads are not enabled in your glib for some reason. Try
changing

     SCI_THREAD_FLAG =

to

     SCI_THREAD_FLAG = -DG_THREADS_IMPL_NONE

in src/Makefile:15

Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 17 Apr 2012 - 11:30:19 EDT

This archive was generated by hypermail 2.2.0 : Wed 18 Apr 2012 - 06:25:08 EDT