The Samba-Bugzilla – Bug 7320
build fails because lib/nss_wrapper/testsuite.c doesnt honour HAVE_GETGROUPLIST
Last modified: 2013-02-18 13:30:54 UTC
linking smbtorture fails:
Undefined first referenced
symbol in file
ld: fatal: symbol referencing errors. No output written to bin/smbtorture
collect2: ld returned 1 exit status
#define getgrouplist(user, group, groups, ngroups) 0
testsuite.c is missing that check and fails because Solaris has no getgrouplist.
why don't we use the getgrouplist_internals function from ./source3/lib/system_smbd.c when getgrouplist isn't available on the target?
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.