This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
gthread linking
- From: Russell Shaw <rjshaw at iprimus dot com dot au>
- To: autoconf at gnu dot org, automake at gnu dot org
- Cc:
- Date: Wed, 27 Aug 2003 01:28:25 +1000
- Subject: gthread linking
Hi,
In configure.am, i have:
AM_PATH_GTK_2_0(2.0.0,,,gthread)
AM_PATH_GLIB_2_0(2.0.0,,,gthread)
but i still get linker errors:
gcc -g -O2 -o iongen main.o gui.o eventfifo.o event.o xmalloc.o
-Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
gui.o(.text+0xfc): In function `gui':
/home/.../iongen/src/gui.c:72: undefined reference to `g_thread_init'
collect2: ld returned 1 exit status
I've tried running autoreconf (2.57).