Re: Errors compiling hba.c in current CVS - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Re: Errors compiling hba.c in current CVS
Date
Msg-id 20030616192331.GA8871@wolff.to
Whole thread Raw
In response to Errors compiling hba.c in current CVS  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: Errors compiling hba.c in current CVS  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Errors compiling hba.c in current CVS  (Kurt Roeckx <Q@ping.be>)
List pgsql-hackers
On Mon, Jun 16, 2003 at 11:47:58 -0500, Bruno Wolff III <bruno@wolff.to> wrote:
> I get the errors below when compiling on a RH 6.1 system.
> I used the following config paramters:
> ./configure --prefix=/usr/local/pgsql --enable-integer-datetimes --with-pgport=5433
> 
> hba.c: In function `parse_hba':
> hba.c:590: structure has no member named `ss_family'
> hba.c:659: structure has no member named `ss_family'
> hba.c:691: structure has no member named `ss_family'
> hba.c: In function `ident_inet':
> hba.c:1210: structure has no member named `ss_family'
> hba.c: In function `authident':
> hba.c:1461: structure has no member named `ss_family'
> hba.c:1467: warning: unreachable code at beginning of switch statement
> make[3]: *** [hba.o] Error 1

I looked into this a bit more and found ss_family is defined in pqcomm.h
which is included in auth.c which compiles and not in either hba.c or
ip.c which don't compile.


pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: 7.3.3 COMPILE FAILURE: pg_dump (fwd)
Next
From: Bruce Momjian
Date:
Subject: Re: Errors compiling hba.c in current CVS