Compile Errors, Apple Silicon (M1), BIND 9.16.13
James Brown
jlbrown at bordo.com.au
Tue Mar 23 04:22:33 UTC 2021
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20210323/554417d2/attachment.htm>
More information about the bind-users
mailing list