WARNING: [license.mk] Every package should define a LICENSE.
===> Building for rootprobe-200301
clang -O -Wall -g -DDEBUG  -c rootprobe.c -o rootprobe.o
rootprobe.c:98:1: error: unknown type name 'HEADER'
HEADER *hp = (HEADER *)sendbuf;
^
rootprobe.c:98:23: error: expected expression
HEADER *hp = (HEADER *)sendbuf;
                      ^
rootprobe.c:98:15: error: use of undeclared identifier 'HEADER'
HEADER *hp = (HEADER *)sendbuf;
              ^
rootprobe.c:356:15: error: use of undeclared identifier 'QUERY'
        hp->opcode = QUERY;
                     ^
rootprobe.c:360:23: error: use of undeclared identifier 'HEADER'
        bp = &sendbuf[sizeof(HEADER)];
                             ^
rootprobe.c:385:17: error: use of undeclared identifier 'T_A'
                qtype = htons(T_A);
                              ^
rootprobe.c:385:17: error: use of undeclared identifier 'T_A'
rootprobe.c:385:17: error: use of undeclared identifier 'T_A'
rootprobe.c:385:17: error: use of undeclared identifier 'T_A'
rootprobe.c:387:17: error: use of undeclared identifier 'T_SOA'
                qtype = htons(T_SOA);
                              ^
rootprobe.c:387:17: error: use of undeclared identifier 'T_SOA'
rootprobe.c:387:17: error: use of undeclared identifier 'T_SOA'
rootprobe.c:387:17: error: use of undeclared identifier 'T_SOA'
rootprobe.c:390:17: error: use of undeclared identifier 'C_IN'
        qclass = htons(C_IN);
                       ^
rootprobe.c:390:17: error: use of undeclared identifier 'C_IN'
rootprobe.c:390:17: error: use of undeclared identifier 'C_IN'
rootprobe.c:390:17: error: use of undeclared identifier 'C_IN'
rootprobe.c:411:2: error: use of undeclared identifier 'HEADER'
        HEADER *hp;
        ^
rootprobe.c:514:21: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat]
                                timeout.tv_sec, timeout.tv_usec);
                                                ^~~~~~~~~~~~~~~
rootprobe.c:529:19: error: expected expression
                                hp = (HEADER *)recvbuf;
                                              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
*** [rootprobe.o] Error code 1

bmake: stopped making "all" in /Users/pbulk/build/net/rootprobe/work/rootprobe
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/net/rootprobe/work/rootprobe
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/rootprobe
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/rootprobe