Performing C++ SOURCE FILE Test _SSL_LEAK_SUPPRESS_AVAILABLE failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/libcpprestsdk-v2.10.1/Release/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_15985/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libcpprestsdk-v2.10.1/Release/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_15985.dir/build.make CMakeFiles/cmTC_15985.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libcpprestsdk-v2.10.1/Release/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_15985.dir/src.cxx.o /home/buildroot/build/instance-0/output/host/bin/arc-linux-g++ --sysroot=/home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -static -static -std=c++11 -fno-strict-aliasing -D_SSL_LEAK_SUPPRESS_AVAILABLE -DNDEBUG -o CMakeFiles/cmTC_15985.dir/src.cxx.o -c /home/buildroot/build/instance-0/output/build/libcpprestsdk-v2.10.1/Release/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_15985 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_15985.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/arc-linux-g++ --sysroot=/home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -static -static -std=c++11 -fno-strict-aliasing -D_SSL_LEAK_SUPPRESS_AVAILABLE -DNDEBUG -static -rdynamic CMakeFiles/cmTC_15985.dir/src.cxx.o -o cmTC_15985 /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libssl.a /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block': c_zlib.c:(.text+0x40): undefined reference to `inflate' c_zlib.c:(.text+0x40): undefined reference to `inflate' /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_compress_block': c_zlib.c:(.text+0x96): undefined reference to `deflate' c_zlib.c:(.text+0x96): undefined reference to `deflate' /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_free': c_zlib.c:(.text+0xc4): undefined reference to `inflateEnd' c_zlib.c:(.text+0xc4): undefined reference to `inflateEnd' c_zlib.c:(.text+0xd4): undefined reference to `deflateEnd' c_zlib.c:(.text+0xd4): undefined reference to `deflateEnd' /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish': c_zlib.c:(.text+0x114): undefined reference to `inflateEnd' c_zlib.c:(.text+0x114): undefined reference to `inflateEnd' c_zlib.c:(.text+0x11a): undefined reference to `deflateEnd' c_zlib.c:(.text+0x11a): undefined reference to `deflateEnd' /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init': c_zlib.c:(.text+0x17e): undefined reference to `inflateInit_' c_zlib.c:(.text+0x17e): undefined reference to `inflateInit_' c_zlib.c:(.text+0x1a0): undefined reference to `deflateInit_' c_zlib.c:(.text+0x1a0): undefined reference to `deflateInit_' /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl': c_zlib.c:(.text+0x2b0): undefined reference to `deflate' c_zlib.c:(.text+0x2b0): undefined reference to `deflate' c_zlib.c:(.text+0x304): undefined reference to `zError' c_zlib.c:(.text+0x304): undefined reference to `zError' /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_write': c_zlib.c:(.text+0x45c): undefined reference to `deflateInit_' c_zlib.c:(.text+0x45c): undefined reference to `deflateInit_' c_zlib.c:(.text+0x484): undefined reference to `deflate' c_zlib.c:(.text+0x484): undefined reference to `deflate' c_zlib.c:(.text+0x4a4): undefined reference to `zError' c_zlib.c:(.text+0x4a4): undefined reference to `zError' /home/buildroot/build/instance-0/output/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_read': c_zlib.c:(.text+0x55a): undefined reference to `inflateInit_' c_zlib.c:(.text+0x55a): undefined reference to `inflateInit_' c_zlib.c:(.text+0x598): undefined reference to `inflate' c_zlib.c:(.text+0x598): undefined reference to `inflate' c_zlib.c:(.text+0x5b8): undefined reference to `zError' c_zlib.c:(.text+0x5b8): undefined reference to `zError' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_15985.dir/build.make:99: recipe for target 'cmTC_15985' failed make[2]: *** [cmTC_15985] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libcpprestsdk-v2.10.1/Release/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_15985/fast' failed make[1]: *** [cmTC_15985/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/libcpprestsdk-v2.10.1/Release/CMakeFiles/CMakeTmp' Source file was: #include int main() { ::SSL_COMP_free_compression_methods(); }