Re: gthread linking
- From: "Pawel S. Veselov" <Pawel Veselov Sun COM>
- To: Russell Shaw <rjshaw iprimus com au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gthread linking
- Date: Tue, 26 Aug 2003 10:53:19 -0700
Hello, Russell !
I'm not sure about autoconf, but for threading support you got to
have the gthread-2.0 package. May be try AM_PATH_GTHREAD_2_0 ?
The '-lgthread-2.0' must one way or another land in the linker flags.
On Tue, Aug 26, 2003 at 10:37:50PM +1000, Russell Shaw wrote:
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).
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Bye.
--
Pawel S. Veselov [vps] (MTS, Service Provisioning and OMA) __ __(O) _ __
(408) 276-5410 e-mail: Pawel Veselov Sun COM \ V /| || ' \
fax(408) 276-3243 HomePage: http://manticore.2y.net \_/ |_||_|_|_|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]