backend hba.c prob
| От | Patrick Welche |
|---|---|
| Тема | backend hba.c prob |
| Дата | |
| Msg-id | 20010907135550.H6283@quartz.newn.cam.ac.uk обсуждение исходный текст |
| Ответы |
Re: backend hba.c prob
Re: backend hba.c prob |
| Список | pgsql-hackers |
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; /*
effectiveuser id */ gid_t cr_gid; /* effective group id */ short cr_ngroups;
/* number of groups */ gid_t cr_groups[NGROUPS]; /* groups */
};
Thoughts?
Cheers,
Patrick
В списке pgsql-hackers по дате отправления: