Hardware: AIX OS 7.4.4 C-compiler xlc ver 13.1.3.0 config option: ./buildtools/bin/waf configure -j1 --prefix=/opt/DSV/samba --exec-prefix=/opt/DSV/samba --check-c-compiler=xlc --without-ldap --without-ads --without-ad-dc --bundled-libraries=ALL [2048/3388] Compiling source4/torture/local/nss_tests.c "../lib/util/tests/tfork.c", line 34.10: 1506-296 (S) #include file <sys/syscall.h> not found. "../source4/torture/local/nss_tests.c", line 355.64: 1506-280 (W) Function argument assignment between types "struct {...}**" and "struct passwd**" is not allowed. "../source4/torture/local/nss_tests.c", line 553.64: 1506-280 (W) Function argument assignment between types "struct {...}**" and "struct group**" is not allowed.
syscall.h was obsoleted here with f2ff61ce9e8ab56d8a69fce29c9f214d5d98f89e That also fixed this bug.