Determining if the pthread_create exist failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_0201a" [1/2] Building C object CMakeFiles/cmTC_0201a.dir/CheckSymbolExists.c.o [2/2] Linking C executable cmTC_0201a FAILED: cmTC_0201a : && /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -rdynamic CMakeFiles/cmTC_0201a.dir/CheckSymbolExists.c.o -o cmTC_0201a && : CMakeFiles/cmTC_0201a.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. File /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <pthread.h> int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_fa341" [1/2] Building C object CMakeFiles/cmTC_fa341.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_fa341 FAILED: cmTC_fa341 : && /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_fa341.dir/CheckFunctionExists.c.o -o cmTC_fa341 -lpthreads && : /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function socket exists in the socket failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_588b4" [1/2] Building C object CMakeFiles/cmTC_588b4.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_588b4 FAILED: cmTC_588b4 : && /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -DCHECK_FUNCTION_EXISTS=socket -rdynamic CMakeFiles/cmTC_588b4.dir/CheckFunctionExists.c.o -o cmTC_588b4 -lsocket && : /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the kqueue exist failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_65e39" [1/2] Building C object CMakeFiles/cmTC_65e39.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_65e39.dir/CheckSymbolExists.c.o /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -o CMakeFiles/cmTC_65e39.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c:2:10: fatal error: sys/event.h: No such file or directory #include <sys/event.h> ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. File /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <sys/event.h> int main(int argc, char** argv) { (void)argv; #ifndef kqueue return ((int*)(&kqueue))[argc]; #else (void)argc; return 0; #endif } Determining if the port_create exist failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_922fd" [1/2] Building C object CMakeFiles/cmTC_922fd.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_922fd.dir/CheckSymbolExists.c.o /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -o CMakeFiles/cmTC_922fd.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c:2:10: fatal error: port.h: No such file or directory #include <port.h> ^~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. File /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <port.h> int main(int argc, char** argv) { (void)argv; #ifndef port_create return ((int*)(&port_create))[argc]; #else (void)argc; return 0; #endif } Determining if the getpeereid exist failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_6f840" [1/2] Building C object CMakeFiles/cmTC_6f840.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_6f840.dir/CheckSymbolExists.c.o /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -o CMakeFiles/cmTC_6f840.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c: In function ‘main’: CheckSymbolExists.c:8:19: error: ‘getpeereid’ undeclared (first use in this function); did you mean ‘getegid’? return ((int*)(&getpeereid))[argc]; ^~~~~~~~~~ getegid CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter] int main(int argc, char** argv) ^~~~ ninja: build stopped: subcommand failed. File /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <unistd.h> int main(int argc, char** argv) { (void)argv; #ifndef getpeereid return ((int*)(&getpeereid))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test NNG_HAVE_SOCKPEERCRED failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_31028" [1/2] Building C object CMakeFiles/cmTC_31028.dir/src.c.o FAILED: CMakeFiles/cmTC_31028.dir/src.c.o /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -DNNG_HAVE_SOCKPEERCRED -o CMakeFiles/cmTC_31028.dir/src.c.o -c src.c src.c: In function ‘main’: src.c:6:43: error: dereferencing pointer to incomplete type ‘struct sockpeercred’ (void)sizeof(((struct sockpeercred *)0)->uid); ^~ ninja: build stopped: subcommand failed. Source file was: #include <sys/socket.h> int main() { (void)sizeof(((struct sockpeercred *)0)->uid); return 0; } Determining if the LOCAL_PEERCRED exist failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_6f20d" [1/2] Building C object CMakeFiles/cmTC_6f20d.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_6f20d.dir/CheckSymbolExists.c.o /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -o CMakeFiles/cmTC_6f20d.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c: In function ‘main’: CheckSymbolExists.c:8:19: error: ‘LOCAL_PEERCRED’ undeclared (first use in this function) return ((int*)(&LOCAL_PEERCRED))[argc]; ^~~~~~~~~~~~~~ CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter] int main(int argc, char** argv) ^~~~ ninja: build stopped: subcommand failed. File /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <sys/un.h> int main(int argc, char** argv) { (void)argv; #ifndef LOCAL_PEERCRED return ((int*)(&LOCAL_PEERCRED))[argc]; #else (void)argc; return 0; #endif } Determining if the getpeerucred exist failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_09645" [1/2] Building C object CMakeFiles/cmTC_09645.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_09645.dir/CheckSymbolExists.c.o /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -o CMakeFiles/cmTC_09645.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c:2:10: fatal error: ucred.h: No such file or directory #include <ucred.h> ^~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. File /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <ucred.h> int main(int argc, char** argv) { (void)argv; #ifndef getpeerucred return ((int*)(&getpeerucred))[argc]; #else (void)argc; return 0; #endif } Determining if the strlcat exist failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_9453d" [1/2] Building C object CMakeFiles/cmTC_9453d.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_9453d.dir/CheckSymbolExists.c.o /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -o CMakeFiles/cmTC_9453d.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c: In function ‘main’: CheckSymbolExists.c:8:19: error: ‘strlcat’ undeclared (first use in this function); did you mean ‘strncat’? return ((int*)(&strlcat))[argc]; ^~~~~~~ strncat CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter] int main(int argc, char** argv) ^~~~ ninja: build stopped: subcommand failed. File /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <string.h> int main(int argc, char** argv) { (void)argv; #ifndef strlcat return ((int*)(&strlcat))[argc]; #else (void)argc; return 0; #endif } Determining if the strlcpy exist failed with the following output: Change Dir: /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_4ea0b" [1/2] Building C object CMakeFiles/cmTC_4ea0b.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_4ea0b.dir/CheckSymbolExists.c.o /usr/bin/cc -Wall -Wextra -fno-omit-frame-pointer -o CMakeFiles/cmTC_4ea0b.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c: In function ‘main’: CheckSymbolExists.c:8:19: error: ‘strlcpy’ undeclared (first use in this function); did you mean ‘strncpy’? return ((int*)(&strlcpy))[argc]; ^~~~~~~ strncpy CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter] int main(int argc, char** argv) ^~~~ ninja: build stopped: subcommand failed. File /w/workspace/ric-plt-e2mgr-sonar-prescan-script/nng/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <string.h> int main(int argc, char** argv) { (void)argv; #ifndef strlcpy return ((int*)(&strlcpy))[argc]; #else (void)argc; return 0; #endif }