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: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Problem compiling current snapshot
  • Date: Sat, 6 Apr 2002 08:42:49 -0500 (EST)


I believe Mark added this code...I'll try to get an autoconf cleanup put
in this weekend if someone else doesn't do it first (I'm pretty busy right
now...gotta arrange to get carpet put in downstairs to make way for the
new baby...so it's a good kind of busy, but busy nonetheless).

Brian

On Thu, 4 Apr 2002, Steve Langasek wrote:

> 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
>





Archive powered by MHonArc 2.6.24.

Top of Page