Bug 12981 - #include file <sys/syscall.h> not found
Summary: #include file <sys/syscall.h> not found
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.7.0rc4
Hardware: PPC AIX
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-23 13:34 UTC by Erik Skovbjerg
Modified: 2019-01-23 23:59 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Skovbjerg 2017-08-23 13:34:50 UTC
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.
Comment 1 Björn Jacke 2019-01-23 23:59:38 UTC
syscall.h was obsoleted here with f2ff61ce9e8ab56d8a69fce29c9f214d5d98f89e
That also fixed this bug.