Determining if the function smtp_create_session exists in the esmtp failed with the following output: Change Dir: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/log4cxx-0.12.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_98848/fast && gmake[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/log4cxx-0.12.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_98848.dir/build.make CMakeFiles/cmTC_98848.dir/build gmake[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/log4cxx-0.12.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_98848.dir/CheckFunctionExists.cxx.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++ --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=smtp_create_session -std=c++17 -o CMakeFiles/cmTC_98848.dir/CheckFunctionExists.cxx.o -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/log4cxx-0.12.0/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx Linking CXX executable cmTC_98848 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_98848.dir/link.txt --verbose=1 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-buildroot-linux-gnueabihf-g++ --sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=smtp_create_session CMakeFiles/cmTC_98848.dir/CheckFunctionExists.cxx.o -o cmTC_98848 -lesmtp /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: cannot find -lesmtp collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_98848] Error 1 gmake[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/log4cxx-0.12.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_98848/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/log4cxx-0.12.0/CMakeFiles/CMakeTmp'