Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_63304/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_63304.dir/build.make CMakeFiles/cmTC_63304.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_63304.dir/src.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DCMAKE_HAVE_LIBC_PTHREAD -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -std=gnu90 -o CMakeFiles/cmTC_63304.dir/src.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_63304 /home/buildroot/autobuild/run/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_63304.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG CMakeFiles/cmTC_63304.dir/src.c.o -o cmTC_63304 CMakeFiles/cmTC_63304.dir/src.c.o: In function `main': src.c:(.text.startup+0xc): undefined reference to `pthread_create' src.c:(.text.startup+0x12): undefined reference to `pthread_detach' src.c:(.text.startup+0x18): undefined reference to `pthread_cancel' src.c:(.text.startup+0x20): undefined reference to `pthread_join' src.c:(.text.startup+0x2a): undefined reference to `pthread_atfork' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_63304.dir/build.make:98: recipe for target 'cmTC_63304' failed make[2]: *** [cmTC_63304] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_63304/fast' failed make[1]: *** [cmTC_63304/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Source file was: #include static void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_66614/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_66614.dir/build.make CMakeFiles/cmTC_66614.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_66614.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -std=gnu90 -o CMakeFiles/cmTC_66614.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_66614 /home/buildroot/autobuild/run/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_66614.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_66614.dir/CheckFunctionExists.c.o -o cmTC_66614 -lpthreads /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_66614.dir/build.make:98: recipe for target 'cmTC_66614' failed make[2]: *** [cmTC_66614] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_66614/fast' failed make[1]: *** [cmTC_66614/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test CXX_FLAG__std_c_14 failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_68702/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_68702.dir/build.make CMakeFiles/cmTC_68702.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_68702.dir/src.cxx.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++ --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DCXX_FLAG__std_c_14 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -std=c++14 -o CMakeFiles/cmTC_68702.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/src.cxx arm-none-linux-gnueabi-g++: error: unrecognized command line option '-std=c++14' CMakeFiles/cmTC_68702.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_68702.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_68702.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_68702/fast' failed make[1]: *** [cmTC_68702/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Source file was: int main() { return 0; } Determining if the include file sys/dl.h exists failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_4b7d8/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4b7d8.dir/build.make CMakeFiles/cmTC_4b7d8.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4b7d8.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_4b7d8.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:20: fatal error: sys/dl.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_4b7d8.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_4b7d8.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_4b7d8.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_4b7d8/fast' failed make[1]: *** [cmTC_4b7d8/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Determining if the include file sys/fileio.h exists failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_13258/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_13258.dir/build.make CMakeFiles/cmTC_13258.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_13258.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_13258.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:24: fatal error: sys/fileio.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_13258.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_13258.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_13258.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_13258/fast' failed make[1]: *** [cmTC_13258/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Determining if the include file sys/inttypes.h exists failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_46aa5/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_46aa5.dir/build.make CMakeFiles/cmTC_46aa5.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_46aa5.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_46aa5.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:26: fatal error: sys/inttypes.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_46aa5.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_46aa5.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_46aa5.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_46aa5/fast' failed make[1]: *** [cmTC_46aa5/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Determining if the include file sys/int_types.h exists failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_10690/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_10690.dir/build.make CMakeFiles/cmTC_10690.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_10690.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_10690.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:27: fatal error: sys/int_types.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_10690.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_10690.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_10690.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_10690/fast' failed make[1]: *** [cmTC_10690/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Determining if the accept4 exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_cc3dd/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_cc3dd.dir/build.make CMakeFiles/cmTC_cc3dd.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cc3dd.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_cc3dd.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'accept4' undeclared (first use in this function) return ((int*)(&accept4))[argc]; ^ /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_cc3dd.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_cc3dd.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_cc3dd.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_cc3dd/fast' failed make[1]: *** [cmTC_cc3dd/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef accept4 return ((int*)(&accept4))[argc]; #else (void)argc; return 0; #endif } Determining if the strcasestr exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_ce715/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ce715.dir/build.make CMakeFiles/cmTC_ce715.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ce715.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_ce715.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'strcasestr' undeclared (first use in this function) return ((int*)(&strcasestr))[argc]; ^ /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_ce715.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_ce715.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_ce715.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_ce715/fast' failed make[1]: *** [cmTC_ce715/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef strcasestr return ((int*)(&strcasestr))[argc]; #else (void)argc; return 0; #endif } Determining if the strlcat exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_6510d/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6510d.dir/build.make CMakeFiles/cmTC_6510d.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6510d.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_6510d.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'strlcat' undeclared (first use in this function) return ((int*)(&strlcat))[argc]; ^ /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_6510d.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_6510d.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_6510d.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_6510d/fast' failed make[1]: *** [cmTC_6510d/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef strlcat return ((int*)(&strlcat))[argc]; #else (void)argc; return 0; #endif } Determining if the strlcpy exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_74e17/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_74e17.dir/build.make CMakeFiles/cmTC_74e17.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_74e17.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_74e17.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'strlcpy' undeclared (first use in this function) return ((int*)(&strlcpy))[argc]; ^ /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_74e17.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_74e17.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_74e17.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_74e17/fast' failed make[1]: *** [cmTC_74e17/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef strlcpy return ((int*)(&strlcpy))[argc]; #else (void)argc; return 0; #endif } Determining if the strnstr exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_da8e8/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_da8e8.dir/build.make CMakeFiles/cmTC_da8e8.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_da8e8.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_da8e8.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'strnstr' undeclared (first use in this function) return ((int*)(&strnstr))[argc]; ^ /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_da8e8.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_da8e8.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_da8e8.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_da8e8/fast' failed make[1]: *** [cmTC_da8e8/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef strnstr return ((int*)(&strnstr))[argc]; #else (void)argc; return 0; #endif } Determining if the sysctlbyname exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_f5583/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f5583.dir/build.make CMakeFiles/cmTC_f5583.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f5583.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_f5583.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:20: fatal error: sysctl.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_f5583.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_f5583.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_f5583.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_f5583/fast' failed make[1]: *** [cmTC_f5583/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef sysctlbyname return ((int*)(&sysctlbyname))[argc]; #else (void)argc; return 0; #endif } Determining if the mkstemp exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_1ac0a/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1ac0a.dir/build.make CMakeFiles/cmTC_1ac0a.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1ac0a.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_1ac0a.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'mkstemp' undeclared (first use in this function) return ((int*)(&mkstemp))[argc]; ^ /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_1ac0a.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_1ac0a.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_1ac0a.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_1ac0a/fast' failed make[1]: *** [cmTC_1ac0a/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef mkstemp return ((int*)(&mkstemp))[argc]; #else (void)argc; return 0; #endif } Determining if the setgroups exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_70700/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_70700.dir/build.make CMakeFiles/cmTC_70700.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_70700.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_70700.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'setgroups' undeclared (first use in this function) return ((int*)(&setgroups))[argc]; ^ /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_70700.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_70700.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_70700.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_70700/fast' failed make[1]: *** [cmTC_70700/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef setgroups return ((int*)(&setgroups))[argc]; #else (void)argc; return 0; #endif }