Skip to Content.
Sympa Menu

freetds - RE: configure unable to find reentrant functions

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: configure unable to find reentrant functions
  • Date: Thu, 12 Sep 2002 14:23:42 -0400


> From: Stan Liberman [mailto:stan AT vailsys.com]
> Sent: September 12, 2002 1:58 PM
>
> When I run ./configure --enable-threadsafe
> I see the following lines:
>
> checking threadsafety... enabled
> checking for which type of gethostbyname_r... checking for
> gethostbyname_r... no
> no
> checking for getservbyname_r... checking for getservbyname_r... no
> no
> checking for which type of gethostbyaddr_r... checking for
> gethostbyaddr_r... no
> no
> done
>
>
> If I try to compile, it bombs building threadsafe.o saying:
>
> threadsafe.c:94:2: #error gethostbyname_r style unknown
> threadsafe.c:119:2: #error gethostbyaddr_r style unknown
> threadsafe.c:144:2: #error getservbyname_r style unknown

FreeTDS isn't finding any threadsafe function prototypes in your header
files.

What says:

grep -r getservbyname_r /usr/include

or are they elsewhere?

Perhaps in 0.61, we could detect in configure that no matching prototypes
were found.

--jkl


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that for certain accounts we do not accept
orders and/or instructions by e-mail, and for those accounts we will not be
responsible for carrying out such orders and/or instructions. Kindly refrain
from sending orders or instructions by e-mail unless you have confirmed that
we accept such communications for your account. Please also note that to
satisfy regulatory requirements we review the outgoing and incoming e-mail
correspondence of staff members serving certain functions.






Archive powered by MHonArc 2.6.24.

Top of Page