if you have the linux-pthreads port installed, remove it. things will compile
properly afterwards.
linux-pthreads really needs a different library name and include file names...
i lay odds that this known conflict is your problem.
David Petrou wrote:
>>cc -pthread test.c
>>
>
> i tried that
> cc -pthread test.c
i tried that too. that works for test.c, which doesn't reference
anything, but in more complex programs, it dies. i wish i knew why.
check this out:
this is the command to link testgthread from the glib library without
-lc_r and without -pthread:
--
2 matches
Mail list logo