Problem compiling current snapshot

Brian Bruns camber at ais.org
Sat Apr 6 08:42:49 EST 2002


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
> 




More information about the FreeTDS mailing list