/usr/local/lib/libgthread-2.0.so: undefined reference to 'g_thread_gettime'



When I build gtk+-2.10.9 I get this error message: /usr/local/lib/libgthread-2.0.so: undefined reference to 'g_thread_gettime' GAIM people have a fix, but I haven't gotten it to work for GTK+ 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

View this message in context: /usr/local/lib/libgthread-2.0.so: undefined reference to 'g_thread_gettime'
Sent from the Gtk+ - General mailing list archive at Nabble.com.


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