Gaim 'garball' : g_thread_gettime error



Hi folks,

For those of you who are getting this error while building gaim:

(..)/libgthread-2.0.so: undefined reference to `g_thread_gettime'

There is a workaround!

1) Change the CFLAGS var in gaim/Makefile as indicated in this patch:

--- Makefile-   2007-01-28 04:05:14.000000000 -0200
+++ Makefile    2007-01-27 22:06:01.000000000 -0200
@@ -31,6 +31,6 @@
 # hack: debug breaks gaim-2.0.0beta5
 CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed
's,--enable-debug,--disable-debug,')
 CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed
's,--enable-tests,--disable-tests,')
-CFLAGS := $(shell echo $(CFLAGS) | sed 's,-g ,,')
+CFLAGS := $(shell echo $(CFLAGS) | sed 's,-g ,,')
-Wl,--allow-shlib-undefined
 CXXFLAGS := $(shell echo $(CXXFLAGS) | sed 's,-g

2) run:
$ make clean
$ make install

And enjoy you Gaim 'garball (tnks guenther)' !

Cheers,
Lucas




-----------------------------------------
DIN - WebMail.
http://www.din.uem.br/




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