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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_a6afc/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a6afc.dir/build.make CMakeFiles/cmTC_a6afc.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a6afc.dir/src.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -DCMAKE_HAVE_LIBC_PTHREAD -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -std=gnu90 -o CMakeFiles/cmTC_a6afc.dir/src.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_a6afc /home/buildroot/autobuild/run/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a6afc.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG CMakeFiles/cmTC_a6afc.dir/src.c.o -o cmTC_a6afc CMakeFiles/cmTC_a6afc.dir/src.c.o: In function `main': src.c:(.text.startup+0x1c): undefined reference to `pthread_create' src.c:(.text.startup+0x3c): undefined reference to `pthread_create' src.c:(.text.startup+0x44): undefined reference to `pthread_detach' src.c:(.text.startup+0x48): undefined reference to `pthread_detach' src.c:(.text.startup+0x50): undefined reference to `pthread_cancel' src.c:(.text.startup+0x54): undefined reference to `pthread_cancel' src.c:(.text.startup+0x60): undefined reference to `pthread_join' src.c:(.text.startup+0x64): undefined reference to `pthread_join' src.c:(.text.startup+0x6c): undefined reference to `pthread_atfork' src.c:(.text.startup+0x78): undefined reference to `pthread_atfork' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_a6afc.dir/build.make:98: recipe for target 'cmTC_a6afc' failed make[2]: *** [cmTC_a6afc] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_a6afc/fast' failed make[1]: *** [cmTC_a6afc/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_06de2/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_06de2.dir/build.make CMakeFiles/cmTC_06de2.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_06de2.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -std=gnu90 -o CMakeFiles/cmTC_06de2.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_06de2 /home/buildroot/autobuild/run/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06de2.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_06de2.dir/CheckFunctionExists.c.o -o cmTC_06de2 -lpthreads /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_06de2.dir/build.make:98: recipe for target 'cmTC_06de2' failed make[2]: *** [cmTC_06de2] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_06de2/fast' failed make[1]: *** [cmTC_06de2/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' 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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_d07fc/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d07fc.dir/build.make CMakeFiles/cmTC_d07fc.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d07fc.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_d07fc.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:20: fatal error: sys/dl.h: No such file or directory compilation terminated. CMakeFiles/cmTC_d07fc.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_d07fc.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_d07fc.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_d07fc/fast' failed make[1]: *** [cmTC_d07fc/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_e682c/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e682c.dir/build.make CMakeFiles/cmTC_e682c.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e682c.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_e682c.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:24: fatal error: sys/fileio.h: No such file or directory compilation terminated. CMakeFiles/cmTC_e682c.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_e682c.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_e682c.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_e682c/fast' failed make[1]: *** [cmTC_e682c/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_bb812/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_bb812.dir/build.make CMakeFiles/cmTC_bb812.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bb812.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_bb812.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:26: fatal error: sys/inttypes.h: No such file or directory compilation terminated. CMakeFiles/cmTC_bb812.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_bb812.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_bb812.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_bb812/fast' failed make[1]: *** [cmTC_bb812/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_5819f/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5819f.dir/build.make CMakeFiles/cmTC_5819f.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5819f.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_5819f.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:27: fatal error: sys/int_types.h: No such file or directory compilation terminated. CMakeFiles/cmTC_5819f.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_5819f.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_5819f.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_5819f/fast' failed make[1]: *** [cmTC_5819f/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_b91b8/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b91b8.dir/build.make CMakeFiles/cmTC_b91b8.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b91b8.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_b91b8.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_b91b8.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_b91b8.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_b91b8.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_b91b8/fast' failed make[1]: *** [cmTC_b91b8/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_b53fa/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b53fa.dir/build.make CMakeFiles/cmTC_b53fa.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b53fa.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_b53fa.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_b53fa.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_b53fa.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_b53fa.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_b53fa/fast' failed make[1]: *** [cmTC_b53fa/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_95939/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_95939.dir/build.make CMakeFiles/cmTC_95939.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_95939.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_95939.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_95939.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_95939.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_95939.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_95939/fast' failed make[1]: *** [cmTC_95939/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_906a7/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_906a7.dir/build.make CMakeFiles/cmTC_906a7.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_906a7.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_906a7.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_906a7.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_906a7.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_906a7.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_906a7/fast' failed make[1]: *** [cmTC_906a7/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_3120f/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3120f.dir/build.make CMakeFiles/cmTC_3120f.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3120f.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_3120f.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_3120f.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_3120f.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_3120f.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_3120f/fast' failed make[1]: *** [cmTC_3120f/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_13cd7/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_13cd7.dir/build.make CMakeFiles/cmTC_13cd7.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_13cd7.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_13cd7.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:20: fatal error: sysctl.h: No such file or directory compilation terminated. CMakeFiles/cmTC_13cd7.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_13cd7.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_13cd7.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_13cd7/fast' failed make[1]: *** [cmTC_13cd7/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_340d4/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_340d4.dir/build.make CMakeFiles/cmTC_340d4.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_340d4.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_340d4.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_340d4.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_340d4.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_340d4.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_340d4/fast' failed make[1]: *** [cmTC_340d4/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_81954/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_81954.dir/build.make CMakeFiles/cmTC_81954.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_81954.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-0/output-1/host/bin/mips-linux-gnu-gcc --sysroot=/home/buildroot/autobuild/run/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UIO_H=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -DNDEBUG -fPIE -std=gnu90 -o CMakeFiles/cmTC_81954.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_81954.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_81954.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_81954.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_81954/fast' failed make[1]: *** [cmTC_81954/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-0/output-1/build/clamav-1.0.1/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 }