_capsicum.c:1:26: fatal error: sys/capsicum.h: No such file or directory #include ^ compilation terminated. _pledge.c: In function 'main': _pledge.c:3:2: error: implicit declaration of function 'pledge' [-Werror=implicit-function-declaration] return pledge("stdio", NULL); ^ cc1: all warnings being treated as errors _IN6_ADDR_GEN_MODE_NONE.c: In function 'main': _IN6_ADDR_GEN_MODE_NONE.c:3:10: error: 'IN6_ADDR_GEN_MODE_NONE' undeclared (first use in this function) int x = IN6_ADDR_GEN_MODE_NONE; ^ _IN6_ADDR_GEN_MODE_NONE.c:3:10: note: each undeclared identifier is reported only once for each function it appears in _getifaddrs_addrflags.c: In function 'main': _getifaddrs_addrflags.c:6:18: error: 'struct ifaddrs' has no member named 'ifa_addrflags' return (int)ifap->ifa_addrflags; ^ _getifaddrs_addrflags.c:7:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors _arc4random.c: In function 'main': _arc4random.c:3:2: error: implicit declaration of function 'arc4random' [-Werror=implicit-function-declaration] arc4random(); ^ cc1: all warnings being treated as errors _arc4random_uniform.c: In function 'main': _arc4random_uniform.c:3:2: error: implicit declaration of function 'arc4random_uniform' [-Werror=implicit-function-declaration] arc4random_uniform(100); ^ cc1: all warnings being treated as errors _pidfile.c:2:18: fatal error: util.h: No such file or directory #include ^ compilation terminated. _setproctitle.c: In function 'main': _setproctitle.c:4:2: error: implicit declaration of function 'setproctitle' [-Werror=implicit-function-declaration] setproctitle("foo"); ^ cc1: all warnings being treated as errors _strlcpy.c: In function 'main': _strlcpy.c:5:2: error: implicit declaration of function 'strlcpy' [-Werror=implicit-function-declaration] strlcpy(s2, s1, sizeof(s2)); ^ cc1: all warnings being treated as errors _strtoi.c: In function 'main': _strtoi.c:6:2: error: implicit declaration of function 'strtoi' [-Werror=implicit-function-declaration] strtoi("1234", NULL, 0, 0, INT32_MAX, &e); ^ cc1: all warnings being treated as errors _consttime_memequal.c: In function 'main': _consttime_memequal.c:3:2: error: implicit declaration of function 'consttime_memequal' [-Werror=implicit-function-declaration] return consttime_memequal("deadbeef", "deadbeef", 8); ^ cc1: all warnings being treated as errors _queue.c: In function 'main': _queue.c:4:2: error: #error TAILQ_FOREACH_SAFE #error TAILQ_FOREACH_SAFE ^ _queue.c: In function 'main': _queue.c:4:2: error: #error TAILQ_FOREACH_MUTABLE #error TAILQ_FOREACH_MUTABLE ^ _rbtree.c:1:24: fatal error: sys/rbtree.h: No such file or directory #include ^ compilation terminated. _reallocarray.c: In function 'main': _reallocarray.c:4:2: error: implicit declaration of function 'reallocarray' [-Werror=implicit-function-declaration] void *foo = reallocarray(NULL, 0, 0); ^ _reallocarray.c:4:14: error: initialization makes pointer from integer without a cast [-Werror] void *foo = reallocarray(NULL, 0, 0); ^ cc1: all warnings being treated as errors _be64enc.c:1:24: fatal error: sys/endian.h: No such file or directory #include ^ compilation terminated. _fls64.c:1:24: fatal error: sys/bitops.h: No such file or directory #include ^ compilation terminated. /tmp/ccYsP76p.o: In function `main': _md5.c:(.text+0x1c): undefined reference to `MD5Init' collect2: error: ld returned 1 exit status _sha256.c: In function 'main': _sha256.c:4:2: error: unknown type name 'SHA256_CTX' SHA256_CTX context; ^ _sha256.c:5:2: error: implicit declaration of function 'SHA256_Init' [-Werror=implicit-function-declaration] SHA256_Init(&context); ^ cc1: all warnings being treated as errors _sha256.c: In function 'main': _sha256.c:4:2: error: unknown type name 'SHA2_CTX' SHA2_CTX context; ^ _sha256.c:5:2: error: implicit declaration of function 'SHA256Init' [-Werror=implicit-function-declaration] SHA256Init(&context); ^ cc1: all warnings being treated as errors _hmac.c:2:18: fatal error: hmac.h: No such file or directory #include ^ compilation terminated. _hmac.c: In function 'main': _hmac.c:3:2: error: implicit declaration of function 'hmac' [-Werror=implicit-function-declaration] hmac(NULL, NULL, 0, NULL, 0, NULL, 0); ^ cc1: all warnings being treated as errors