Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc Build flags: Id flags: The output was: 1 ld: library not found for -lSystem clang: error: linker command failed with exit code 1 (use -v to see invocation) Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ Build flags: Id flags: The output was: 1 ld: library not found for -lc++ clang: error: linker command failed with exit code 1 (use -v to see invocation) Determining if the function posix_fallocate exists failed with the following output: Change Dir: /Users/macbook/downloads/wdt-mac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_b0a5b/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_b0a5b.dir/build.make CMakeFiles/cmTC_b0a5b.dir/build Building C object CMakeFiles/cmTC_b0a5b.dir/CheckFunctionExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=posix_fallocate -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -MD -MT CMakeFiles/cmTC_b0a5b.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_b0a5b.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_b0a5b.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.22.3/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_b0a5b /usr/local/Cellar/cmake/3.22.3/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b0a5b.dir/link.txt --verbose=1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=posix_fallocate -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_b0a5b.dir/CheckFunctionExists.c.o -o cmTC_b0a5b Undefined symbols for architecture x86_64: "_posix_fallocate", referenced from: _main in CheckFunctionExists.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [cmTC_b0a5b] Error 1 make: *** [cmTC_b0a5b/fast] Error 2 Determining if the function sync_file_range exists failed with the following output: Change Dir: /Users/macbook/downloads/wdt-mac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_c67d2/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_c67d2.dir/build.make CMakeFiles/cmTC_c67d2.dir/build Building C object CMakeFiles/cmTC_c67d2.dir/CheckFunctionExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=sync_file_range -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -MD -MT CMakeFiles/cmTC_c67d2.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_c67d2.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_c67d2.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.22.3/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_c67d2 /usr/local/Cellar/cmake/3.22.3/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c67d2.dir/link.txt --verbose=1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=sync_file_range -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_c67d2.dir/CheckFunctionExists.c.o -o cmTC_c67d2 Undefined symbols for architecture x86_64: "_sync_file_range", referenced from: _main in CheckFunctionExists.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [cmTC_c67d2] Error 1 make: *** [cmTC_c67d2/fast] Error 2 Determining if the function posix_fadvise exists failed with the following output: Change Dir: /Users/macbook/downloads/wdt-mac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_558a1/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_558a1.dir/build.make CMakeFiles/cmTC_558a1.dir/build Building C object CMakeFiles/cmTC_558a1.dir/CheckFunctionExists.c.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=posix_fadvise -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -MD -MT CMakeFiles/cmTC_558a1.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_558a1.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_558a1.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.22.3/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_558a1 /usr/local/Cellar/cmake/3.22.3/bin/cmake -E cmake_link_script CMakeFiles/cmTC_558a1.dir/link.txt --verbose=1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=posix_fadvise -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_558a1.dir/CheckFunctionExists.c.o -o cmTC_558a1 Undefined symbols for architecture x86_64: "_posix_fadvise", referenced from: _main in CheckFunctionExists.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [cmTC_558a1] Error 1 make: *** [cmTC_558a1/fast] Error 2 Determining if the include file linux/sockios.h exists failed with the following output: Change Dir: /Users/macbook/downloads/wdt-mac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_a2d57/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_a2d57.dir/build.make CMakeFiles/cmTC_a2d57.dir/build Building CXX object CMakeFiles/cmTC_a2d57.dir/CheckIncludeFile.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -msse4.2 -mpclmul -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -std=c++11 -MD -MT CMakeFiles/cmTC_a2d57.dir/CheckIncludeFile.cxx.o -MF CMakeFiles/cmTC_a2d57.dir/CheckIncludeFile.cxx.o.d -o CMakeFiles/cmTC_a2d57.dir/CheckIncludeFile.cxx.o -c /Users/macbook/downloads/wdt-mac/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /Users/macbook/downloads/wdt-mac/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: 'linux/sockios.h' file not found #include ^~~~~~~~~~~~~~~~~ 1 error generated. make[1]: *** [CMakeFiles/cmTC_a2d57.dir/CheckIncludeFile.cxx.o] Error 1 make: *** [cmTC_a2d57/fast] Error 2 Performing C++ SOURCE FILE Test FOLLY_HAVE_WEAK_SYMBOLS failed with the following output: Change Dir: /Users/macbook/downloads/wdt-mac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_94040/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_94040.dir/build.make CMakeFiles/cmTC_94040.dir/build Building CXX object CMakeFiles/cmTC_94040.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DFOLLY_HAVE_WEAK_SYMBOLS -msse4.2 -mpclmul -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -std=c++11 -MD -MT CMakeFiles/cmTC_94040.dir/src.cxx.o -MF CMakeFiles/cmTC_94040.dir/src.cxx.o.d -o CMakeFiles/cmTC_94040.dir/src.cxx.o -c /Users/macbook/downloads/wdt-mac/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_94040 /usr/local/Cellar/cmake/3.22.3/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94040.dir/link.txt --verbose=1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -msse4.2 -mpclmul -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_94040.dir/src.cxx.o -o cmTC_94040 Undefined symbols for architecture x86_64: "_cmkcheckweak", referenced from: _main in src.cxx.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [cmTC_94040] Error 1 make: *** [cmTC_94040/fast] Error 2 Source file was: extern "C" void cmkcheckweak() __attribute__((weak)); int main(int argc, char** argv) { return (cmkcheckweak) ? 1 : 0 ; }