torture/../../lib/nss_wrapper/testsuite.c: In function `test_nwrap_enum_r_passwd':
torture/../../lib/nss_wrapper/testsuite.c:336: error: too many arguments to function `getpwent_r'
torture/../../lib/nss_wrapper/testsuite.c: In function `test_nwrap_enum_r_group':
torture/../../lib/nss_wrapper/testsuite.c:518: error: too many arguments to function `getgrent_r'
on solaris getpwent_r and getgrent_r only take 3 arguments:
struct group *getgrent_r(struct group *grp, char *buffer, int bufsize);
struct passwd *getpwent_r(struct passwd *pwd, char *buffer, int buflen);
on solaris line 336 should be:
pwdp = getpwent_r(&pwd, buffer, sizeof(buffer));
and line 518:
grpp = getgrent_r(&grp, buffer, sizeof(buffer));
Tridge, please fix them when you are able to do so.
Do you face the problems also on the new WAF-based buildsystem? Since the old autoconf-based system will not be maintained anymore.
This should be fixed now. The problem was when you didn't compile this with the NSS wrapper headers the build used the system headers.