On Thu, Nov 18, 1999 at 11:49:25AM +0100, Jochen Wiedmann allegedly wrote:
> Mathijs Brands wrote:
>
> > I assume you're referring to the 'pthread_mutex_destroy' symbol?
> > This is caused by the fact that the module is linked against libc,
> > while it should be linked against libc_r. libc_r is the threadsafe
> > version of the C library - that's why libc doesn't contain any
> > threadings stuff.
>
> Excellent. Two questions: How did you manage that libc_r was
> used? And do you see any possibility for me to detect
> automatically, whether libc or libc_r should be used?
I changed the value for LIBC in both makefiles. Also, added -pthread
to the compilerflags.
Mathijs