Closed JustinTimperio closed 3 years ago
I thinks the answer is here: https://github.com/flier/docker-wdt/blob/master/Dockerfile
Got the exact same issue on arch, fixed it by adding the CString.cpp file to wdt CMakeList in the FOLLY_CPP_SRC. The file contains the strlcpy function.
set (FOLLY_CPP_SRC
"${FOLLY_SOURCE_DIR}/folly/Conv.cpp"
"${FOLLY_SOURCE_DIR}/folly/Demangle.cpp"
"${FOLLY_SOURCE_DIR}/folly/hash/Checksum.cpp"
"${FOLLY_SOURCE_DIR}/folly/hash/detail/ChecksumDetail.cpp"
"${FOLLY_SOURCE_DIR}/folly/hash/detail/Crc32cDetail.cpp"
"${FOLLY_SOURCE_DIR}/folly/hash/detail/Crc32CombineDetail.cpp"
"${FOLLY_SOURCE_DIR}/folly/lang/ColdClass.cpp"
"${FOLLY_SOURCE_DIR}/folly/ScopeGuard.cpp"
# FIX HERE
"${FOLLY_SOURCE_DIR}/folly/lang/CString.cpp"
)
For those running into issues, I have locked my install script for warp-cli. You can automatically install WDT with this shell script. https://github.com/JustinTimperio/warp-cli/blob/master/build/install.sh
All you need to do is run:
curl https://raw.githubusercontent.com/JustinTimperio/warp-cli/master/build/install.sh | sudo bash
I get the following error when building WDT on both Ubuntu > 18.xx and Fedora > 28.
Packages installed on Ubuntu: cmake libjemalloc-dev libgoogle-glog-dev libboost-system-dev libdouble-conversion-dev openssl build-essential libboost-all-dev libssl-dev libgtest-dev
Packages installed on Fedora: cmake boost-devel openssl jemalloc glog-devel double-conversion-devel make automake gcc gcc-c++ kernel-devel gtest-devel openssl-devel
Cmake output: