Re: thread confusion, please help
- From: kadil <ksadil bigpond com>
- To: Günther Rapp <guenther rapp-informatik de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: thread confusion, please help
- Date: Tue, 07 Oct 2003 20:45:00 +1000
Turns out I needed -lgthread-2.0. I am steadily progressing in linux to
understanding and coding multithreading. I have come to a dead stop
using mingw. I thing it is a similar linker problem.
Regards,
Kim
On Tue, 2003-10-07 at 20:37, Günther Rapp wrote:
Try -lgthread as link option
in my application this works
Best Regards
Günther
kadil schrieb:
I have written an application that queries an odbc database on a
timeout, while the query is being executed, everything else stops
(understandably). I would like to use threads, but I have no experience
with threads. I read the gtk+2 tutorial, and studied the example, copied
the example into a file and tried to compile. It failed dismally. I have
a stock standard linux mandrake 9.1 with gtk2 dev libs. I can use
anjuta/glade to develop a gtk+2 gui on my system, so I do not think that
I am missing any libraries.
my compile cammand:
gcc -o gtk-thread gtk-thread.c `gtk-config --cflags --libs gthread`
gcc response:
/tmp/ccpVImeH.o(.text+0x17f): In function `main':
: undefined reference to `gdk_threads_init'
collect2: ld returned 1 exit status
Please help.
Regards,
Kim
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]