Compiling nsswitch/pam_winbind.c with -fPIC -DPIC nsswitch/pam_winbind.c: In function `winbind_auth_request': nsswitch/pam_winbind.c:407: error: `PATH_MAX' undeclared (first use in this function) nsswitch/pam_winbind.c:407: error: (Each undeclared identifier is reported only once nsswitch/pam_winbind.c:407: error: for each function it appears in.) nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt': nsswitch/pam_winbind.c:981: warning: passing arg 3 of `pam_get_data' from incompatible pointer type *** Error code 1 pam_winbind missed #include, which describes PATH_MAX (sys/syslimits.h). There is a patch to fix: --- pam_winbind.h.bak Thu May 18 14:07:15 2006 +++ pam_winbind.h Thu May 18 14:07:15 2006 @@ -18,6 +18,7 @@ #include <fcntl.h> #include <errno.h> #include <time.h> +#include <sys/syslimits.h> #include <config.h>
Not all systems have sys/syslimits.h - does this work if it's put after the #include config.h and protected with #ifdef HAVE_SYS_SYSLIMITS_H ? Jeremy.
(In reply to comment #1) > Not all systems have sys/syslimits.h - does this work if it's > put after the #include config.h and protected with > #ifdef HAVE_SYS_SYSLIMITS_H ? Hasn't check, but I think it should work. Of course, syslimits.h should be checked by configure.
Still an issue ? Please retest 3.0.23rc3 and reopen if necessary.
closing. no response.