On Fri, May 21, 1999 at 03:31:03AM +0200, Ulf M�ller wrote:
> On FreeBSD the Configure script prints a warning that "The library
> could not be configured for supporting multi-threaded applications as
> the compiler options required on this system are not known."
> 
> I don't know if the approach taken in Configure is optimal. Anyway,
> this is the required information from pthread(3):
> 
>      The current FreeBSD POSIX thread implementation is built in the library
>      libc_r which contains both thread-safe libc functions and the thread
>      functions.  This library replaces libc for threaded applications.
> 
>      By default, libc_r is not built as part of a 'make world'. To build and
>      install it, type:
> 
>            cd /usr/src/lib/libc_r
> 
>            make depend && make all && make install

There should be compiler options (probably -D_REENTRANT) that allow to
build the library in a way so that it _can_ be linked with a
thread-safe library, but will still work with the usual library.
We're not interested in how to link it, just how to pursuade the
system header files to use definitions that are suited for use with
multi-threading (such as thread-safe errno).  There's the same problem 
for various other libraries, e.g. those for X11.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to