OpenLDAP Faq-O-Matic : OpenLDAP Software FAQ : Installation : Platform Hints : Hewlett-Packard Tru64 UNIX : "NGROUPS" is not declared. (undeclared) on v4.0 1091 Tru64 (probably a BUG) | |
This is almost a bug for sure in openlap.. when you try to build on Tru64 you get:Entering subdirectory librariesMaking all in /Tools/install/openldap-2.1.16/libraries Entering subdirectory liblutilcc -g -I../../include -I../../include -c getpeereid.c cc: Error: /usr/include/sys/ucred.h, line 86: In the declaration of "cr_groups", "NGROUPS" is not declared. (undeclared) gid_t cr_groups[NGROUPS]; /* additional groups */--------------------------^ *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 NGROUPS is defined in sys/param.h BUT param.h is NOT included!!! even though configure picked it up correctly and put: /* Define if you have the <sys/param.h> header file. */ #define HAVE_SYS_PARAM_H 1 in portable.h The fix is to add: #include "ac/param.h" to the C file involved.. in this case it's getpeereid.c once you add that include file (which is shipped with openlap) then it includes the param.h. not sure how to report a bug, but at least it's here for future use... enjoy! stormy1777@yahoo.com | |
[Append to This Answer] |
Previous: | Why am I having problems installing on Tru64 v5.x ? |
|