Re: [gtk-list] g_thread_init() problems
- From: Drazen Kacar <dave srce hr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] g_thread_init() problems
- Date: Fri, 14 Jan 2000 19:18:12 +0100
rhfreeman wrote:
> When I try to compile it I get this error:
>
> Sovereign[259] ~/rwaves>gcc -Wall whatever.c `gtk-config --cflags --libs`
> `gdkmagick-config --libs`
> /var/tmp/ccVtLX4k.o: In function `main':
> /var/tmp/ccVtLX4k.o(.text+0x138e0): undefined reference to `g_thread_init'
> collect2: ld returned 1 exit status
> Sovereign[260] ~/rwaves>
That error message looks strange. Are you using GNU ld, by any chance?
Either way, what's the output of `gtk-config --libs' and `gdkmagick --libs'?
> And yet if I called g_thread_init() without any arguments it complains
> because there isn't enough arguments to it!
So it should.
> Is this a problem with POSIX thread incompatibility on Solaris?
I don't think so.
--
.-. .-. I don't work for my employer.
(_ \ / _)
| dave@srce.hr
| dave@fly.srk.fer.hr
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]