<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Thanks Mark.</div><div class=""><br class=""></div><div class="">Copied HD from current x86 system to Apple Silicon machine.</div><div class=""><br class=""></div><div class="">Config.log:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">configure:16164: checking for uv_handle_get_data</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">configure:16164: gcc -o conftest -g -O2 -pthread -I/usr/local/include    -Wl,-flat_namespace conftest.c  -Wl,-flat_namespace -L/usr/local/lib -luv -lpthread -ldl  >&5</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">ld: warning: ignoring file /usr/local/lib/libuv.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Undefined symbols for architecture arm64:</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">  "_uv_handle_get_data", referenced from:</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">      _main in conftest-f70421.o</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">ld: symbol(s) not found for architecture arm64</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">clang: error: linker command failed with exit code 1 (use -v to see invocation)</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">configure:16164: $? = 1</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">configure: failed program was:</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">| /* confdefs.h */</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">| #define PACKAGE_NAME "BIND"</span></font></div></div><div class=""><br class=""></div><div class="">Looks like I need to download and install libuv.</div><div class=""><br class=""></div><div class="">Thanks again.</div><div class=""><br class=""></div><div class="">James.</div><div><br class=""><blockquote type="cite" class=""><div class="">On 23 Mar 2021, at 4:20 pm, Mark Andrews <<a href="mailto:marka@isc.org" class="">marka@isc.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">configure didn’t find uv_handle_get_data for some reason.  You will need to look at config.log to see why.<br class=""><br class=""><blockquote type="cite" class="">On 23 Mar 2021, at 15:22, James Brown via bind-users <<a href="mailto:bind-users@lists.isc.org" class="">bind-users@lists.isc.org</a>> wrote:<br class=""><br class="">Can anyone help me get BIND 9.16.13 to work with Apple’s new M1s?<br class=""><br class="">Compiler: gcc<br class="">    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<br class="">    Apple clang version 12.0.0 (clang-1200.0.32.29)<br class="">    Target: arm64-apple-darwin20.3.0<br class="">    Thread model: posix<br class=""><br class="">‘make’ fails with:<br class=""><br class="">In file included from netmgr.c:37:<br class="">In file included from ./netmgr-int.h:38:<br class="">./uv-compat.h:24:1: error: static declaration of 'uv_handle_get_data' follows non-static declaration<br class="">uv_handle_get_data(const uv_handle_t *handle) {<br class="">^<br class="">/usr/local/include/uv.h:448:17: note: previous declaration is here<br class="">UV_EXTERN void* uv_handle_get_data(const uv_handle_t* handle);<br class="">                ^<br class="">In file included from netmgr.c:37:<br class="">In file included from ./netmgr-int.h:38:<br class="">./uv-compat.h:31:1: error: static declaration of 'uv_handle_set_data' follows non-static declaration<br class="">uv_handle_set_data(uv_handle_t *handle, void *data) {<br class="">^<br class="">/usr/local/include/uv.h:450:16: note: previous declaration is here<br class="">UV_EXTERN void uv_handle_set_data(uv_handle_t* handle, void* data);<br class="">               ^<br class="">2 errors generated.<br class="">make[3]: *** [netmgr.o] Error 1<br class="">make[2]: *** [subdirs] Error 1<br class="">make[1]: *** [subdirs] Error 1<br class="">make: *** [subdirs] Error 1<br class=""><br class="">Any suggestions?<br class=""><br class="">Running Big Sur, 11.2.3<br class=""><br class="">Thanks,<br class=""><br class="">James.<br class="">_______________________________________________<br class="">Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" class="">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br class=""><br class="">ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" class="">https://www.isc.org/contact/</a> for more information.<br class=""><br class=""><br class="">bind-users mailing list<br class=""><a href="mailto:bind-users@lists.isc.org" class="">bind-users@lists.isc.org</a><br class="">https://lists.isc.org/mailman/listinfo/bind-users<br class=""></blockquote><br class="">-- <br class="">Mark Andrews, ISC<br class="">1 Seymour St., Dundas Valley, NSW 2117, Australia<br class="">PHONE: +61 2 9871 4742              INTERNET: <a href="mailto:marka@isc.org" class="">marka@isc.org</a><br class=""><br class=""></div></div></blockquote></div><br class=""></body></html>