Re: [HACKERS] Errors compiling hba.c in current CVS

2003-06-17 Thread Bruno Wolff III
On Mon, Jun 16, 2003 at 17:21:01 -0400, Bruce Momjian <[EMAIL PROTECTED]> wrote: > > Does the following patch fix the problem? It doesn't use sa_family_t > anymore. I tried current CVS and current CVS with the patch you attached and it still didn't work. ---(end of bro

Re: [HACKERS] Errors compiling hba.c in current CVS

2003-06-17 Thread Kurt Roeckx
On Mon, Jun 16, 2003 at 05:21:01PM -0400, Bruce Momjian wrote: > > Does the following patch fix the problem? It doesn't use sa_family_t > anymore. > > ! sa_family_t ss_family; /* address family */ [...] > ! char dummy_sa_family[SIZEOF_SOCKADDR_FAMILY]; That is NOT going to work

Re: [HACKERS] Errors compiling hba.c in current CVS

2003-06-17 Thread Bruno Wolff III
On Mon, Jun 16, 2003 at 17:21:01 -0400, Bruce Momjian <[EMAIL PROTECTED]> wrote: > > Does the following patch fix the problem? It doesn't use sa_family_t > anymore. I tried using the pacth and it didn't help. I am going to get a fresh CVS copy and see if that works. --

Re: [HACKERS] Errors compiling hba.c in current CVS

2003-06-16 Thread Bruce Momjian
Does the following patch fix the problem? It doesn't use sa_family_t anymore. --- Kurt Roeckx wrote: > On Mon, Jun 16, 2003 at 02:23:31PM -0500, Bruno Wolff III wrote: > > On Mon, Jun 16, 2003 at 11:47:58 -0500, > > Brun

Re: [HACKERS] Errors compiling hba.c in current CVS

2003-06-16 Thread Kurt Roeckx
On Mon, Jun 16, 2003 at 02:23:31PM -0500, Bruno Wolff III wrote: > On Mon, Jun 16, 2003 at 11:47:58 -0500, > Bruno Wolff III <[EMAIL PROTECTED]> wrote: > > I get the errors below when compiling on a RH 6.1 system. > > I used the following config paramters: > > ./configure --prefix=/usr/local/pgsq

Re: [HACKERS] Errors compiling hba.c in current CVS

2003-06-16 Thread Kurt Roeckx
On Mon, Jun 16, 2003 at 03:36:55PM -0400, Bruce Momjian wrote: > > I am working on this now. The missing typedef for sa_family_t is really > just used for structure alignment, so I am working on a fix to define a > char array and #define to be the same length as the native ss_family, > because on

Re: [HACKERS] Errors compiling hba.c in current CVS

2003-06-16 Thread Bruce Momjian
I am working on this now. The missing typedef for sa_family_t is really just used for structure alignment, so I am working on a fix to define a char array and #define to be the same length as the native ss_family, because on my system sa_family_t is: sys/sockettypes.h:11:typedef u_char s

Re: [HACKERS] Errors compiling hba.c in current CVS

2003-06-16 Thread Bruno Wolff III
On Mon, Jun 16, 2003 at 11:47:58 -0500, Bruno Wolff III <[EMAIL PROTECTED]> 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 `pa

[HACKERS] Errors compiling hba.c in current CVS

2003-06-16 Thread Bruno Wolff III
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 memb