From: | Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | backend hba.c prob |
Date: | 2001-09-07 12:55:50 |
Message-ID: | 20010907135550.H6283@quartz.newn.cam.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-ports |
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
Now, the problem is sizeof(Cred), typedef struct cmsgcred Cred, and I don't
have a cmsgcred anywhere! The closest is my sys/ucred.h which defines a
struct ucred {
u_short cr_ref; /* reference count */
uid_t cr_uid; /* effective user id */
gid_t cr_gid; /* effective group id */
short cr_ngroups; /* number of groups */
gid_t cr_groups[NGROUPS]; /* groups */
};
Thoughts?
Cheers,
Patrick
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-09-07 13:59:00 | Re: Beta Monday? |
Previous Message | Larry Rosenman | 2001-09-07 12:31:50 | Re: Beta Monday? |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-09-07 14:14:27 | Re: backend hba.c prob |
Previous Message | Bruce Momjian | 2001-09-05 03:50:51 | Re: Re: patch for minor Win32 makefile bug |