Solaris 8 broken build: missing NSS_COMMON_H test
Michael Gerdts
Michael.Gerdts at usa.alcatel.com
Wed Jun 27 11:56:23 GMT 2001
This problem is fixed in today's CVS.
Thanks,
Mike
On Tue, Jun 26, 2001 at 01:31:57PM -0400, Michael Gerdts wrote:
> Current (as of Tue Jun 26 13:26:45 EDT 2001) is broken on Solaris. The
> build ends with:
>
> Compiling nsswitch/wb_client.c
> nsswitch/wb_client.c: In function `winbind_lookup_name':
> nsswitch/wb_client.c:34: storage size of `result' isn't known
> nsswitch/wb_client.c:46: conversion to incomplete type
> nsswitch/wb_client.c: In function `winbind_lookup_sid':
> nsswitch/wb_client.c:60: storage size of `result' isn't known
> nsswitch/wb_client.c:73: conversion to incomplete type
> gmake: *** [nsswitch/wb_client.o] Error 1
>
> wb_client.c:34 is:
>
> enum nss_status result;
>
> nss_status_t (note the slight difference) is defined in
> /usr/include/nss_common.h.
>
> Taking a look in include/includes.h, I see:
>
> #ifdef HAVE_NSS_COMMON_H
>
> /* Sun Solaris */
>
> #include <nss_common.h>
> #include <nss_dbdefs.h>
> #include <nsswitch.h>
>
> typedef nss_status_t NSS_STATUS;
>
> #define NSS_STATUS_SUCCESS NSS_SUCCESS
> #define NSS_STATUS_NOTFOUND NSS_NOTFOUND
> #define NSS_STATUS_UNAVAIL NSS_UNAVAIL
> #define NSS_STATUS_TRYAGAIN NSS_TRYAGAIN
>
> #elif HAVE_NSS_H
>
> In configure.in I see no reference to HAVE_NSS_COMMON_H, suggesting that
> an imcomplete merge from another branch may have been done.
>
> Mike
More information about the samba-technical
mailing list