libcoap
libcoap copied to clipboard
OSX fails to compile: SIOCGIFINDEX / no member named 'ifr_ifindex' in 'struct ifreq'
macOS Big Sur 11.5 (20G71)
(base) lvmc@Luizs-MacBook-Pro build % sw_vers
ProductName: macOS
ProductVersion: 11.5
BuildVersion: 20G71
(base) lvmc@Luizs-MacBook-Pro build % mkdir build; cd build
(base) lvmc@Luizs-MacBook-Pro build % cmake ..
-- compiling without epoll support
-- compiling with DTLS support
-- DTLS_BACKEND: default
-- compiling with gnutls support
-- ENABLE_DTLS:.....................ON
-- ENABLE_TCP:......................ON
-- ENABLE_DOCS:.....................ON
-- ENABLE_EXAMPLES:.................ON
-- DTLS_BACKEND:....................default
-- WITH_GNUTLS:.....................ON
-- WITH_TINYDTLS:...................OFF
-- WITH_OPENSSL:....................OFF
-- WITH_MBEDTLS:....................OFF
-- HAVE_LIBTINYDTLS:................
-- HAVE_LIBGNUTLS:..................1
-- HAVE_OPENSSL:....................
-- HAVE_MBEDTLS:....................
-- COAP_EPOLL_SUPPORT:..............
-- CMAKE_C_COMPILER:................/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- BUILD_SHARED_LIBS:...............OFF
-- CMAKE_BUILD_TYPE:................Debug
-- CMAKE_SYSTEM_PROCESSOR:..........x86_64
-- Setup up the Doxygen documention build
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:26 (add_library):
Policy CMP0115 is not set: Source file extensions must be explicit. Run
"cmake --help-policy CMP0115" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
File:
/Users/lvmc/Projects/libcoap/include/coap3/coap.h.in
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/lvmc/Projects/libcoap/build
(base) lvmc@Luizs-MacBook-Pro build % make
Consolidate compiler generated dependencies of target coap-3
[ 2%] Building C object CMakeFiles/coap-3.dir/src/net.c.o
/Users/lvmc/Projects/libcoap/src/net.c:3355:48: error: use of undeclared identifier 'SIOCGIFINDEX'
result = ioctl(ctx->endpoint->sock.fd, SIOCGIFINDEX, &ifr);
^
/Users/lvmc/Projects/libcoap/src/net.c:3363:40: error: no member named 'ifr_ifindex' in 'struct ifreq'
mreq6.ipv6mr_interface = ifr.ifr_ifindex;
~~~ ^
2 errors generated.
make[2]: *** [CMakeFiles/coap-3.dir/src/net.c.o] Error 1
make[1]: *** [CMakeFiles/coap-3.dir/all] Error 2
Apologies, Mac builds were fixed for autotools make, but not for cmake. If you make the following change (additional line without leading +), this should fix your issue - please confirm as I do not have a Mac. I will raise a PR for it.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f68923f..b4e75e7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -149,6 +149,7 @@ check_function_exists(getaddrinfo HAVE_GETADDRINFO)
check_function_exists(strnlen HAVE_STRNLEN)
check_function_exists(strrchr HAVE_STRRCHR)
check_function_exists(getrandom HAVE_GETRANDOM)
+check_function_exists(if_nametoindex HAVE_IF_NAMETOINDEX)
# check for symbols
if(WIN32)
@mrdeep1
I tried to add check_function_exists(if_nametoindex HAVE_IF_NAMETOINDEX)
to CMakeLists.txt and rebuild, but the errors persist:
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:26 (add_library):
Policy CMP0115 is not set: Source file extensions must be explicit. Run
"cmake --help-policy CMP0115" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
File:
/Users/lvmc/Projects/libcoap/include/coap3/coap.h.in
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
. . .
[ 4%] Building C object CMakeFiles/coap-3.dir/src/net.c.o
/Users/lvmc/Projects/libcoap/src/net.c:3355:48: error: use of undeclared identifier 'SIOCGIFINDEX'
result = ioctl(ctx->endpoint->sock.fd, SIOCGIFINDEX, &ifr);
^
/Users/lvmc/Projects/libcoap/src/net.c:3363:40: error: no member named 'ifr_ifindex' in 'struct ifreq'
mreq6.ipv6mr_interface = ifr.ifr_ifindex;
~~~ ^
2 errors generated.
If net.c:
// #ifdef HAVE_IF_NAMETOINDEX
mreq6.ipv6mr_interface = if_nametoindex(ifr.ifr_name);
if (mreq6.ipv6mr_interface == 0) {
coap_log(LOG_WARNING, "coap_join_mcast_group_intf: "
"cannot get interface index for '%s'\n",
ifname);
}
// #else /* !HAVE_IF_NAMETOINDEX */
// result = ioctl(ctx->endpoint->sock.fd, SIOCGIFINDEX, &ifr);
// if (result != 0) {
// coap_log(LOG_WARNING, "coap_join_mcast_group_intf: "
// "cannot get interface index for '%s': %s\n",
// ifname, coap_socket_strerror());
// }
// else {
// /* Capture the IPv6 if_index for later */
// mreq6.ipv6mr_interface = ifr.ifr_ifindex;
// }
// #endif /* !HAVE_IF_NAMETOINDEX */
It works, but there is a new error:
/Users/lvmc/Projects/libcoap/src/coap_io.c:73:4: error: "Need IPV6_PKTINFO or IPV6_RECVPKTINFO to request ancillary data from OS."
# error "Need IPV6_PKTINFO or IPV6_RECVPKTINFO to request ancillary data from OS."
^
/Users/lvmc/Projects/libcoap/src/coap_io.c:202:44: error: use of undeclared identifier 'GEN_IPV6_PKTINFO'
if (setsockopt(sock->fd, IPPROTO_IPV6, GEN_IPV6_PKTINFO, OPTVAL_T(&on), sizeof(on)) == COAP_SOCKET_ERROR)
^
2 errors generated.
I suspect that you may need to add in to coap_io.c right at the beginning. Please confirm if this works.
#define __APPLE_USE_RFC_3542
Canyou also pleae try
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f68923f..be3ce89 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -94,6 +94,10 @@ if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()
+if(APPLE)
+ add_definitions(-D__APPLE_USE_RFC_3542=1)
+endif()
+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_BINARY_DIR})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
@mrdeep1
CMakeLists.txt
.
.
.
check_function_exists(getrandom HAVE_GETRANDOM)
check_function_exists(if_nametoindex HAVE_IF_NAMETOINDEX)
# check for symbols
if(WIN32)
set(HAVE_STRUCT_CMSGHDR 1)
else()
.
.
.
.
.
.
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()
if(APPLE)
add_definitions(-D__APPLE_USE_RFC_3542=1)
endif()
list(APPEND CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_BINARY_DIR})
.
.
.
src/coap_io.c
#include "coap3/coap_internal.h"
#define __APPLE_USE_RFC_3542
#ifdef HAVE_STDIO_H
# include <stdio.h>
#endif
.
.
.
still:
[ 2%] Building C object CMakeFiles/coap-3.dir/src/net.c.o
/Users/lvmc/Projects/libcoap/src/net.c:3359:48: error: use of undeclared identifier 'SIOCGIFINDEX'
result = ioctl(ctx->endpoint->sock.fd, SIOCGIFINDEX, &ifr);
^
/Users/lvmc/Projects/libcoap/src/net.c:3367:40: error: no member named 'ifr_ifindex' in 'struct ifreq'
mreq6.ipv6mr_interface = ifr.ifr_ifindex;
~~~ ^
2 errors generated.
make[2]: *** [CMakeFiles/coap-3.dir/src/net.c.o] Error 1
make[1]: *** [CMakeFiles/coap-3.dir/all] Error 2
make: *** [all] Error 2
This thing is not working:
check_function_exists(if_nametoindex HAVE_IF_NAMETOINDEX)
If:
#ifdef HAVE_IF_NAMETOINDEX
mreq6.ipv6mr_interface = if_nametoindex(ifr.ifr_name);
if (mreq6.ipv6mr_interface == 0) {
coap_log(LOG_WARNING, "coap_join_mcast_group_intf: "
"cannot get interface index for '%s'\n",
ifname);
}
// #else /* !HAVE_IF_NAMETOINDEX */
// result = ioctl(ctx->endpoint->sock.fd, SIOCGIFINDEX, &ifr);
// if (result != 0) {
// coap_log(LOG_WARNING, "coap_join_mcast_group_intf: "
// "cannot get interface index for '%s': %s\n",
// ifname, coap_socket_strerror());
// }
// else {
// /* Capture the IPv6 if_index for later */
// mreq6.ipv6mr_interface = ifr.ifr_ifindex;
// }
// #endif /* !HAVE_IF_NAMETOINDEX */
With:
if(APPLE)
add_definitions(-D__APPLE_USE_RFC_3542=1)
endif()
It compiles.
(base) lvmc@Luizs-MacBook-Pro build % make
[ 2%] Building C object CMakeFiles/coap-3.dir/src/address.c.o
[ 5%] Building C object CMakeFiles/coap-3.dir/src/net.c.o
[ 8%] Building C object CMakeFiles/coap-3.dir/src/coap_debug.c.o
[ 11%] Building C object CMakeFiles/coap-3.dir/src/encode.c.o
[ 13%] Building C object CMakeFiles/coap-3.dir/src/uri.c.o
[ 16%] Building C object CMakeFiles/coap-3.dir/src/subscribe.c.o
[ 19%] Building C object CMakeFiles/coap-3.dir/src/resource.c.o
[ 22%] Building C object CMakeFiles/coap-3.dir/src/str.c.o
[ 25%] Building C object CMakeFiles/coap-3.dir/src/option.c.o
[ 27%] Building C object CMakeFiles/coap-3.dir/src/async.c.o
[ 30%] Building C object CMakeFiles/coap-3.dir/src/block.c.o
[ 33%] Building C object CMakeFiles/coap-3.dir/src/coap_asn1.c.o
[ 36%] Building C object CMakeFiles/coap-3.dir/src/coap_cache.c.o
[ 38%] Building C object CMakeFiles/coap-3.dir/src/coap_event.c.o
[ 41%] Building C object CMakeFiles/coap-3.dir/src/coap_hashkey.c.o
[ 44%] Building C object CMakeFiles/coap-3.dir/src/coap_io.c.o
[ 47%] Building C object CMakeFiles/coap-3.dir/src/coap_notls.c.o
[ 50%] Building C object CMakeFiles/coap-3.dir/src/coap_prng.c.o
[ 52%] Building C object CMakeFiles/coap-3.dir/src/coap_session.c.o
[ 55%] Building C object CMakeFiles/coap-3.dir/src/coap_tcp.c.o
[ 58%] Building C object CMakeFiles/coap-3.dir/src/coap_time.c.o
[ 61%] Building C object CMakeFiles/coap-3.dir/src/mem.c.o
[ 63%] Building C object CMakeFiles/coap-3.dir/src/pdu.c.o
[ 66%] Building C object CMakeFiles/coap-3.dir/src/coap_gnutls.c.o
[ 69%] Linking C static library libcoap-3.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcoap-3.a(coap_notls.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcoap-3.a(coap_notls.c.o) has no symbols
[ 69%] Built target coap-3
[ 72%] Building C object CMakeFiles/tiny.dir/examples/tiny.c.o
[ 75%] Linking C executable tiny
[ 75%] Built target tiny
[ 77%] Building C object CMakeFiles/coap-client.dir/examples/coap-client.c.o
[ 80%] Linking C executable coap-client
[ 80%] Built target coap-client
[ 83%] Building C object CMakeFiles/etsi_iot_01.dir/examples/etsi_iot_01.c.o
[ 86%] Linking C executable etsi_iot_01
[ 86%] Built target etsi_iot_01
[ 88%] Building C object CMakeFiles/coap-rd.dir/examples/coap-rd.c.o
[ 91%] Linking C executable coap-rd
[ 91%] Built target coap-rd
[ 94%] Building C object CMakeFiles/coap-server.dir/examples/coap-server.c.o
[ 97%] Linking C executable coap-server
[ 97%] Built target coap-server
[100%] Generating API documentation with Doxygen
warning: Tag 'CLANG_ASSISTED_PARSING' at line 1114 of file '/Users/lvmc/Projects/libcoap/build/Doxyfile' belongs to an option that was not enabled at compile time.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
warning: Tag 'CLANG_ADD_INC_PATHS' at line 1120 of file '/Users/lvmc/Projects/libcoap/build/Doxyfile' belongs to an option that was not enabled at compile time.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
warning: Tag 'CLANG_OPTIONS' at line 1128 of file '/Users/lvmc/Projects/libcoap/build/Doxyfile' belongs to an option that was not enabled at compile time.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
warning: Tag 'CLANG_DATABASE_PATH' at line 1141 of file '/Users/lvmc/Projects/libcoap/build/Doxyfile' belongs to an option that was not enabled at compile time.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
[100%] Built target doc_doxygen
Good that the coap_io.c (and potentially any following source files) compile is fixed, and only HAVE_IF_NAMETOINDEX is failing, I will try to see what that is failing when testing the get_nametoindex() function. No immediate ideas though.
@mrdeep1
The strange thing is that the following also doesn't work:
CMakeLists.txt
# check_function_exists(if_nametoindex HAVE_IF_NAMETOINDEX)
set(HAVE_IF_NAMETOINDEX 1)
https://cmake.org/cmake/help/latest/module/CheckFunctionExists.html
check_function_exists() only verifies linking, it does not verify that the function is declared in system headers.
Maybe none of the check_function_exists are set HAVE_*?
check_function_exists(malloc HAVE_MALLOC)
check_function_exists(memset HAVE_MEMSET)
check_function_exists(select HAVE_SELECT)
check_function_exists(socket HAVE_SOCKET)
check_function_exists(strcasecmp HAVE_STRCASECMP)
check_function_exists(pthread_mutex_lock HAVE_PTHREAD_MUTEX_LOCK)
check_function_exists(getaddrinfo HAVE_GETADDRINFO)
check_function_exists(strnlen HAVE_STRNLEN)
check_function_exists(strrchr HAVE_STRRCHR)
check_function_exists(getrandom HAVE_GETRANDOM)
check_function_exists(malloc HAVE_IF_NAMETOINDEX)
check_function_exists(if_nametoindex HAVE_IF_NAMETOINDEX)
We know that linking works, as you are able to build the code by commenting out the appropriate alternatove to if_nametoindex() code.
It certainly is possible that if_nametoindex
is a #define
. It is worth looking in build/CMakeFiles/CMakeError.log
and build/CMakeFiles/CMakeOutput.log
to see what is getting reported forif_nametoindex
and, say malloc
as a comparison.
@mrdeep1
(base) lvmc@Luizs-MacBook-Pro build % cmake --version
cmake version 3.20.5
CMakeError.log
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)
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)
Determining if the include file byteswap.h exists failed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_b1a1c/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_b1a1c.dir/build.make CMakeFiles/cmTC_b1a1c.dir/build
Building C object CMakeFiles/cmTC_b1a1c.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_b1a1c.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_b1a1c.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_b1a1c.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'byteswap.h' file not found
#include <byteswap.h>
^~~~~~~~~~~~
1 error generated.
make[1]: *** [CMakeFiles/cmTC_b1a1c.dir/CheckIncludeFile.c.o] Error 1
make: *** [cmTC_b1a1c/fast] Error 2
Determining if the include file sys/epoll.h exists failed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_860d3/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_860d3.dir/build.make CMakeFiles/cmTC_860d3.dir/build
Building C object CMakeFiles/cmTC_860d3.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_860d3.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_860d3.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_860d3.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'sys/epoll.h' file not found
#include <sys/epoll.h>
^~~~~~~~~~~~~
1 error generated.
make[1]: *** [CMakeFiles/cmTC_860d3.dir/CheckIncludeFile.c.o] Error 1
make: *** [cmTC_860d3/fast] Error 2
Determining if the include file sys/timerfd.h exists failed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_69db3/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_69db3.dir/build.make CMakeFiles/cmTC_69db3.dir/build
Building C object CMakeFiles/cmTC_69db3.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_69db3.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_69db3.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_69db3.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'sys/timerfd.h' file not found
#include <sys/timerfd.h>
^~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [CMakeFiles/cmTC_69db3.dir/CheckIncludeFile.c.o] Error 1
make: *** [cmTC_69db3/fast] Error 2
Determining if the include file winsock2.h exists failed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_452ed/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_452ed.dir/build.make CMakeFiles/cmTC_452ed.dir/build
Building C object CMakeFiles/cmTC_452ed.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_452ed.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_452ed.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_452ed.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'winsock2.h' file not found
#include <winsock2.h>
^~~~~~~~~~~~
1 error generated.
make[1]: *** [CMakeFiles/cmTC_452ed.dir/CheckIncludeFile.c.o] Error 1
make: *** [cmTC_452ed/fast] Error 2
Determining if the include file ws2tcpip.h exists failed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_64700/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_64700.dir/build.make CMakeFiles/cmTC_64700.dir/build
Building C object CMakeFiles/cmTC_64700.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_64700.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_64700.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_64700.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
make[1]: *** [CMakeFiles/cmTC_64700.dir/CheckIncludeFile.c.o] Error 1
make: *** [cmTC_64700/fast] Error 2
Determining if the function getrandom exists failed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_23f01/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_23f01.dir/build.make CMakeFiles/cmTC_23f01.dir/build
Building C object CMakeFiles/cmTC_23f01.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=getrandom -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_23f01.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_23f01.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_23f01.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_23f01
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_23f01.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=getrandom -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_23f01.dir/CheckFunctionExists.c.o -o cmTC_23f01
Undefined symbols for architecture x86_64:
"_getrandom", 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_23f01] Error 1
make: *** [cmTC_23f01/fast] Error 2
Determining if the cmsghdr exist failed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_2de52/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_2de52.dir/build.make CMakeFiles/cmTC_2de52.dir/build
Building C object CMakeFiles/cmTC_2de52.dir/CheckSymbolExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_2de52.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_2de52.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_2de52.dir/CheckSymbolExists.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'cmsghdr'
return ((int*)(&cmsghdr))[argc];
^
1 error generated.
make[1]: *** [CMakeFiles/cmTC_2de52.dir/CheckSymbolExists.c.o] Error 1
make: *** [cmTC_2de52/fast] Error 2
File /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/socket.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef cmsghdr
return ((int*)(&cmsghdr))[argc];
#else
(void)argc;
return 0;
#endif
}
CMakeOutput.log
The system is: Darwin - 20.6.0 - x86_64
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags: -c
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"
The CXX compiler identification is AppleClang, found in "/Users/lvmc/Projects/libcoap/build/CMakeFiles/3.20.5/CompilerIdCXX/CMakeCXXCompilerId.o"
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags: -c
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o"
The C compiler identification is AppleClang, found in "/Users/lvmc/Projects/libcoap/build/CMakeFiles/3.20.5/CompilerIdC/CMakeCCompilerId.o"
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_7e90f/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_7e90f.dir/build.make CMakeFiles/cmTC_7e90f.dir/build
Building CXX object CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -v -Wl,-v -MD -MT CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx11.0.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=all -fno-strict-return -fno-rounding-math -munwind-tables -target-sdk-version=11.3 -fvisibility-inlines-hidden-static-local-var -target-cpu penryn -debugger-tuning=lldb -target-linker-version 650.9 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5 -dependency-file CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -stdlib=libc++ -internal-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1 -internal-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/local/include -internal-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -fdeprecated-macro -fdebug-compilation-dir /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -mllvm -disable-aligned-alloc-awareness=1 -o CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CMakeCXXCompilerABI.cpp
clang -cc1 version 12.0.5 (clang-1205.0.22.11) default target x86_64-apple-darwin20.6.0
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/local/include"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks (framework directory)
End of search list.
Linking CXX executable cmTC_7e90f
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7e90f.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7e90f
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -platform_version macos 11.0.0 11.3 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -o cmTC_7e90f -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-650.9
BUILD 13:09:02 May 28 2021
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib
Framework search paths:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/
Parsed CXX implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1]
add: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include]
add: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include]
add: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include]
end of search list found
collapse include dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1]
collapse include dir [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include] ==> [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include]
collapse include dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include]
collapse include dir [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include] ==> [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include]
implicit include dirs: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include]
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_7e90f/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_7e90f.dir/build.make CMakeFiles/cmTC_7e90f.dir/build]
ignore line: [Building CXX object CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -v -Wl -v -MD -MT CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Apple clang version 12.0.5 (clang-1205.0.22.11)]
ignore line: [Target: x86_64-apple-darwin20.6.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
ignore line: [clang: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]]
ignore line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx11.0.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=all -fno-strict-return -fno-rounding-math -munwind-tables -target-sdk-version=11.3 -fvisibility-inlines-hidden-static-local-var -target-cpu penryn -debugger-tuning=lldb -target-linker-version 650.9 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5 -dependency-file CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -stdlib=libc++ -internal-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1 -internal-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/local/include -internal-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -fdeprecated-macro -fdebug-compilation-dir /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -mllvm -disable-aligned-alloc-awareness=1 -o CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [clang -cc1 version 12.0.5 (clang-1205.0.22.11) default target x86_64-apple-darwin20.6.0]
ignore line: [ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/local/include"]
ignore line: [ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/Library/Frameworks"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1]
ignore line: [ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include]
ignore line: [ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include]
ignore line: [ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include]
ignore line: [ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks (framework directory)]
ignore line: [End of search list.]
ignore line: [Linking CXX executable cmTC_7e90f]
ignore line: [/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7e90f.dir/link.txt --verbose=1]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl -search_paths_first -Wl -headerpad_max_install_names -v -Wl -v CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7e90f ]
ignore line: [Apple clang version 12.0.5 (clang-1205.0.22.11)]
ignore line: [Target: x86_64-apple-darwin20.6.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -platform_version macos 11.0.0 11.3 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -o cmTC_7e90f -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-platform_version] ==> ignore
arg [macos] ==> ignore
arg [11.0.0] ==> ignore
arg [11.3] ==> ignore
arg [-syslibroot] ==> ignore
arg [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk] ==> ignore
arg [-o] ==> ignore
arg [cmTC_7e90f] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_7e90f.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lc++] ==> lib [c++]
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib]
Framework search paths: [;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/]
remove lib [System]
remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a]
collapse library dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib]
collapse framework dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks]
implicit libs: [c++]
implicit objs: []
implicit dirs: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib]
implicit fwks: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks]
Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_f43ce/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_f43ce.dir/build.make CMakeFiles/cmTC_f43ce.dir/build
Building C object CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -v -Wl,-v -MD -MT CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CMakeCCompilerABI.c
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx11.0.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=all -fno-strict-return -fno-rounding-math -munwind-tables -target-sdk-version=11.3 -fvisibility-inlines-hidden-static-local-var -target-cpu penryn -debugger-tuning=lldb -target-linker-version 650.9 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5 -dependency-file CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -internal-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/local/include -internal-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -fdebug-compilation-dir /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -mllvm -disable-aligned-alloc-awareness=1 -o CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -x c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CMakeCCompilerABI.c
clang -cc1 version 12.0.5 (clang-1205.0.22.11) default target x86_64-apple-darwin20.6.0
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/local/include"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks (framework directory)
End of search list.
Linking C executable cmTC_f43ce
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f43ce.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -o cmTC_f43ce
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -platform_version macos 11.0.0 11.3 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -o cmTC_f43ce -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-650.9
BUILD 13:09:02 May 28 2021
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib
Framework search paths:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/
Parsed C implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include]
add: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include]
add: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include]
end of search list found
collapse include dir [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include] ==> [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include]
collapse include dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include]
collapse include dir [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include] ==> [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include]
implicit include dirs: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include]
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_f43ce/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_f43ce.dir/build.make CMakeFiles/cmTC_f43ce.dir/build]
ignore line: [Building C object CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -v -Wl -v -MD -MT CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CMakeCCompilerABI.c]
ignore line: [Apple clang version 12.0.5 (clang-1205.0.22.11)]
ignore line: [Target: x86_64-apple-darwin20.6.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
ignore line: [clang: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]]
ignore line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx11.0.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=all -fno-strict-return -fno-rounding-math -munwind-tables -target-sdk-version=11.3 -fvisibility-inlines-hidden-static-local-var -target-cpu penryn -debugger-tuning=lldb -target-linker-version 650.9 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5 -dependency-file CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -internal-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/local/include -internal-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -fdebug-compilation-dir /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -mllvm -disable-aligned-alloc-awareness=1 -o CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -x c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CMakeCCompilerABI.c]
ignore line: [clang -cc1 version 12.0.5 (clang-1205.0.22.11) default target x86_64-apple-darwin20.6.0]
ignore line: [ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/local/include"]
ignore line: [ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/Library/Frameworks"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/include]
ignore line: [ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include]
ignore line: [ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include]
ignore line: [ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks (framework directory)]
ignore line: [End of search list.]
ignore line: [Linking C executable cmTC_f43ce]
ignore line: [/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f43ce.dir/link.txt --verbose=1]
ignore line: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl -search_paths_first -Wl -headerpad_max_install_names -v -Wl -v CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -o cmTC_f43ce ]
ignore line: [Apple clang version 12.0.5 (clang-1205.0.22.11)]
ignore line: [Target: x86_64-apple-darwin20.6.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -platform_version macos 11.0.0 11.3 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -o cmTC_f43ce -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-platform_version] ==> ignore
arg [macos] ==> ignore
arg [11.0.0] ==> ignore
arg [11.3] ==> ignore
arg [-syslibroot] ==> ignore
arg [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk] ==> ignore
arg [-o] ==> ignore
arg [cmTC_f43ce] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_f43ce.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib]
Framework search paths: [;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/]
remove lib [System]
remove lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.5/lib/darwin/libclang_rt.osx.a]
collapse library dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib]
collapse framework dir [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/] ==> [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks]
implicit libs: []
implicit objs: []
implicit dirs: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib]
implicit fwks: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks]
Determining if the include file inttypes.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_b1353/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_b1353.dir/build.make CMakeFiles/cmTC_b1353.dir/build
Building C object CMakeFiles/cmTC_b1353.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_b1353.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_b1353.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_b1353.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_b1353
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1353.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_b1353.dir/CheckIncludeFile.c.o -o cmTC_b1353
Determining if the include file limits.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_fb012/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_fb012.dir/build.make CMakeFiles/cmTC_fb012.dir/build
Building C object CMakeFiles/cmTC_fb012.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_fb012.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_fb012.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_fb012.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_fb012
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fb012.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_fb012.dir/CheckIncludeFile.c.o -o cmTC_fb012
Determining if the include file memory.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_a7ae7/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_a7ae7.dir/build.make CMakeFiles/cmTC_a7ae7.dir/build
Building C object CMakeFiles/cmTC_a7ae7.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_a7ae7.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_a7ae7.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_a7ae7.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_a7ae7
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a7ae7.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_a7ae7.dir/CheckIncludeFile.c.o -o cmTC_a7ae7
Determining if the include file strings.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_c2ea6/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_c2ea6.dir/build.make CMakeFiles/cmTC_c2ea6.dir/build
Building C object CMakeFiles/cmTC_c2ea6.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_c2ea6.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_c2ea6.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_c2ea6.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_c2ea6
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2ea6.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_c2ea6.dir/CheckIncludeFile.c.o -o cmTC_c2ea6
Determining if the include file string.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_1a545/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_1a545.dir/build.make CMakeFiles/cmTC_1a545.dir/build
Building C object CMakeFiles/cmTC_1a545.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_1a545.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_1a545.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_1a545.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_1a545
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1a545.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_1a545.dir/CheckIncludeFile.c.o -o cmTC_1a545
Determining if the include file sys/sysctl.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_f6880/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_f6880.dir/build.make CMakeFiles/cmTC_f6880.dir/build
Building C object CMakeFiles/cmTC_f6880.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_f6880.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_f6880.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_f6880.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_f6880
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f6880.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_f6880.dir/CheckIncludeFile.c.o -o cmTC_f6880
Determining if the include file net/if.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_ec087/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_ec087.dir/build.make CMakeFiles/cmTC_ec087.dir/build
Building C object CMakeFiles/cmTC_ec087.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_ec087.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_ec087.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_ec087.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_ec087
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ec087.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_ec087.dir/CheckIncludeFile.c.o -o cmTC_ec087
Determining if the include file netinet/in.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_b8b84/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_b8b84.dir/build.make CMakeFiles/cmTC_b8b84.dir/build
Building C object CMakeFiles/cmTC_b8b84.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_b8b84.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_b8b84.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_b8b84.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_b8b84
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b8b84.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_b8b84.dir/CheckIncludeFile.c.o -o cmTC_b8b84
Determining if the include file arpa/inet.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_f2aef/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_f2aef.dir/build.make CMakeFiles/cmTC_f2aef.dir/build
Building C object CMakeFiles/cmTC_f2aef.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_f2aef.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_f2aef.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_f2aef.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_f2aef
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f2aef.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_f2aef.dir/CheckIncludeFile.c.o -o cmTC_f2aef
Determining if the include file stdbool.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_c751d/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_c751d.dir/build.make CMakeFiles/cmTC_c751d.dir/build
Building C object CMakeFiles/cmTC_c751d.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_c751d.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_c751d.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_c751d.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_c751d
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c751d.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_c751d.dir/CheckIncludeFile.c.o -o cmTC_c751d
Determining if the include file netdb.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_ea6a3/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_ea6a3.dir/build.make CMakeFiles/cmTC_ea6a3.dir/build
Building C object CMakeFiles/cmTC_ea6a3.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_ea6a3.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_ea6a3.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_ea6a3.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_ea6a3
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ea6a3.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_ea6a3.dir/CheckIncludeFile.c.o -o cmTC_ea6a3
Determining if the include file pthread.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_7da8a/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_7da8a.dir/build.make CMakeFiles/cmTC_7da8a.dir/build
Building C object CMakeFiles/cmTC_7da8a.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_7da8a.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_7da8a.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_7da8a.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_7da8a
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7da8a.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_7da8a.dir/CheckIncludeFile.c.o -o cmTC_7da8a
Determining if the include file stdlib.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_3dde9/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_3dde9.dir/build.make CMakeFiles/cmTC_3dde9.dir/build
Building C object CMakeFiles/cmTC_3dde9.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_3dde9.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_3dde9.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_3dde9.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_3dde9
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3dde9.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_3dde9.dir/CheckIncludeFile.c.o -o cmTC_3dde9
Determining if the include file stdint.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_96db6/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_96db6.dir/build.make CMakeFiles/cmTC_96db6.dir/build
Building C object CMakeFiles/cmTC_96db6.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_96db6.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_96db6.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_96db6.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_96db6
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_96db6.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_96db6.dir/CheckIncludeFile.c.o -o cmTC_96db6
Determining if the include file syslog.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_4a233/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_4a233.dir/build.make CMakeFiles/cmTC_4a233.dir/build
Building C object CMakeFiles/cmTC_4a233.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_4a233.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_4a233.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_4a233.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_4a233
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4a233.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_4a233.dir/CheckIncludeFile.c.o -o cmTC_4a233
Determining if the include file sys/ioctl.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_cb9e7/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_cb9e7.dir/build.make CMakeFiles/cmTC_cb9e7.dir/build
Building C object CMakeFiles/cmTC_cb9e7.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_cb9e7.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_cb9e7.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_cb9e7.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_cb9e7
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cb9e7.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_cb9e7.dir/CheckIncludeFile.c.o -o cmTC_cb9e7
Determining if the include file sys/socket.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_cc3ad/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_cc3ad.dir/build.make CMakeFiles/cmTC_cc3ad.dir/build
Building C object CMakeFiles/cmTC_cc3ad.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_cc3ad.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_cc3ad.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_cc3ad.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_cc3ad
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cc3ad.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_cc3ad.dir/CheckIncludeFile.c.o -o cmTC_cc3ad
Determining if the include file sys/stat.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_6068f/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_6068f.dir/build.make CMakeFiles/cmTC_6068f.dir/build
Building C object CMakeFiles/cmTC_6068f.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_6068f.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_6068f.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_6068f.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_6068f
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6068f.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_6068f.dir/CheckIncludeFile.c.o -o cmTC_6068f
Determining if the include file sys/time.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_9a001/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_9a001.dir/build.make CMakeFiles/cmTC_9a001.dir/build
Building C object CMakeFiles/cmTC_9a001.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_9a001.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_9a001.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_9a001.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_9a001
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9a001.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_9a001.dir/CheckIncludeFile.c.o -o cmTC_9a001
Determining if the include file sys/types.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_1481c/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_1481c.dir/build.make CMakeFiles/cmTC_1481c.dir/build
Building C object CMakeFiles/cmTC_1481c.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_1481c.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_1481c.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_1481c.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_1481c
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1481c.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_1481c.dir/CheckIncludeFile.c.o -o cmTC_1481c
Determining if the include file sys/unistd.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_256fd/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_256fd.dir/build.make CMakeFiles/cmTC_256fd.dir/build
Building C object CMakeFiles/cmTC_256fd.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_256fd.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_256fd.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_256fd.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_256fd
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_256fd.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_256fd.dir/CheckIncludeFile.c.o -o cmTC_256fd
Determining if the include file time.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_06389/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_06389.dir/build.make CMakeFiles/cmTC_06389.dir/build
Building C object CMakeFiles/cmTC_06389.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_06389.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_06389.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_06389.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_06389
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06389.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_06389.dir/CheckIncludeFile.c.o -o cmTC_06389
Determining if the include file unistd.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_166b3/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_166b3.dir/build.make CMakeFiles/cmTC_166b3.dir/build
Building C object CMakeFiles/cmTC_166b3.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_166b3.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_166b3.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_166b3.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_166b3
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_166b3.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_166b3.dir/CheckIncludeFile.c.o -o cmTC_166b3
Determining if the include file float.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_0f65e/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_0f65e.dir/build.make CMakeFiles/cmTC_0f65e.dir/build
Building C object CMakeFiles/cmTC_0f65e.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_0f65e.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_0f65e.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_0f65e.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_0f65e
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0f65e.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_0f65e.dir/CheckIncludeFile.c.o -o cmTC_0f65e
Determining if the include file stddef.h exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_d1725/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_d1725.dir/build.make CMakeFiles/cmTC_d1725.dir/build
Building C object CMakeFiles/cmTC_d1725.dir/CheckIncludeFile.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_d1725.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_d1725.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_d1725.dir/CheckIncludeFile.c.o -c /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_d1725
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d1725.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_d1725.dir/CheckIncludeFile.c.o -o cmTC_d1725
Determining if the function malloc exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_3f233/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_3f233.dir/build.make CMakeFiles/cmTC_3f233.dir/build
Building C object CMakeFiles/cmTC_3f233.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=malloc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_3f233.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_3f233.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_3f233.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
/usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
CHECK_FUNCTION_EXISTS(void);
^
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS malloc
^
/usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c:7:3: note: 'malloc' is a builtin with type 'void *(unsigned long)'
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS malloc
^
1 warning generated.
Linking C executable cmTC_3f233
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3f233.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=malloc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_3f233.dir/CheckFunctionExists.c.o -o cmTC_3f233
Determining if the function memset exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_55b4f/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_55b4f.dir/build.make CMakeFiles/cmTC_55b4f.dir/build
Building C object CMakeFiles/cmTC_55b4f.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=memset -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_55b4f.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_55b4f.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_55b4f.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
/usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]
CHECK_FUNCTION_EXISTS(void);
^
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS memset
^
/usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c:7:3: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS memset
^
1 warning generated.
Linking C executable cmTC_55b4f
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55b4f.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=memset -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_55b4f.dir/CheckFunctionExists.c.o -o cmTC_55b4f
Determining if the function select exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_7ac67/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_7ac67.dir/build.make CMakeFiles/cmTC_7ac67.dir/build
Building C object CMakeFiles/cmTC_7ac67.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=select -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_7ac67.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_7ac67.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_7ac67.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_7ac67
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7ac67.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=select -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_7ac67.dir/CheckFunctionExists.c.o -o cmTC_7ac67
Determining if the function socket exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_07d6e/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_07d6e.dir/build.make CMakeFiles/cmTC_07d6e.dir/build
Building C object CMakeFiles/cmTC_07d6e.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=socket -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_07d6e.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_07d6e.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_07d6e.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_07d6e
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_07d6e.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=socket -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_07d6e.dir/CheckFunctionExists.c.o -o cmTC_07d6e
Determining if the function strcasecmp exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_1914f/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_1914f.dir/build.make CMakeFiles/cmTC_1914f.dir/build
Building C object CMakeFiles/cmTC_1914f.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=strcasecmp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_1914f.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_1914f.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_1914f.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
/usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
CHECK_FUNCTION_EXISTS(void);
^
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS strcasecmp
^
/usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c:7:3: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS strcasecmp
^
1 warning generated.
Linking C executable cmTC_1914f
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1914f.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=strcasecmp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_1914f.dir/CheckFunctionExists.c.o -o cmTC_1914f
Determining if the function pthread_mutex_lock exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_e8655/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_e8655.dir/build.make CMakeFiles/cmTC_e8655.dir/build
Building C object CMakeFiles/cmTC_e8655.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_mutex_lock -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_e8655.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_e8655.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_e8655.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_e8655
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e8655.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_mutex_lock -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_e8655.dir/CheckFunctionExists.c.o -o cmTC_e8655
Determining if the function getaddrinfo exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_6625b/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_6625b.dir/build.make CMakeFiles/cmTC_6625b.dir/build
Building C object CMakeFiles/cmTC_6625b.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=getaddrinfo -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_6625b.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_6625b.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_6625b.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_6625b
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6625b.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=getaddrinfo -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_6625b.dir/CheckFunctionExists.c.o -o cmTC_6625b
Determining if the function strnlen exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_5a4fa/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_5a4fa.dir/build.make CMakeFiles/cmTC_5a4fa.dir/build
Building C object CMakeFiles/cmTC_5a4fa.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=strnlen -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_5a4fa.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_5a4fa.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_5a4fa.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_5a4fa
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5a4fa.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=strnlen -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_5a4fa.dir/CheckFunctionExists.c.o -o cmTC_5a4fa
Determining if the function strrchr exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_70a2a/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_70a2a.dir/build.make CMakeFiles/cmTC_70a2a.dir/build
Building C object CMakeFiles/cmTC_70a2a.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=strrchr -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_70a2a.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_70a2a.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_70a2a.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
/usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'strrchr' [-Wincompatible-library-redeclaration]
CHECK_FUNCTION_EXISTS(void);
^
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS strrchr
^
/usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c:7:3: note: 'strrchr' is a builtin with type 'char *(const char *, int)'
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS strrchr
^
1 warning generated.
Linking C executable cmTC_70a2a
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_70a2a.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=strrchr -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_70a2a.dir/CheckFunctionExists.c.o -o cmTC_70a2a
Determining if the function if_nametoindex exists passed with the following output:
Change Dir: /Users/lvmc/Projects/libcoap/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_b6101/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_b6101.dir/build.make CMakeFiles/cmTC_b6101.dir/build
Building C object CMakeFiles/cmTC_b6101.dir/CheckFunctionExists.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=if_nametoindex -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -std=gnu11 -MD -MT CMakeFiles/cmTC_b6101.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_b6101.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_b6101.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.20.5/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_b6101
/usr/local/Cellar/cmake/3.20.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b6101.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DCHECK_FUNCTION_EXISTS=if_nametoindex -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_b6101.dir/CheckFunctionExists.c.o -o cmTC_b6101
It seems CMake is able to find if_nametoindex
, but somehow HAVE_IF_NAMETOINDEX
isn't being set or isn't visible at net.c
.
.
.
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for getrandom
-- Looking for getrandom - not found
-- Looking for if_nametoindex
-- Looking for if_nametoindex - found
-- Looking for cmsghdr
-- Looking for cmsghdr - not found
-- compiling without epoll support
-- compiling with DTLS support
-- DTLS_BACKEND: default
-- Found GnuTLS: /usr/local/Cellar/gnutls/3.6.16/lib/libgnutls.dylib (found version "3.6.16")
-- compiling with gnutls support
-- ENABLE_DTLS:.....................ON
-- ENABLE_TCP:......................ON
-- ENABLE_DOCS:.....................ON
.
.
.
I have found a missing file update requirement
diff --git a/cmake_coap_config.h.in b/cmake_coap_config.h.in
index 53db425..773d429 100644
--- a/cmake_coap_config.h.in
+++ b/cmake_coap_config.h.in
@@ -66,6 +66,9 @@
/* Define to 1 if you have the `memset' function. */
#cmakedefine HAVE_MEMSET "@HAVE_MEMSET@"
+/* Define to 1 if you have the `if_nametoindex' function. */
+#cmakedefine HAVE_IF_NAMETOINDEX "@HAVE_IF_NAMETOINDEX@"
+
/* Define to 1 if you have the <netdb.h> header file. */
#cmakedefine HAVE_NETDB_H "@HAVE_NETDB_H@"
@mrdeep1
That was a good catch, now it's working!
CMakeLists.txt
check_function_exists(if_nametoindex HAVE_IF_NAMETOINDEX)
if(APPLE)
add_definitions(-D__APPLE_USE_RFC_3542=1)
endif()
cmake_coap_config.h.in
/* Define to 1 if you have the `if_nametoindex' function. */
#cmakedefine HAVE_IF_NAMETOINDEX "@HAVE_IF_NAMETOINDEX@"
Now I think the last warning on OSX is:
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:26 (add_library):
Policy CMP0115 is not set: Source file extensions must be explicit. Run
"cmake --help-policy CMP0115" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
File:
/Users/lvmc/Projects/libcoap/include/coap3/coap.h.in
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/lvmc/Projects/libcoap/build
The cmake on the Ubuntu20 system I am using is < 3.20 so not seeing this warning. However, there is a superflous line as per below that can be removed.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c80a38c..6b792c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -457,7 +457,6 @@ target_sources(
${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_event.h
${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap.h
${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_hashkey.h
- ${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap.h.in
${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_io.h
${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_session.h
${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap_time.h
@mrdeep1
Tried to remove your suggestion:
${CMAKE_CURRENT_LIST_DIR}/include/coap${LIBCOAP_API_VERSION}/coap.h.in
But the warning is still there:
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:26 (add_library):
Policy CMP0115 is not set: Source file extensions must be explicit. Run
"cmake --help-policy CMP0115" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
File:
/Users/lvmc/Projects/libcoap/include/coap3/coap.h.in
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/lvmc/Projects/libcoap/build
Line 26 is:
add_library(${COAP_LIBRARY_NAME})
I've upgraded to CMake version 3.21.1, same error as the version I was testing the other fixes.
I think the add_library() line eference is referring to all the definitions for the library and it is complaining about the file coap.h.in. As it is only a warning and not preventing compilation, I am unable to help further here as my version of cmake is < 3.20 which is when Policy CMP0115 was added to cmake.
The code changes to allow the macOS build have now been pushed into the develop branch under PR #731.
CMP0115 issue fixed in #1103, now merged into develop.