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).




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