Solaris 8 broken build: missing NSS_COMMON_H test

Michael Gerdts Michael.Gerdts at usa.alcatel.com
Tue Jun 26 17:31:57 GMT 2001


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

-- 
Mike Gerdts                                              (919) 850-5284
Unix Systems Administrator               Michael.Gerdts at usa.alcatel.com




More information about the samba-technical mailing list