===> Building for nitro-0.5 clang -Os -Wall -Wno-unused-parameter -Wextra -Wwrite-strings -Wno-string-plus-int -L/opt/pkg/lib -o nitro nitro.c -lm nitro.c:421:6: warning: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (pipe2(alivepipefd, O_CLOEXEC) < 0) { ^ nitro.c:1141:8: warning: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (pipe2(services[j].log_in, O_CLOEXEC) < 0) { ^ nitro.c:1353:48: error: use of undeclared identifier 'SOCK_CLOEXEC' int checksock = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); ^ nitro.c:1366:45: error: use of undeclared identifier 'SOCK_CLOEXEC' controlsock = socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0); ^ nitro.c:1828:3: warning: call to undeclared function 'dup3'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] dup3(nullfd, 3, O_CLOEXEC); ^ nitro.c:1873:6: warning: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (pipe2(selfpipe, O_NONBLOCK | O_CLOEXEC) < 0) ^ 4 warnings and 2 errors generated. gmake: *** [Makefile:11: nitro] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/nitro *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/nitro