Determining if the _aligned_malloc exist failed with the following output: Change Dir: /accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_fe96e/fast" make[1]: Entering directory `/accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_fe96e.dir/build.make CMakeFiles/cmTC_fe96e.dir/build make[2]: Entering directory `/accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fe96e.dir/CheckSymbolExists.c.o /accts/mlweber1/instance-2/output/host/bin/arm-linux-gcc --sysroot=/accts/mlweber1/instance-2/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_fe96e.dir/CheckSymbolExists.c.o -c /accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c /accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: '_aligned_malloc' undeclared (first use in this function) return ((int*)(&_aligned_malloc))[argc]; ^~~~~~~~~~~~~~~ /accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_fe96e.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_fe96e/fast] Error 2 make[1]: Leaving directory `/accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' File /accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef _aligned_malloc return ((int*)(&_aligned_malloc))[argc]; #else (void)argc; return 0; #endif } Determining if the include file pthread.h exists failed with the following output: Change Dir: /accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0d18b/fast" make[1]: Entering directory `/accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0d18b.dir/build.make CMakeFiles/cmTC_0d18b.dir/build make[2]: Entering directory `/accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0d18b.dir/CheckIncludeFile.c.o /accts/mlweber1/instance-2/output/host/bin/arm-linux-gcc --sysroot=/accts/mlweber1/instance-2/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_0d18b.dir/CheckIncludeFile.c.o -c /accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:21: fatal error: pthread.h: No such file or directory #include ^ compilation terminated. make[2]: *** [CMakeFiles/cmTC_0d18b.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_0d18b/fast] Error 2 make[1]: Leaving directory `/accts/mlweber1/instance-2/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp'