[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: thread confusion, please help
- From: Günther Rapp <guenther rapp-informatik de>
- To: ksadil bigpond com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: thread confusion, please help
- Date: Tue, 07 Oct 2003 12:37:51 +0200
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
--
R=I+S Rapp Informatik Systeme GmbH
Rosenbühlstr. 24
D-89182 Bernstadt
Tel: +49 (0)7348-7755
Fax: +49 (0)7348-6086
E-MAIL mailto: guenther@rapp-informatik.de
WEB www.rapp-informatik.de
PS:
Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .PPT) Format
Bitte lesen Sie
http://www.fsf.org/philosophy/no-word-attachmentsi.de.html
Please don't send me any attachment in Microsoft (.DOC, .PPT) format
please
Read http://www.fsf.org/philosophy/no-word-attachments.html
begin:vcard
n:Rapp;Günther
tel;fax:+49 (0)7348-6086
tel;work:+49 (0)7348-7755
x-mozilla-html:FALSE
url:www.rapp-informatik.de
org:R=I+S;Rapp Informatik Systeme GmbH
adr:;;Rosenbühlstr. 24;D-89182 Bernstadt;Germany;;
version:2.1
email;internet:guenther@rapp-informatik.de
x-mozilla-cpt:;1312
fn:Günther Rapp
end:vcard
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]