automake
[Top][All Lists]
Advanced

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

gthread linking


From: Russell Shaw
Subject: gthread linking
Date: Wed, 27 Aug 2003 01:28:25 +1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030311 Debian/1.2.1-10

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]