Wed Mar 19 16:23:00 GMT 2003
> The linking fails, saying "swt.o ... undefined reference to
> 'g_thread_init'". The symbol is defined, however, in -lglib-2.0.
>>>>>> On my machine, g_thread_init is defined in libgthread-2.0.so. It
>>>>>> doesn't appear in libglib-2.0.so at all. This is with GTK 2.2.
I had accidentally been reading the 2.2 docs instead of reading 2.0. I must
indeed add "-lgthread-2.0 -lpthread" for the 2.0 version.
It works now! Thanks!
More information about the Java