Determining if the _aligned_malloc exist failed with the following output: Change Dir: /accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9b268/fast" make[1]: Entering directory `/accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9b268.dir/build.make CMakeFiles/cmTC_9b268.dir/build make[2]: Entering directory `/accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9b268.dir/CheckSymbolExists.c.o /accts/mlweber1/instance-1/output/host/bin/arm-linux-gcc --sysroot=/accts/mlweber1/instance-1/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_9b268.dir/CheckSymbolExists.c.o -c /accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c /accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /accts/mlweber1/instance-1/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-1/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_9b268.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_9b268/fast] Error 2 make[1]: Leaving directory `/accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' File /accts/mlweber1/instance-1/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-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a3efc/fast" make[1]: Entering directory `/accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a3efc.dir/build.make CMakeFiles/cmTC_a3efc.dir/build make[2]: Entering directory `/accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a3efc.dir/CheckIncludeFile.c.o /accts/mlweber1/instance-1/output/host/bin/arm-linux-gcc --sysroot=/accts/mlweber1/instance-1/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_a3efc.dir/CheckIncludeFile.c.o -c /accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /accts/mlweber1/instance-1/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_a3efc.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_a3efc/fast] Error 2 make[1]: Leaving directory `/accts/mlweber1/instance-1/output/build/openjpeg-2.3.0/CMakeFiles/CMakeTmp'