Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_8fec0/fast" make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8fec0.dir/build.make CMakeFiles/cmTC_8fec0.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_8fec0.dir/src.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/arm-linux-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/arm-buildroot-linux-musleabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static -latomic -Wall -DICONV_SECOND_ARGUMENT_IS_CONST -DNDEBUG -std=c++1z -o CMakeFiles/cmTC_8fec0.dir/src.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp/src.cxx /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp/src.cxx:9:17: error: invalid conversion from 'const char**' to 'char**' [-fpermissive] iconv(conv, &in, &ilen, &out, &olen); ^~~ In file included from /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/iconv.h:17:8: note: initializing argument 2 of 'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)' size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict); ^~~~~ CMakeFiles/cmTC_8fec0.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_8fec0.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_8fec0.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_8fec0/fast' failed make[1]: *** [cmTC_8fec0/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp' Source file was: #include int main(){ iconv_t conv = 0; const char* in = 0; size_t ilen = 0; char* out = 0; size_t olen = 0; iconv(conv, &in, &ilen, &out, &olen); return 0; } Performing C++ SOURCE FILE Test FOUND_BSD_UUID failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5e587/fast" make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5e587.dir/build.make CMakeFiles/cmTC_5e587.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_5e587.dir/src.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/arm-linux-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/arm-buildroot-linux-musleabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static -latomic -Wall -DFOUND_BSD_UUID -DNDEBUG -std=c++1z -o CMakeFiles/cmTC_5e587.dir/src.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp/src.cxx /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp/src.cxx:2:13: fatal error: uuid.h: No such file or directory #include ^~~~~~~~ compilation terminated. CMakeFiles/cmTC_5e587.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_5e587.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_5e587.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_5e587/fast' failed make[1]: *** [cmTC_5e587/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/gerbera-v1.3.0/CMakeFiles/CMakeTmp' Return value: 1 Source file was: #include int main(void) { uuid_t uuid; uint32_t status; uuid_create(&uuid, &status); return 0; }