Re: backend hba.c prob

From: bpalmer <bpalmer(at)crimelabs(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: backend hba.c prob
Date: 2001-09-07 15:18:41
Message-ID: Pine.BSO.4.33.0109071110200.14876-100000@mizer.crimelabs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

On Fri, 7 Sep 2001, Bruce Momjian wrote:

> > gcc -O2 -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include -c -o hba.o hba.c
> > hba.c: In function `ident_unix':
> > hba.c:923: sizeof applied to an incomplete type
> > hba.c:960: dereferencing pointer to incomplete type
> > hba.c:965: dereferencing pointer to incomplete type
> > gmake: *** [hba.o] Error 1

> The code currently runs on FreeBSD and BSD/OS. Right now, it tests for
> BSD/OS and if it fails, assume it is FreeBSD. That is what the #ifndef
> fc_uid is for. Now, I assume you are on a *BSD which is not one of
> those. Do you have a struct fcred? I will browse your OS headers as
> soon as I know your OS.

Yeah, i'm seeing the same problem on OpenBSD-current (and 2.9). No Cred
anywhere!

This:

root(at)mizer:/usr/src$ egrep -r "fcred" *

turned up nothing interesting either.

Thoughts?

- Brandon

----------------------------------------------------------------------------
b. palmer, bpalmer(at)crimelabs(dot)net pgp:crimelabs.net/bpalmer.pgp5

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2001-09-07 15:18:45 Re: [COMMITTERS] pgsql/src/backend/utils/mb encnames.c
Previous Message Bruce Momjian 2001-09-07 15:01:59 Re: Beta Monday?

Browse pgsql-ports by date

  From Date Subject
Next Message Patrick Welche 2001-09-07 16:21:26 Re: backend hba.c prob
Previous Message Bruce Momjian 2001-09-07 14:37:28 Re: backend hba.c prob