Building gtk+-2.10.8 but get a undefined reference to g_thread_gettime
I'm building an user environment for gtk for a specific user, however, I'm getting alot of problems due to a bug when building gtk. I've checked for a workaround it, but the closest I get to it is the Workaround for gaim
I can't make any sense of the gaim solution, and don't see how to apply it to the make file for gtk+-2.10.8 Anyone got a clue? So far I've compiled, just mentioning it: atk-1.10.3 autoconf-2.60 automake-1.10 cairo-1.3.12 fontconfig-2.4.2 gcc-3.4.4 gcc-g++-3.4.4 glib-2.12.9 libiconv-1.11 libtool-2.1a pkg-config-0.21 texinfo-0.48 If you want an example of the makefile, it's 35k lines long.. However I'm wondering how to set those options that are mentioned in the gaim solution, I'm getting this error: Code:
/home/haraldsh/library//lib/libgthread-2.0.so: undefined reference to `g_thread_gettime' |
To set the flag
Code:
export CFLAGS = -Wl --allow-shlib-undefined |
I made it work.
I just did a 'make uninstall' on both gtk and the the glib sources, then went back an older glib version (I tried to install the latest). Then I installed the recent gtk, since I checked that an older gtk gave the same error. |
gtk build error with g_thread_gettime
Quote:
-adam |
glib version to build gtk+ w/o g_thread_gettime error
ok, so in this day and age of instant gratification, i found the right version - glib 1.12.8 will "fix" the gtk build error.
build glib version 2.12.8 available here: ftp://ftp.gtk.org/pub/glib/2.12/ -adam |
Quote:
|
All times are GMT -5. The time now is 10:40 PM. |