Skip to Content.
Sympa Menu

freetds - Re: Problem compiling current snapshot

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Steve Langasek <vorlon AT netexpress.net>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Problem compiling current snapshot
  • Date: Thu, 4 Apr 2002 13:59:09 -0600

Hello,

On Thu, Apr 04, 2002 at 12:54:33PM -0700, Steven J. Backus wrote:
> I'm having a problem with dblib, thought I'd try the current
> snapshot to see if it was fixed. I get:

> config.c: In function `lookup_host':
> config.c:523: `INADDR_NONE' undeclared (first use in this function)
> config.c:523: (Each undeclared identifier is reported only once
> config.c:523: for each function it appears in.)

> I'm on Intel Solaris 2.8 using gcc 2.95.2. I've looked everywhere
> for this variable and can't find it declared. TIA for any help.

On Linux, INADDR_NONE is defined to ((in_addr_t) 0xffffffff); I believe
this is also the correct value on other platforms.

If you can't find it anywhere in /usr/include (netinet/in.h is the right
file here), then perhaps this should be conditionally defined in
FreeTDS.

Steve Langasek
postmodern programmer

Attachment: pgpdGW4ZFJkKI.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page