Re: Compile Errors, Apple Silicon (M1), BIND 9.16.13

2021-03-22 Thread Mark Andrews
configure didn’t find uv_handle_get_data for some reason.  You will need to 
look at config.log to see why.

> On 23 Mar 2021, at 15:22, James Brown via bind-users 
>  wrote:
> 
> 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

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742  INTERNET: ma...@isc.org

___
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


Compile Errors, Apple Silicon (M1), BIND 9.16.13

2021-03-22 Thread James Brown via bind-users
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