On Thu, 2023-11-09 at 12:05 +0000, Dingjun Chen wrote: > In file included from > /home/Dingjun.Chen/DAQ_XYZCross2_cmake_v5/src/_d_dngl.cc:11: > /home/Dingjun.Chen/x-tools/HOST-x86_64-pc-cygwin/i686-linux-musl/i686- > linux-musl/include/c++/13.2.0/cstring:77:11: error: 'memchr' has not > been declared in '::' > 77 | using ::memchr; > | ^~~~~~ It should be defined by the libc (in your configuration, Musl) header string.h. Check the output of echo '#include <cstring>' | cpp -E -x c++ | grep -F 'string.h' to see if the compiler is finding the correct string.h. And view the string.h file to see if there is something wrong. -- Xi Ruoyao <xry111@xxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University