Skip to content

Instantly share code, notes, and snippets.

@jpmens
Last active December 21, 2020 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpmens/291a7a2013ed17623cc4b44e63e3dbce to your computer and use it in GitHub Desktop.
Save jpmens/291a7a2013ed17623cc4b44e63e3dbce to your computer and use it in GitHub Desktop.

Attemping to build BIND on macOS Catalina, 10.15.7

  • 9.11.26: success for tools and named, fails on bin/python/isc/tests/ due to missing python2
  • 9.16.10: fails
  • 9.17.8: fails
  • current git: fails

./configure

./configure \
        --prefix=/usr/local \
        --with-libxml2 \
        --with-json-c \
        --with-openssl=/usr/local/Cellar/openssl\@1.1/1.1.1h/
$ make -k; make -k
making all in /Users/jpm/Downloads/build/bind-9.16.10/make
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include/isc
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include/pk11
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include/pkcs11
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/netmgr
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/unix
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/unix/include
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/unix/include/isc
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/pthreads
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/pthreads/include
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isc/pthreads/include/isc
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isccc
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isccc/include
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/isccc/include/isccc
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/dns
/Applications/Xcode.app/Contents/Developer/usr/bin/make include/dns/enumtype.h
make[3]: `include/dns/enumtype.h' is up to date.
/Applications/Xcode.app/Contents/Developer/usr/bin/make include/dns/enumclass.h
make[3]: `include/dns/enumclass.h' is up to date.
/Applications/Xcode.app/Contents/Developer/usr/bin/make include/dns/rdatastruct.h
make[3]: `include/dns/rdatastruct.h' is up to date.
/Applications/Xcode.app/Contents/Developer/usr/bin/make code.h
make[3]: `code.h' is up to date.
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include/dns
making all in /Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include/dst
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c cache.c
cache.c:559:4: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&cleaner->cache->live_tasks);
^
cache.c:1046:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&cache->live_tasks);
^
2 errors generated.
make[2]: *** [cache.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c keymgr.c
keymgr.c:1968:3: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(when, timestr, sizeof(timestr));
^
keymgr.c:2014:5: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(remove_time, timestr,
^
keymgr.c:2043:4: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(retire_time, timestr,
^
keymgr.c:2093:2: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(now, timestr, sizeof(timestr));
^
4 errors generated.
make[2]: *** [keymgr.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c name.c
name.c:468:10: error: implicit declaration of function 'isc_hash32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return (isc_hash32(name->ndata, length, case_sensitive));
^
name.c:483:10: error: implicit declaration of function 'isc_hash32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return (isc_hash32(name->ndata, name->length, case_sensitive));
^
2 errors generated.
make[2]: *** [name.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c rbtdb.c
rbtdb.c:1070:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&rbtdb->current_version->references);
^
rbtdb.c:8781:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&rbtdb->references);
^
rbtdb.c:8802:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&rbtdb->references);
^
rbtdb.c:10164:20: error: implicit declaration of function 'isc_hash32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
uint32_t hash = isc_hash32(
^
4 errors generated.
make[2]: *** [rbtdb.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c rpz.c
rpz.c:1505:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&zones->irefs);
^
rpz.c:1590:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&zone->refs);
^
2 errors generated.
make[2]: *** [rpz.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c sdlz.c
sdlz.c:641:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&node->references);
^
sdlz.c:653:4: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&node->references);
^
sdlz.c:1304:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&node->references);
^
3 errors generated.
make[2]: *** [sdlz.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c tsig.c
tsig.c:352:3: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&tkey->refs);
^
1 error generated.
make[2]: *** [tsig.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c view.c
view.c:317:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&view->weakrefs);
^
1 error generated.
make[2]: *** [view.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c zone.c
zone.c:1162:2: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&zone->erefs);
^
1 error generated.
make[2]: *** [zone.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c zt.c
zt.c:378:3: error: implicit declaration of function 'isc_refcount_decrement1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement1(&zt->references);
^
1 error generated.
make[2]: *** [zt.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c dst_api.c
dst_api.c:1920:2: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(when, output, sizeof(output));
^
1 error generated.
make[2]: *** [dst_api.o] Error 1
gcc -include /Users/jpm/Downloads/build/bind-9.16.10/config.h -I/Users/jpm/Downloads/build/bind-9.16.10 -I../.. -I. -I../../lib/dns -Iinclude -I/Users/jpm/Downloads/build/bind-9.16.10/lib/dns/include -I../../lib/dns/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I /usr/local/include -I/Users/jpm/Downloads/build/bind-9.16.10/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I/usr/local/Cellar/openssl@1.1/1.1.1h//include -I/usr/local/Cellar/json-c/0.14/include -I/usr/local/Cellar/json-c/0.14/include/json-c -I /usr/local/include -DGSSAPI -DUSE_ISC_SPNEGO -g -O2 -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c client.c
client.c:594:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&client->references);
^
client.c:1799:2: error: implicit declaration of function 'isc_refcount_decrement1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement1(&client->references);
^
client.c:2944:2: error: implicit declaration of function 'isc_refcount_decrement1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement1(&client->references);
^
3 errors generated.
make[2]: *** [client.o] Error 1
make[2]: Target `all' not remade because of errors.
make[1]: *** [subdirs] Error 1
make[1]: Target `all' not remade because of errors.
make: *** [subdirs] Error 1
make: Target `all' not remade because of errors.
$ git pull (on commit c850a334d9306bf9dc1f8c3ba83c39258a2a72dd)
$ make -k; make -k
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in .
make[2]: Nothing to be done for `all-am'.
Making all in lib
Making all in isc
make[4]: Nothing to be done for `all-am'.
Making all in dns
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
CC libdns_la-cache.lo
cache.c:559:4: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&cleaner->cache->live_tasks);
^
cache.c:1046:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&cache->live_tasks);
^
2 errors generated.
make[5]: *** [libdns_la-cache.lo] Error 1
CC libdns_la-dns64.lo
In file included from dns64.c:22:
./include/dns/dns64.h:171:48: error: unknown type name 'isc_netprefix_t'; did you mean 'isc_prefix_t'?
dns_dns64_findprefix(dns_rdataset_t *rdataset, isc_netprefix_t *prefix,
^~~~~~~~~~~~~~~
isc_prefix_t
/usr/local/include/isc/radix.h:54:3: note: 'isc_prefix_t' declared here
} isc_prefix_t;
^
dns64.c:413:48: error: unknown type name 'isc_netprefix_t'; did you mean 'isc_prefix_t'?
dns_dns64_findprefix(dns_rdataset_t *rdataset, isc_netprefix_t *prefix,
^~~~~~~~~~~~~~~
isc_prefix_t
/usr/local/include/isc/radix.h:54:3: note: 'isc_prefix_t' declared here
} isc_prefix_t;
^
dns64.c:463:39: error: no member named 'addr' in 'struct isc_prefix'; did you mean 'add'?
isc_netaddr_fromin6(&prefix[count].addr, &ina6);
^~~~
add
/usr/local/include/isc/radix.h:53:4: note: 'add' declared here
} add;
^
dns64.c:464:18: error: no member named 'prefixlen' in 'struct isc_prefix'
prefix[count].prefixlen = oplen;
~~~~~~~~~~~~~ ^
4 errors generated.
make[5]: *** [libdns_la-dns64.lo] Error 1
CC libdns_la-dst_api.lo
dst_api.c:1920:2: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(when, output, sizeof(output));
^
1 error generated.
make[5]: *** [libdns_la-dst_api.lo] Error 1
CC libdns_la-keymgr.lo
keymgr.c:1968:3: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(when, timestr, sizeof(timestr));
^
keymgr.c:2014:5: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(remove_time, timestr,
^
keymgr.c:2043:4: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(retire_time, timestr,
^
keymgr.c:2093:2: error: implicit declaration of function 'isc_stdtime_tostring' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_stdtime_tostring(now, timestr, sizeof(timestr));
^
4 errors generated.
make[5]: *** [libdns_la-keymgr.lo] Error 1
CC libdns_la-name.lo
In file included from name.c:26:
/usr/local/include/isc/thread.h:67:2: error: "Thread-local storage support is required!"
#error "Thread-local storage support is required!"
^
name.c:468:10: error: implicit declaration of function 'isc_hash32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return (isc_hash32(name->ndata, length, case_sensitive));
^
name.c:483:10: error: implicit declaration of function 'isc_hash32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return (isc_hash32(name->ndata, name->length, case_sensitive));
^
3 errors generated.
make[5]: *** [libdns_la-name.lo] Error 1
CC libdns_la-openssl_link.lo
In file included from openssl_link.c:31:
/usr/local/include/isc/thread.h:67:2: error: "Thread-local storage support is required!"
#error "Thread-local storage support is required!"
^
1 error generated.
make[5]: *** [libdns_la-openssl_link.lo] Error 1
CC libdns_la-rbtdb.lo
rbtdb.c:1069:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&rbtdb->current_version->references);
^
rbtdb.c:8780:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&rbtdb->references);
^
rbtdb.c:8801:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&rbtdb->references);
^
rbtdb.c:10163:20: error: implicit declaration of function 'isc_hash32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
uint32_t hash = isc_hash32(
^
4 errors generated.
make[5]: *** [libdns_la-rbtdb.lo] Error 1
CC libdns_la-rpz.lo
rpz.c:1505:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&zones->irefs);
^
rpz.c:1590:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&zone->refs);
^
2 errors generated.
make[5]: *** [libdns_la-rpz.lo] Error 1
CC libdns_la-sdlz.lo
sdlz.c:641:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&node->references);
^
sdlz.c:653:4: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&node->references);
^
sdlz.c:1304:3: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&node->references);
^
3 errors generated.
make[5]: *** [libdns_la-sdlz.lo] Error 1
CC libdns_la-tsig.lo
tsig.c:352:3: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&tkey->refs);
^
1 error generated.
make[5]: *** [libdns_la-tsig.lo] Error 1
CC libdns_la-view.lo
In file included from view.c:39:
./include/dns/dns64.h:171:48: error: unknown type name 'isc_netprefix_t'; did you mean 'isc_prefix_t'?
dns_dns64_findprefix(dns_rdataset_t *rdataset, isc_netprefix_t *prefix,
^~~~~~~~~~~~~~~
isc_prefix_t
/usr/local/include/isc/radix.h:54:3: note: 'isc_prefix_t' declared here
} isc_prefix_t;
^
view.c:317:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&view->weakrefs);
^
2 errors generated.
make[5]: *** [libdns_la-view.lo] Error 1
CC libdns_la-xfrin.lo
xfrin.c:749:2: error: implicit declaration of function 'isc_nm_cancelread' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nm_cancelread(xfr->readhandle);
^
xfrin.c:749:2: note: did you mean 'isc_nm_pauseread'?
/usr/local/include/isc/netmgr.h:203:1: note: 'isc_nm_pauseread' declared here
isc_nm_pauseread(isc_nmsocket_t *sock);
^
xfrin.c:874:8: error: implicit declaration of function 'isc_nm_tcpdnsconnect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
CHECK(isc_nm_tcpdnsconnect(xfr->netmgr,
^
xfrin.c:882:2: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&xfr->connects);
^
xfrin.c:926:2: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&xfr->connects);
^
xfrin.c:1104:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(send_xfr->handle, &xfr->sendhandle);
^
xfrin.c:1135:2: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&xfr->sends);
^
xfrin.c:1145:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(handle, &recv_xfr->readhandle);
^
xfrin.c:1147:32: warning: incompatible pointer types passing 'void (isc_nmhandle_t *, isc_result_t, isc_region_t *, void *)' (aka 'void (struct isc_nmhandle *, unsigned int, struct isc_region *, void *)') to parameter of type 'isc_nm_recv_cb_t' (aka 'void (*)(struct isc_nmhandle *, struct isc_region *, void *)') [-Wincompatible-pointer-types]
isc_nm_read(recv_xfr->handle, xfrin_recv_done, recv_xfr);
^~~~~~~~~~~~~~~
/usr/local/include/isc/netmgr.h:200:54: note: passing argument to parameter 'cb' here
isc_nm_read(isc_nmhandle_t *handle, isc_nm_recv_cb_t cb, void *cbarg);
^
xfrin.c:1154:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&xfr->sendhandle);
^
xfrin.c:1154:2: note: did you mean 'isc_nmhandle_attach'?
xfrin.c:1104:2: note: 'isc_nmhandle_attach' declared here
isc_nmhandle_attach(send_xfr->handle, &xfr->sendhandle);
^
xfrin.c:1170:2: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&xfr->recvs);
^
xfrin.c:1235:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&xfr->readhandle);
^
xfrin.c:1436:28: warning: incompatible pointer types passing 'void (isc_nmhandle_t *, isc_result_t, isc_region_t *, void *)' (aka 'void (struct isc_nmhandle *, unsigned int, struct isc_region *, void *)') to parameter of type 'isc_nm_recv_cb_t' (aka 'void (*)(struct isc_nmhandle *, struct isc_region *, void *)') [-Wincompatible-pointer-types]
isc_nm_read(xfr->handle, xfrin_recv_done, xfr);
^~~~~~~~~~~~~~~
/usr/local/include/isc/netmgr.h:200:54: note: passing argument to parameter 'cb' here
isc_nm_read(isc_nmhandle_t *handle, isc_nm_recv_cb_t cb, void *cbarg);
^
xfrin.c:1448:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&xfr->readhandle);
^
xfrin.c:1496:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&xfr->readhandle);
^
xfrin.c:1499:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&xfr->sendhandle);
^
2 warnings and 13 errors generated.
make[5]: *** [libdns_la-xfrin.lo] Error 1
CC libdns_la-zone.lo
In file included from zone.c:35:
/usr/local/include/isc/thread.h:67:2: error: "Thread-local storage support is required!"
#error "Thread-local storage support is required!"
^
zone.c:1169:2: error: implicit declaration of function 'isc_refcount_decrement0' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement0(&zone->erefs);
^
2 errors generated.
make[5]: *** [libdns_la-zone.lo] Error 1
CC libdns_la-zt.lo
zt.c:378:3: error: implicit declaration of function 'isc_refcount_decrement1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement1(&zt->references);
^
1 error generated.
make[5]: *** [libdns_la-zt.lo] Error 1
CC libdns_la-client.lo
client.c:585:2: error: implicit declaration of function 'isc_refcount_decrementz' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrementz(&client->references);
^
client.c:1790:2: error: implicit declaration of function 'isc_refcount_decrement1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement1(&client->references);
^
client.c:2935:2: error: implicit declaration of function 'isc_refcount_decrement1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_refcount_decrement1(&client->references);
^
3 errors generated.
make[5]: *** [libdns_la-client.lo] Error 1
make[5]: Target `all-am' not remade because of errors.
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
Making all in isccc
make[4]: Nothing to be done for `all-am'.
Making all in ns
CC libns_la-client.lo
client.c:287:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->sendhandle);
^
client.c:333:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(client->handle, &client->sendhandle);
^
client.c:1033:3: error: implicit declaration of function 'isc_nm_gettimeouts' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nm_gettimeouts(isc_nmhandle_netmgr(client->handle), NULL,
^
client.c:1033:3: note: did you mean 'isc_nm_tcp_gettimeouts'?
/usr/local/include/isc/netmgr.h:323:1: note: 'isc_nm_tcp_gettimeouts' declared here
isc_nm_tcp_gettimeouts(isc_nm_t *mgr, uint32_t *initial, uint32_t *idle,
^
3 errors generated.
make[4]: *** [libns_la-client.lo] Error 1
CC libns_la-interfacemgr.lo
interfacemgr.c:459:7: warning: incompatible pointer types passing 'void (isc_nmhandle_t *, isc_result_t, isc_region_t *, void *)' (aka 'void (struct isc_nmhandle *, unsigned int, struct isc_region *, void *)') to parameter of type 'isc_nm_recv_cb_t' (aka 'void (*)(struct isc_nmhandle *, struct isc_region *, void *)') [-Wincompatible-pointer-types]
ns__client_request, ifp, sizeof(ns_client_t),
^~~~~~~~~~~~~~~~~~
/usr/local/include/isc/netmgr.h:163:72: note: passing argument to parameter 'cb' here
isc_nm_listenudp(isc_nm_t *mgr, isc_nmiface_t *iface, isc_nm_recv_cb_t cb,
^
interfacemgr.c:469:46: warning: incompatible pointer types passing 'void (isc_nmhandle_t *, isc_result_t, isc_region_t *, void *)' (aka 'void (struct isc_nmhandle *, unsigned int, struct isc_region *, void *)') to parameter of type 'isc_nm_recv_cb_t' (aka 'void (*)(struct isc_nmhandle *, struct isc_region *, void *)') [-Wincompatible-pointer-types]
ifp->mgr->nm, (isc_nmiface_t *)&ifp->addr, ns__client_request,
^~~~~~~~~~~~~~~~~~
/usr/local/include/isc/netmgr.h:255:75: note: passing argument to parameter 'cb' here
isc_nm_listentcpdns(isc_nm_t *mgr, isc_nmiface_t *iface, isc_nm_recv_cb_t cb,
^
interfacemgr.c:470:8: warning: incompatible pointer types passing 'isc_result_t (isc_nmhandle_t *, isc_result_t, void *)' (aka 'unsigned int (struct isc_nmhandle *, unsigned int, void *)') to parameter of type 'isc_nm_cb_t' (aka 'void (*)(struct isc_nmhandle *, unsigned int, void *)') [-Wincompatible-pointer-types]
ifp, ns__client_tcpconn, ifp, sizeof(ns_client_t),
^~~~~~~~~~~~~~~~~~
/usr/local/include/isc/netmgr.h:256:32: note: passing argument to parameter 'accept_cb' here
void *cbarg, isc_nm_cb_t accept_cb, void *accept_cbarg,
^
interfacemgr.c:514:11: error: implicit declaration of function 'isc_nm_listentlsdns' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
result = isc_nm_listentlsdns(
^
interfacemgr.c:514:11: note: did you mean 'isc_nm_listentcpdns'?
/usr/local/include/isc/netmgr.h:255:1: note: 'isc_nm_listentcpdns' declared here
isc_nm_listentcpdns(isc_nm_t *mgr, isc_nmiface_t *iface, isc_nm_recv_cb_t cb,
^
interfacemgr.c:609:22: warning: incompatible pointer types passing 'isc_nmsocket_t **' (aka 'struct isc_nmsocket **') to parameter of type 'isc_nmsocket_t *' (aka 'struct isc_nmsocket *'); remove & [-Wincompatible-pointer-types]
isc_nmsocket_close(&ifp->udplistensocket);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/isc/netmgr.h:73:36: note: passing argument to parameter 'sock' here
isc_nmsocket_close(isc_nmsocket_t *sock);
^
interfacemgr.c:613:22: warning: incompatible pointer types passing 'isc_nmsocket_t **' (aka 'struct isc_nmsocket **') to parameter of type 'isc_nmsocket_t *' (aka 'struct isc_nmsocket *'); remove & [-Wincompatible-pointer-types]
isc_nmsocket_close(&ifp->tcplistensocket);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/isc/netmgr.h:73:36: note: passing argument to parameter 'sock' here
isc_nmsocket_close(isc_nmsocket_t *sock);
^
5 warnings and 1 error generated.
make[4]: *** [libns_la-interfacemgr.lo] Error 1
CC libns_la-listenlist.lo
listenlist.c:42:12: error: implicit declaration of function 'isc_nm_tls_create_server_ctx' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
result = isc_nm_tls_create_server_ctx(key, cert, &elt->sslctx);
^
1 error generated.
make[4]: *** [libns_la-listenlist.lo] Error 1
CC libns_la-notify.lo
notify.c:57:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->reqhandle);
^
notify.c:68:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->reqhandle);
^
notify.c:85:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(handle, &client->reqhandle);
^
3 errors generated.
make[4]: *** [libns_la-notify.lo] Error 1
CC libns_la-query.lo
In file included from query.c:27:
/usr/local/include/isc/thread.h:67:2: error: "Thread-local storage support is required!"
#error "Thread-local storage support is required!"
^
In file included from query.c:36:
../../lib/dns/include/dns/dns64.h:171:48: error: unknown type name 'isc_netprefix_t'; did you mean 'isc_prefix_t'?
dns_dns64_findprefix(dns_rdataset_t *rdataset, isc_netprefix_t *prefix,
^~~~~~~~~~~~~~~
isc_prefix_t
/usr/local/include/isc/radix.h:54:3: note: 'isc_prefix_t' declared here
} isc_prefix_t;
^
query.c:561:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->reqhandle);
^
query.c:588:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->reqhandle);
^
query.c:601:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->reqhandle);
^
query.c:2492:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->prefetchhandle);
^
query.c:2535:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(client->handle, &client->prefetchhandle);
^
query.c:2544:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->prefetchhandle);
^
query.c:2749:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(client->handle, &client->prefetchhandle);
^
query.c:2757:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->prefetchhandle);
^
query.c:5819:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->fetchhandle);
^
query.c:6089:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(client->handle, &client->fetchhandle);
^
query.c:6096:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->fetchhandle);
^
query.c:6453:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->fetchhandle);
^
query.c:6494:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(client->handle, &client->fetchhandle);
^
query.c:11482:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(handle, &client->reqhandle);
^
16 errors generated.
make[4]: *** [libns_la-query.lo] Error 1
CC libns_la-update.lo
update.c:1570:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(client->handle, &client->updatehandle);
^
update.c:1596:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->reqhandle);
^
update.c:1611:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(handle, &client->reqhandle);
^
update.c:1683:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->reqhandle);
^
update.c:3548:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->updatehandle);
^
update.c:3564:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->updatehandle);
^
update.c:3601:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->updatehandle);
^
update.c:3653:2: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(client->handle, &client->updatehandle);
^
8 errors generated.
make[4]: *** [libns_la-update.lo] Error 1
CC libns_la-xfrout.lo
xfrout.c:1193:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&client->reqhandle);
^
xfrout.c:1568:3: error: implicit declaration of function 'isc_nmhandle_attach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_attach(xfr->client->handle,
^
xfrout.c:1578:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&xfr->client->reqhandle);
^
xfrout.c:1622:3: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&xfr->client->sendhandle);
^
xfrout.c:1677:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&xfr->client->sendhandle);
^
xfrout.c:1738:2: error: implicit declaration of function 'isc_nmhandle_detach' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_nmhandle_detach(&xfr->client->reqhandle);
^
6 errors generated.
make[4]: *** [libns_la-xfrout.lo] Error 1
make[4]: *** No rule to make target `../../lib/dns/libdns.la', needed by `libns.la'.
make[4]: Target `all-am' not remade because of errors.
make[3]: *** [all-recursive] Error 1
make[3]: Target `all' not remade because of errors.
Making all in isccfg
make[4]: *** No rule to make target `../../lib/dns/libdns.la', needed by `libisccfg.la'.
make[4]: Target `all-am' not remade because of errors.
make[3]: *** [all-recursive] Error 1
make[3]: Target `all' not remade because of errors.
Making all in bind9
make[3]: *** No rule to make target `../../lib/ns/libns.la', needed by `libbind9.la'.
make[3]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `libbind9.la'.
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `libbind9.la'.
make[3]: Target `all' not remade because of errors.
Making all in irs
make[4]: *** No rule to make target `../../lib/dns/libdns.la', needed by `libirs.la'.
make[4]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `libirs.la'.
make[4]: Target `all-am' not remade because of errors.
make[3]: *** [all-recursive] Error 1
make[3]: Target `all' not remade because of errors.
Making all in samples
make[3]: *** No rule to make target `../../lib/irs/libirs.la', needed by `resolve'.
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `resolve'.
make[3]: Target `all' not remade because of errors.
make[3]: Nothing to be done for `all-am'.
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
Making all in doc
Making all in .
make[3]: Nothing to be done for `all-am'.
Making all in misc
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `cfg_test'.
make[3]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `cfg_test'.
make[3]: Target `all' not remade because of errors.
Making all in man
SPHINX manpages.stamp
Exception occurred:
File "/Library/Python/2.7/site-packages/docutils/writers/manpage.py", line 865, in dedent
self._indent.pop()
IndexError: pop from empty list
The full traceback has been saved in /var/folders/zw/gxqp7b7j1tb27n275tjt7c180000gn/T/sphinx-err-MKZVGu.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make[3]: *** [manpages.stamp] Error 1
make[3]: Target `all' not remade because of errors.
Making all in arm
make[3]: Nothing to be done for `all'.
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
Making all in bin
Making all in named
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CC controlconf.o
controlconf.c:254:65: error: too few arguments to function call, expected 4, have 3
isccc_ccmsg_readmessage(&conn->ccmsg, control_recvmessage, conn);
~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/isccc/ccmsg.h:88:1: note: 'isccc_ccmsg_readmessage' declared here
isc_result_t
^
controlconf.c:264:57: error: no member named 'handle' in 'struct isccc_ccmsg'
isc_sockaddr_t peeraddr = isc_nmhandle_peeraddr(ccmsg->handle);
~~~~~ ^
controlconf.c:433:21: error: member reference type 'isc_buffer_t' (aka 'struct isc_buffer') is not a pointer; did you mean to use '.'?
ccregion.rstart = isc_buffer_base(conn->ccmsg.buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/isc/include/isc/buffer.h:146:40: note: expanded from macro 'isc_buffer_base'
#define isc_buffer_base(b) ((void *)(b)->base) /*a*/
~~~^
controlconf.c:434:19: error: member reference type 'isc_buffer_t' (aka 'struct isc_buffer') is not a pointer; did you mean to use '.'?
ccregion.rend = isc_buffer_used(conn->ccmsg.buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/isc/include/isc/buffer.h:152:32: note: expanded from macro 'isc_buffer_used'
((void *)((unsigned char *)(b)->base + (b)->used)) /*d*/
~~~^
controlconf.c:434:19: error: member reference type 'isc_buffer_t' (aka 'struct isc_buffer') is not a pointer; did you mean to use '.'?
ccregion.rend = isc_buffer_used(conn->ccmsg.buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/isc/include/isc/buffer.h:152:44: note: expanded from macro 'isc_buffer_used'
((void *)((unsigned char *)(b)->base + (b)->used)) /*d*/
~~~^
controlconf.c:617:35: warning: incompatible pointer types passing 'isc_nmhandle_t *' (aka 'struct isc_nmhandle *') to parameter of type 'isc_socket_t *' (aka 'struct isc_socket *') [-Wincompatible-pointer-types]
isccc_ccmsg_init(listener->mctx, handle, &conn->ccmsg);
^~~~~~
/usr/local/include/isccc/ccmsg.h:58:49: note: passing argument to parameter 'sock' here
isccc_ccmsg_init(isc_mem_t *mctx, isc_socket_t *sock, isccc_ccmsg_t *ccmsg);
^
controlconf.c:629:65: error: too few arguments to function call, expected 4, have 3
isccc_ccmsg_readmessage(&conn->ccmsg, control_recvmessage, conn);
~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/isccc/ccmsg.h:88:1: note: 'isccc_ccmsg_readmessage' declared here
isc_result_t
^
1 warning and 6 errors generated.
make[4]: *** [controlconf.o] Error 1
CC server.o
server.c:6865:33: error: too many arguments to function call, expected 5, have 8
dscp, src_acl, false, NULL, NULL,
^~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/stddef.h:89:16: note: expanded from macro 'NULL'
# define NULL ((void*)0)
^
/usr/local/include/ns/listenlist.h:59:1: note: 'ns_listenelt_create' declared here
isc_result_t
^
server.c:11084:60: error: too many arguments to function call, expected 5, have 8
result = ns_listenelt_create(mctx, port, dscp, NULL, tls, key, cert,
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/usr/local/include/ns/listenlist.h:59:1: note: 'ns_listenelt_create' declared here
isc_result_t
^
2 errors generated.
make[4]: *** [server.o] Error 1
make[4]: *** No rule to make target `../../lib/dns/libdns.la', needed by `named'.
make[4]: *** No rule to make target `../../lib/ns/libns.la', needed by `named'.
make[4]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `named'.
make[4]: *** No rule to make target `../../lib/bind9/libbind9.la', needed by `named'.
make[4]: Target `all-am' not remade because of errors.
make[3]: *** [all] Error 2
Making all in rndc
CC rndc.o
rndc.c:346:18: error: member reference type 'isc_buffer_t' (aka 'struct isc_buffer') is not a pointer; did you mean to use '.'?
source.rstart = isc_buffer_base(ccmsg->buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/isc/include/isc/buffer.h:146:40: note: expanded from macro 'isc_buffer_base'
#define isc_buffer_base(b) ((void *)(b)->base) /*a*/
~~~^
rndc.c:347:16: error: member reference type 'isc_buffer_t' (aka 'struct isc_buffer') is not a pointer; did you mean to use '.'?
source.rend = isc_buffer_used(ccmsg->buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/isc/include/isc/buffer.h:152:32: note: expanded from macro 'isc_buffer_used'
((void *)((unsigned char *)(b)->base + (b)->used)) /*d*/
~~~^
rndc.c:347:16: error: member reference type 'isc_buffer_t' (aka 'struct isc_buffer') is not a pointer; did you mean to use '.'?
source.rend = isc_buffer_used(ccmsg->buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/isc/include/isc/buffer.h:152:44: note: expanded from macro 'isc_buffer_used'
((void *)((unsigned char *)(b)->base + (b)->used)) /*d*/
~~~^
rndc.c:437:18: error: member reference type 'isc_buffer_t' (aka 'struct isc_buffer') is not a pointer; did you mean to use '.'?
source.rstart = isc_buffer_base(ccmsg->buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/isc/include/isc/buffer.h:146:40: note: expanded from macro 'isc_buffer_base'
#define isc_buffer_base(b) ((void *)(b)->base) /*a*/
~~~^
rndc.c:438:16: error: member reference type 'isc_buffer_t' (aka 'struct isc_buffer') is not a pointer; did you mean to use '.'?
source.rend = isc_buffer_used(ccmsg->buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/isc/include/isc/buffer.h:152:32: note: expanded from macro 'isc_buffer_used'
((void *)((unsigned char *)(b)->base + (b)->used)) /*d*/
~~~^
rndc.c:438:16: error: member reference type 'isc_buffer_t' (aka 'struct isc_buffer') is not a pointer; did you mean to use '.'?
source.rend = isc_buffer_used(ccmsg->buffer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/isc/include/isc/buffer.h:152:44: note: expanded from macro 'isc_buffer_used'
((void *)((unsigned char *)(b)->base + (b)->used)) /*d*/
~~~^
rndc.c:488:53: error: too few arguments to function call, expected 4, have 3
isccc_ccmsg_readmessage(ccmsg, rndc_recvdone, ccmsg);
~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/isccc/ccmsg.h:88:1: note: 'isccc_ccmsg_readmessage' declared here
isc_result_t
^
rndc.c:558:30: warning: incompatible pointer types passing 'isc_nmhandle_t *' (aka 'struct isc_nmhandle *') to parameter of type 'isc_socket_t *' (aka 'struct isc_socket *') [-Wincompatible-pointer-types]
isccc_ccmsg_init(rndc_mctx, handle, ccmsg);
^~~~~~
/usr/local/include/isccc/ccmsg.h:58:49: note: passing argument to parameter 'sock' here
isccc_ccmsg_init(isc_mem_t *mctx, isc_socket_t *sock, isccc_ccmsg_t *ccmsg);
^
rndc.c:563:54: error: too few arguments to function call, expected 4, have 3
isccc_ccmsg_readmessage(ccmsg, rndc_recvnonce, ccmsg);
~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/isccc/ccmsg.h:88:1: note: 'isccc_ccmsg_readmessage' declared here
isc_result_t
^
1 warning and 8 errors generated.
make[3]: *** [rndc.o] Error 1
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `rndc'.
make[3]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `rndc'.
make[3]: *** No rule to make target `../../lib/bind9/libbind9.la', needed by `rndc'.
make[3]: Target `all' not remade because of errors.
Making all in dig
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `dig'.
make[3]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `dig'.
make[3]: *** No rule to make target `../../lib/irs/libirs.la', needed by `dig'.
make[3]: *** No rule to make target `../../lib/bind9/libbind9.la', needed by `dig'.
make[3]: Target `all' not remade because of errors.
Making all in delv
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `delv'.
make[3]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `delv'.
make[3]: *** No rule to make target `../../lib/irs/libirs.la', needed by `delv'.
make[3]: Target `all' not remade because of errors.
Making all in dnssec
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `dnssec-cds'.
make[3]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `dnssec-keygen'.
make[3]: Target `all' not remade because of errors.
Making all in tools
make[3]: *** No rule to make target `../../lib/bind9/libbind9.la', needed by `mdig'.
make[3]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `mdig'.
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `mdig'.
make[3]: Target `all' not remade because of errors.
Making all in nsupdate
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `nsupdate'.
make[3]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `nsupdate'.
make[3]: *** No rule to make target `../../lib/irs/libirs.la', needed by `nsupdate'.
make[3]: *** No rule to make target `../../lib/bind9/libbind9.la', needed by `nsupdate'.
make[3]: Target `all' not remade because of errors.
Making all in check
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `named-checkconf'.
make[3]: *** No rule to make target `../../lib/ns/libns.la', needed by `named-checkconf'.
make[3]: *** No rule to make target `../../lib/isccfg/libisccfg.la', needed by `named-checkconf'.
make[3]: *** No rule to make target `../../lib/bind9/libbind9.la', needed by `named-checkconf'.
make[3]: Target `all' not remade because of errors.
Making all in confgen
make[3]: *** No rule to make target `../../lib/dns/libdns.la', needed by `tsig-keygen'.
make[3]: Target `all' not remade because of errors.
Making all in tests
Making all in system
Making all in dyndb/driver
make[5]: Nothing to be done for `all'.
Making all in dlzexternal/driver
make[5]: Nothing to be done for `all'.
Making all in hooks/driver
CC test-async.lo
test-async.c:64:2: error: unknown type name 'ns_hook_resevent_t'; did you mean 'ns_hookresult_t'?
ns_hook_resevent_t *rev;
^~~~~~~~~~~~~~~~~~
ns_hookresult_t
/usr/local/include/ns/hooks.h:231:3: note: 'ns_hookresult_t' declared here
} ns_hookresult_t;
^
test-async.c:281:13: error: unknown type name 'ns_hookasync_t'; did you mean 'ns_hookpoint_t'?
cancelasync(ns_hookasync_t *hctx) {
^~~~~~~~~~~~~~
ns_hookpoint_t
/usr/local/include/ns/hooks.h:222:3: note: 'ns_hookpoint_t' declared here
} ns_hookpoint_t;
^
test-async.c:287:14: error: unknown type name 'ns_hookasync_t'; did you mean 'ns_hookpoint_t'?
destroyasync(ns_hookasync_t **ctxp) {
^~~~~~~~~~~~~~
ns_hookpoint_t
/usr/local/include/ns/hooks.h:222:3: note: 'ns_hookpoint_t' declared here
} ns_hookpoint_t;
^
test-async.c:288:2: error: unknown type name 'ns_hookasync_t'; did you mean 'ns_hookpoint_t'?
ns_hookasync_t *ctx = *ctxp;
^~~~~~~~~~~~~~
ns_hookpoint_t
/usr/local/include/ns/hooks.h:222:3: note: 'ns_hookpoint_t' declared here
} ns_hookpoint_t;
^
test-async.c:292:27: error: member reference base type 'ns_hookpoint_t' is not a structure or union
isc_mem_putanddetach(&ctx->mctx, ctx, sizeof(*ctx));
~~~^ ~~~~
../../../../../lib/isc/include/isc/mem.h:238:29: note: expanded from macro 'isc_mem_putanddetach'
ISCMEMFUNC(putanddetach)((c), (p), (s)_ISC_MEM_FILELINE); \
^
test-async.c:297:40: error: unknown type name 'ns_hookasync_t'; did you mean 'ns_hookpoint_t'?
isc_taskaction_t action, void *evarg, ns_hookasync_t **ctxp) {
^~~~~~~~~~~~~~
ns_hookpoint_t
/usr/local/include/ns/hooks.h:222:3: note: 'ns_hookpoint_t' declared here
} ns_hookpoint_t;
^
test-async.c:298:2: error: unknown type name 'ns_hook_resevent_t'; did you mean 'ns_hookresult_t'?
ns_hook_resevent_t *rev = (ns_hook_resevent_t *)isc_event_allocate(
^~~~~~~~~~~~~~~~~~
ns_hookresult_t
/usr/local/include/ns/hooks.h:231:3: note: 'ns_hookresult_t' declared here
} ns_hookresult_t;
^
test-async.c:298:49: error: expected expression
ns_hook_resevent_t *rev = (ns_hook_resevent_t *)isc_event_allocate(
^
test-async.c:298:29: error: use of undeclared identifier 'ns_hook_resevent_t'
ns_hook_resevent_t *rev = (ns_hook_resevent_t *)isc_event_allocate(
^
test-async.c:301:2: error: unknown type name 'ns_hookasync_t'; did you mean 'ns_hookpoint_t'?
ns_hookasync_t *ctx = isc_mem_get(mctx, sizeof(*ctx));
^~~~~~~~~~~~~~
ns_hookpoint_t
/usr/local/include/ns/hooks.h:222:3: note: 'ns_hookpoint_t' declared here
} ns_hookpoint_t;
^
test-async.c:305:10: error: use of undeclared identifier 'ns_hookasync_t'
*ctx = (ns_hookasync_t){ .mctx = NULL };
^
test-async.c:306:27: error: member reference base type 'ns_hookpoint_t' is not a structure or union
isc_mem_attach(mctx, &ctx->mctx);
~~~^ ~~~~
test-async.c:307:5: error: member reference base type 'ns_hookpoint_t' is not a structure or union
ctx->cancel = cancelasync;
~~~^ ~~~~~~
test-async.c:308:5: error: member reference base type 'ns_hookpoint_t' is not a structure or union
ctx->destroy = destroyasync;
~~~^ ~~~~~~~
test-async.c:310:5: error: member reference base type 'ns_hookresult_t' is not a structure or union
rev->hookpoint = state->hookpoint;
~~~^ ~~~~~~~~~
test-async.c:311:5: error: member reference base type 'ns_hookresult_t' is not a structure or union
rev->origresult = state->origresult;
~~~^ ~~~~~~~~~~
test-async.c:313:5: error: member reference base type 'ns_hookresult_t' is not a structure or union
rev->saved_qctx = qctx;
~~~^ ~~~~~~~~~~
test-async.c:314:5: error: member reference base type 'ns_hookresult_t' is not a structure or union
rev->ctx = ctx;
~~~^ ~~~
test-async.c:318:2: error: implicit declaration of function 'isc_task_send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
isc_task_send(task, (isc_event_t **)&rev);
^
test-async.c:318:2: note: did you mean 'isc_nm_send'?
../../../../../lib/isc/include/isc/netmgr.h:287:1: note: 'isc_nm_send' declared here
isc_nm_send(isc_nmhandle_t *handle, isc_region_t *region, isc_nm_cb_t cb,
^
test-async.c:297:19: warning: unused parameter 'action' [-Wunused-parameter]
isc_taskaction_t action, void *evarg, ns_hookasync_t **ctxp) {
^
test-async.c:297:33: warning: unused parameter 'evarg' [-Wunused-parameter]
isc_taskaction_t action, void *evarg, ns_hookasync_t **ctxp) {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
make[5]: *** [test-async.lo] Error 1
make[5]: Target `all' not remade because of errors.
make[5]: Nothing to be done for `all-am'.
make[4]: *** [all-recursive] Error 1
make[4]: Target `all' not remade because of errors.
make[4]: *** No rule to make target `../../lib/dns/libdns.la', needed by `wire_test'.
make[4]: Target `all-am' not remade because of errors.
make[3]: *** [all-recursive] Error 1
make[3]: Target `all' not remade because of errors.
Making all in plugins
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
Making all in fuzz
make[2]: Nothing to be done for `all'.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment