Can anyone help me get BIND 9.16.13 to work with Apple’s new M1s?

Compiler: gcc
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
    Apple clang version 12.0.0 (clang-1200.0.32.29)
    Target: arm64-apple-darwin20.3.0
    Thread model: posix

‘make’ fails with:

In file included from netmgr.c:37:
In file included from ./netmgr-int.h:38:
./uv-compat.h:24:1: error: static declaration of 'uv_handle_get_data' follows 
non-static declaration
uv_handle_get_data(const uv_handle_t *handle) {
^
/usr/local/include/uv.h:448:17: note: previous declaration is here
UV_EXTERN void* uv_handle_get_data(const uv_handle_t* handle);
                ^
In file included from netmgr.c:37:
In file included from ./netmgr-int.h:38:
./uv-compat.h:31:1: error: static declaration of 'uv_handle_set_data' follows 
non-static declaration
uv_handle_set_data(uv_handle_t *handle, void *data) {
^
/usr/local/include/uv.h:450:16: note: previous declaration is here
UV_EXTERN void uv_handle_set_data(uv_handle_t* handle, void* data);
               ^
2 errors generated.
make[3]: *** [netmgr.o] Error 1
make[2]: *** [subdirs] Error 1
make[1]: *** [subdirs] Error 1
make: *** [subdirs] Error 1

Any suggestions?

Running Big Sur, 11.2.3

Thanks,

James.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to