Re: backend hba.c prob - Mailing list pgsql-hackers

From bpalmer
Subject Re: backend hba.c prob
Date
Msg-id Pine.BSO.4.33.0109071110200.14876-100000@mizer.crimelabs.net
Whole thread Raw
In response to Re: backend hba.c prob  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: backend hba.c prob
List pgsql-hackers
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@mizer:/usr/src$ egrep -r "fcred" *

turned up nothing interesting either.

Thoughts?

- Brandon


----------------------------------------------------------------------------b. palmer,  bpalmer@crimelabs.net
pgp:crimelabs.net/bpalmer.pgp5
 



pgsql-hackers by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: CVS access
Next
From: Bruce Momjian
Date:
Subject: CVS ODBC does not compile