Missing dependencies for libraries for librt.so

Hi All,

I have tried to build openwork with external toolchain toolchain-x86_64_gcc-7.3.0_glibc.tar.gz
and se this build error:

nstall -m0755 /home/knatarajan/p4-workspace/ufwd-xrt-build-optimization-view/ufwd-stack/openwrt.xrt/build_dir/target-x86_64-openwrt-linux_musl/util-linux-2.32/ipkg-install/usr/bin/dmesg /home/knatarajan/p4-workspace/ufwd-xrt-build-optimization-view/ufwd-stack/openwrt.xrt/build_dir/target-x86_64-openwrt-linux_musl/util-linux-2.32/ipkg-x86_64/dmesg/usr/bin/

find /home/knatarajan/p4-workspace/ufwd-xrt-build-optimization-view/ufwd-stack/openwrt.xrt/build_dir/target-x86_64-openwrt-linux_musl/util-linux-2.32/ipkg-x86_64/dmesg -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf

Package dmesg is missing dependencies for the following libraries:

librt.so.1

Makefile:739: recipe for target '/home/knatarajan/p4-workspace/ufwd-xrt-build-optimization-view/ufwd-stack/openwrt.xrt/bin/packages/x86_64/base/dmesg_2.32-2_x86_64.ipk' failed

Could you please help me to fix it?
BTW, I have added the following config in openwrt.config and build it.

#
#External toolchain configuration
#
CONFIG_EXTERNAL_TOOLCHAIN=y
CONFIG_TARGET_NAME="x86_64-openwrt-linux"
CONFIG_TOOLCHAIN_PREFIX="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc/bin/x86_64-openwrt-linux-"
CONFIG_TOOLCHAIN_ROOT="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc"
CONFIG_TOOLCHAIN_LIBC="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc/lib/libc-2.26.so"
CONFIG_TOOLCHAIN_BIN_PATH="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc/bin"
CONFIG_TOOLCHAIN_INC_PATH="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc/lib"
CONFIG_TOOLCHAIN_LIB_PATH="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc/include"
CONFIG_USE_EXTERNAL_LIBC=y
CONFIG_BINUTILS_VERSION_2_29_1=y
CONFIG_BINUTILS_VERSION="2.29.1"
CONFIG_GCC_VERSION="7.3.0"
CONFIG_GCC_VERSION_7=y
CONFIG_TARGET_INIT_PATH="/usr/sbin:/usr/bin:/sbin:/bin"
CONFIG_TARGET_INIT_ENV=""
CONFIG_TARGET_INIT_CMD="/sbin/init"
CONFIG_TARGET_INIT_SUPPRESS_STDERR=y
#
# Configuration
#
CONFIG_LIBC_ROOT_DIR="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc"
CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"
#
# Configuration
#
CONFIG_PACKAGE_libgcc=y
CONFIG_LIBGCC_ROOT_DIR="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc"
CONFIG_LIBGCC_FILE_SPEC="./lib/libgcc_s.so.*"
#
# Configuration
#
CONFIG_PACKAGE_libpthread=y
CONFIG_LIBPTHREAD_ROOT_DIR="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc"
CONFIG_LIBPTHREAD_FILE_SPEC="./lib/libpthread{-*.so,.so.*}"
#
# Configuration
#
#CONFIG_LIBRT_ROOT_DIR="${TOP_DIR}/openwrt.xrt/staging_dir/target-x86_64-openwrt-linux_musl/root-x86/"
CONFIG_PACKAGE_librt=y
CONFIG_LIBRT_ROOT_DIR="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc"
CONFIG_LIBRT_FILE_SPEC="./lib/librt{-*.so,.so.*}"
#
# Configuration
#
CONFIG_PACKAGE_libssp=y
CONFIG_LIBSSP_ROOT_DIR="/home/kanatara/toolchain-x86_64_gcc-7.3.0_glibc"
CONFIG_LIBSSP_FILE_SPEC="./lib/libssp.so.*"

Thanks,
-karthi