Performing C SOURCE FILE Test CMath_LINKS_WITHOUT_M failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_2c479/fast && /usr/bin/gmake -f CMakeFiles/cmTC_2c479.dir/build.make CMakeFiles/cmTC_2c479.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2c479.dir/src.c.o /usr/local/bin/gcc -DCMath_LINKS_WITHOUT_M -fPIE -std=gnu99 -o CMakeFiles/cmTC_2c479.dir/src.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_2c479 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2c479.dir/link.txt --verbose=1 /usr/local/bin/gcc CMakeFiles/cmTC_2c479.dir/src.c.o -o cmTC_2c479 /usr/bin/ld: CMakeFiles/cmTC_2c479.dir/src.c.o: in function `main': src.c:(.text+0x28): undefined reference to `sin' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_2c479.dir/build.make:99: cmTC_2c479] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_2c479/fast] Error 2 Source file was: #include int main(int argc, char** argv) { return sin(argc - 1); } Determining if the Perl module Chemistry::Mol exists failed with the following error output: Can't locate Chemistry/Mol.pm in @INC (you may need to install the Chemistry::Mol module) (@INC contains: /opt/gauopen /opt/g16/bsd /opt/g16 /opt/gauopen /opt/g16/bsd /opt/g16 /opt/gauopen /opt/g16/bsd /opt/g16 /opt/gauopen /opt/g16/bsd /opt/g16 /opt/gauopen /opt/g16/bsd /opt/g16 /opt/gauopen /opt/g16/bsd /opt/g16 /opt/gauopen /opt/g16/bsd /opt/g16 /opt/gauopen /opt/g16/bsd /opt/g16 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at -e line 1. BEGIN failed--compilation aborted at -e line 1. Determining if the include file c_asm.h exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_525fb/fast && /usr/bin/gmake -f CMakeFiles/cmTC_525fb.dir/build.make CMakeFiles/cmTC_525fb.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_525fb.dir/CheckIncludeFile.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -std=gnu99 -o CMakeFiles/cmTC_525fb.dir/CheckIncludeFile.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: c_asm.h: No such file or directory 1 | #include | ^~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_525fb.dir/build.make:78: CMakeFiles/cmTC_525fb.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_525fb/fast] Error 2 Determining if the include file intrinsics.h exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_72f6a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_72f6a.dir/build.make CMakeFiles/cmTC_72f6a.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_72f6a.dir/CheckIncludeFile.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -std=gnu99 -o CMakeFiles/cmTC_72f6a.dir/CheckIncludeFile.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: intrinsics.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_72f6a.dir/build.make:78: CMakeFiles/cmTC_72f6a.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_72f6a/fast] Error 2 Determining if the include file mach/mach_time.h exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5ac3a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_5ac3a.dir/build.make CMakeFiles/cmTC_5ac3a.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5ac3a.dir/CheckIncludeFile.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -std=gnu99 -o CMakeFiles/cmTC_5ac3a.dir/CheckIncludeFile.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: mach/mach_time.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_5ac3a.dir/build.make:78: CMakeFiles/cmTC_5ac3a.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_5ac3a/fast] Error 2 Determining if the include file sys/sysctl.h exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_3baa2/fast && /usr/bin/gmake -f CMakeFiles/cmTC_3baa2.dir/build.make CMakeFiles/cmTC_3baa2.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3baa2.dir/CheckIncludeFile.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -std=gnu99 -o CMakeFiles/cmTC_3baa2.dir/CheckIncludeFile.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/sysctl.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_3baa2.dir/build.make:78: CMakeFiles/cmTC_3baa2.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_3baa2/fast] Error 2 Determining if the include file altivec.h exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_e98ce/fast && /usr/bin/gmake -f CMakeFiles/cmTC_e98ce.dir/build.make CMakeFiles/cmTC_e98ce.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e98ce.dir/CheckIncludeFile.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -std=gnu99 -o CMakeFiles/cmTC_e98ce.dir/CheckIncludeFile.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: altivec.h: No such file or directory 1 | #include | ^~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_e98ce.dir/build.make:78: CMakeFiles/cmTC_e98ce.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_e98ce/fast] Error 2 Determining if the function BSDgettimeofday exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_97f41/fast && /usr/bin/gmake -f CMakeFiles/cmTC_97f41.dir/build.make CMakeFiles/cmTC_97f41.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_97f41.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=BSDgettimeofday -std=gnu99 -o CMakeFiles/cmTC_97f41.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_97f41 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_97f41.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=BSDgettimeofday CMakeFiles/cmTC_97f41.dir/CheckFunctionExists.c.o -o cmTC_97f41 -lm /usr/bin/ld: CMakeFiles/cmTC_97f41.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `BSDgettimeofday' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_97f41.dir/build.make:100: cmTC_97f41] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_97f41/fast] Error 2 Determining if the function gethrtime exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d827c/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d827c.dir/build.make CMakeFiles/cmTC_d827c.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d827c.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=gethrtime -std=gnu99 -o CMakeFiles/cmTC_d827c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_d827c /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d827c.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=gethrtime CMakeFiles/cmTC_d827c.dir/CheckFunctionExists.c.o -o cmTC_d827c -lm /usr/bin/ld: CMakeFiles/cmTC_d827c.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `gethrtime' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_d827c.dir/build.make:100: cmTC_d827c] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_d827c/fast] Error 2 Determining if the function read_real_time exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a7f8d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_a7f8d.dir/build.make CMakeFiles/cmTC_a7f8d.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a7f8d.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=read_real_time -std=gnu99 -o CMakeFiles/cmTC_a7f8d.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_a7f8d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a7f8d.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=read_real_time CMakeFiles/cmTC_a7f8d.dir/CheckFunctionExists.c.o -o cmTC_a7f8d -lm /usr/bin/ld: CMakeFiles/cmTC_a7f8d.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `read_real_time' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_a7f8d.dir/build.make:100: cmTC_a7f8d] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_a7f8d/fast] Error 2 Determining if the function time_base_to_time exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_2b231/fast && /usr/bin/gmake -f CMakeFiles/cmTC_2b231.dir/build.make CMakeFiles/cmTC_2b231.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2b231.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=time_base_to_time -std=gnu99 -o CMakeFiles/cmTC_2b231.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_2b231 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2b231.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=time_base_to_time CMakeFiles/cmTC_2b231.dir/CheckFunctionExists.c.o -o cmTC_2b231 -lm /usr/bin/ld: CMakeFiles/cmTC_2b231.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `time_base_to_time' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_2b231.dir/build.make:100: cmTC_2b231] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_2b231/fast] Error 2 Determining if the function _mm_malloc exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_afa79/fast && /usr/bin/gmake -f CMakeFiles/cmTC_afa79.dir/build.make CMakeFiles/cmTC_afa79.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_afa79.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=_mm_malloc -std=gnu99 -o CMakeFiles/cmTC_afa79.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_afa79 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_afa79.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=_mm_malloc CMakeFiles/cmTC_afa79.dir/CheckFunctionExists.c.o -o cmTC_afa79 -lm /usr/bin/ld: CMakeFiles/cmTC_afa79.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `_mm_malloc' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_afa79.dir/build.make:100: cmTC_afa79] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_afa79/fast] Error 2 Determining if the function _mm_free exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_1aba0/fast && /usr/bin/gmake -f CMakeFiles/cmTC_1aba0.dir/build.make CMakeFiles/cmTC_1aba0.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1aba0.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=_mm_free -std=gnu99 -o CMakeFiles/cmTC_1aba0.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_1aba0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1aba0.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=_mm_free CMakeFiles/cmTC_1aba0.dir/CheckFunctionExists.c.o -o cmTC_1aba0 -lm /usr/bin/ld: CMakeFiles/cmTC_1aba0.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `_mm_free' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_1aba0.dir/build.make:100: cmTC_1aba0] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_1aba0/fast] Error 2 Determining if the function mach_absolute_time exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_1990c/fast && /usr/bin/gmake -f CMakeFiles/cmTC_1990c.dir/build.make CMakeFiles/cmTC_1990c.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1990c.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=mach_absolute_time -std=gnu99 -o CMakeFiles/cmTC_1990c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_1990c /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1990c.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=mach_absolute_time CMakeFiles/cmTC_1990c.dir/CheckFunctionExists.c.o -o cmTC_1990c -lm /usr/bin/ld: CMakeFiles/cmTC_1990c.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `mach_absolute_time' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_1990c.dir/build.make:100: cmTC_1990c] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_1990c/fast] Error 2 Determining if the function sysctl exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_2a801/fast && /usr/bin/gmake -f CMakeFiles/cmTC_2a801.dir/build.make CMakeFiles/cmTC_2a801.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2a801.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=sysctl -std=gnu99 -o CMakeFiles/cmTC_2a801.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_2a801 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2a801.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -DCHECK_FUNCTION_EXISTS=sysctl CMakeFiles/cmTC_2a801.dir/CheckFunctionExists.c.o -o cmTC_2a801 -lm /usr/bin/ld: CMakeFiles/cmTC_2a801.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `sysctl' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_2a801.dir/build.make:100: cmTC_2a801] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_2a801/fast] Error 2 Determining size of hrtime_t failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d4cc2/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d4cc2.dir/build.make CMakeFiles/cmTC_d4cc2.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d4cc2.dir/HRTIME_T.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -std=gnu99 -o CMakeFiles/cmTC_d4cc2.dir/HRTIME_T.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/HRTIME_T.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/HRTIME_T.c:28:22: error: 'hrtime_t' undeclared here (not in a function); did you mean 'time_t'? 28 | #define SIZE (sizeof(hrtime_t)) | ^~~~~~~~ /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/HRTIME_T.c:30:12: note: in expansion of macro 'SIZE' 30 | ('0' + ((SIZE / 10000)%10)), | ^~~~ gmake[1]: *** [CMakeFiles/cmTC_d4cc2.dir/build.make:78: CMakeFiles/cmTC_d4cc2.dir/HRTIME_T.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_d4cc2/fast] Error 2 /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/HRTIME_T.c: #include #include #include #include "sys/time.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(hrtime_t)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Performing C SOURCE FILE Test CC_HAS_SHORTEN_64_32 failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_50ef1/fast && /usr/bin/gmake -f CMakeFiles/cmTC_50ef1.dir/build.make CMakeFiles/cmTC_50ef1.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_50ef1.dir/src.c.o /usr/local/bin/gcc -DCC_HAS_SHORTEN_64_32 -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -fPIE -Wshorten-64-to-32 -std=gnu99 -o CMakeFiles/cmTC_50ef1.dir/src.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c gcc: error: unrecognized command-line option '-Wshorten-64-to-32' gmake[1]: *** [CMakeFiles/cmTC_50ef1.dir/build.make:78: CMakeFiles/cmTC_50ef1.dir/src.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_50ef1/fast] Error 2 Source file was: int main(void) { return 0; } Determining if the include file BaseTsd.h exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_62820/fast && /usr/bin/gmake -f CMakeFiles/cmTC_62820.dir/build.make CMakeFiles/cmTC_62820.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_62820.dir/CheckIncludeFile.c.o /usr/local/bin/gcc -I/home/srabani/Downloads/amber24_src/AmberTools/src/netcdf-4.6.1/libsrc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -std=gnu99 -o CMakeFiles/cmTC_62820.dir/CheckIncludeFile.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: BaseTsd.h: No such file or directory 1 | #include | ^~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_62820.dir/build.make:78: CMakeFiles/cmTC_62820.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_62820/fast] Error 2 Determining if the include file winsock2.h exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_e29b8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_e29b8.dir/build.make CMakeFiles/cmTC_e29b8.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e29b8.dir/CheckIncludeFile.c.o /usr/local/bin/gcc -I/home/srabani/Downloads/amber24_src/AmberTools/src/netcdf-4.6.1/libsrc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -std=gnu99 -o CMakeFiles/cmTC_e29b8.dir/CheckIncludeFile.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: winsock2.h: No such file or directory 1 | #include | ^~~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_e29b8.dir/build.make:78: CMakeFiles/cmTC_e29b8.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_e29b8/fast] Error 2 Determining if the st_blksize exist failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_63930/fast && /usr/bin/gmake -f CMakeFiles/cmTC_63930.dir/build.make CMakeFiles/cmTC_63930.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_63930.dir/CheckSymbolExists.c.o /usr/local/bin/gcc -I/home/srabani/Downloads/amber24_src/AmberTools/src/netcdf-4.6.1/libsrc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -std=gnu99 -o CMakeFiles/cmTC_63930.dir/CheckSymbolExists.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'st_blksize' undeclared (first use in this function) 8 | return ((int*)(&st_blksize))[argc]; | ^~~~~~~~~~ /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[1]: *** [CMakeFiles/cmTC_63930.dir/build.make:78: CMakeFiles/cmTC_63930.dir/CheckSymbolExists.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_63930/fast] Error 2 File /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef st_blksize return ((int*)(&st_blksize))[argc]; #else (void)argc; return 0; #endif } Determining size of schar failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_b35f4/fast && /usr/bin/gmake -f CMakeFiles/cmTC_b35f4.dir/build.make CMakeFiles/cmTC_b35f4.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b35f4.dir/SIZEOF_SCHAR.c.o /usr/local/bin/gcc -I/home/srabani/Downloads/amber24_src/AmberTools/src/netcdf-4.6.1/libsrc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -std=gnu99 -o CMakeFiles/cmTC_b35f4.dir/SIZEOF_SCHAR.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/SIZEOF_SCHAR.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/SIZEOF_SCHAR.c:27:22: error: 'schar' undeclared here (not in a function); did you mean 'char'? 27 | #define SIZE (sizeof(schar)) | ^~~~~ /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/SIZEOF_SCHAR.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ gmake[1]: *** [CMakeFiles/cmTC_b35f4.dir/build.make:78: CMakeFiles/cmTC_b35f4.dir/SIZEOF_SCHAR.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_b35f4/fast] Error 2 /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/SIZEOF_SCHAR.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(schar)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of __int64 failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_c047d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_c047d.dir/build.make CMakeFiles/cmTC_c047d.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c047d.dir/SIZEOF___INT_64.c.o /usr/local/bin/gcc -I/home/srabani/Downloads/amber24_src/AmberTools/src/netcdf-4.6.1/libsrc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -std=gnu99 -o CMakeFiles/cmTC_c047d.dir/SIZEOF___INT_64.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:27:22: error: '__int64' undeclared here (not in a function); did you mean '__int64_t'? 27 | #define SIZE (sizeof(__int64)) | ^~~~~~~ /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ gmake[1]: *** [CMakeFiles/cmTC_c047d.dir/build.make:78: CMakeFiles/cmTC_c047d.dir/SIZEOF___INT_64.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_c047d/fast] Error 2 /home/srabani/Downloads/amber24_src/build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__int64)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining if the function strlcat exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_76e6f/fast && /usr/bin/gmake -f CMakeFiles/cmTC_76e6f.dir/build.make CMakeFiles/cmTC_76e6f.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_76e6f.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -I/home/srabani/Downloads/amber24_src/AmberTools/src/netcdf-4.6.1/libsrc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DCHECK_FUNCTION_EXISTS=strlcat -fPIE -std=gnu99 -o CMakeFiles/cmTC_76e6f.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_76e6f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_76e6f.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DCHECK_FUNCTION_EXISTS=strlcat CMakeFiles/cmTC_76e6f.dir/CheckFunctionExists.c.o -o cmTC_76e6f /usr/bin/ld: CMakeFiles/cmTC_76e6f.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `strlcat' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_76e6f.dir/build.make:99: cmTC_76e6f] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_76e6f/fast] Error 2 Determining if the function MPI_Comm_f2c exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_1801e/fast && /usr/bin/gmake -f CMakeFiles/cmTC_1801e.dir/build.make CMakeFiles/cmTC_1801e.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1801e.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -I/home/srabani/Downloads/amber24_src/AmberTools/src/netcdf-4.6.1/libsrc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DCHECK_FUNCTION_EXISTS=MPI_Comm_f2c -fPIE -std=gnu99 -o CMakeFiles/cmTC_1801e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_1801e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1801e.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DCHECK_FUNCTION_EXISTS=MPI_Comm_f2c CMakeFiles/cmTC_1801e.dir/CheckFunctionExists.c.o -o cmTC_1801e /usr/bin/ld: CMakeFiles/cmTC_1801e.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `MPI_Comm_f2c' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_1801e.dir/build.make:99: cmTC_1801e] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_1801e/fast] Error 2 Determining if the function _filelengthi64 exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_31568/fast && /usr/bin/gmake -f CMakeFiles/cmTC_31568.dir/build.make CMakeFiles/cmTC_31568.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_31568.dir/CheckFunctionExists.c.o /usr/local/bin/gcc -I/home/srabani/Downloads/amber24_src/AmberTools/src/netcdf-4.6.1/libsrc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DCHECK_FUNCTION_EXISTS=_filelengthi64 -fPIE -std=gnu99 -o CMakeFiles/cmTC_31568.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_31568 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31568.dir/link.txt --verbose=1 /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DCHECK_FUNCTION_EXISTS=_filelengthi64 CMakeFiles/cmTC_31568.dir/CheckFunctionExists.c.o -o cmTC_31568 /usr/bin/ld: CMakeFiles/cmTC_31568.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `_filelengthi64' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_31568.dir/build.make:99: cmTC_31568] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_31568/fast] Error 2 Performing C SOURCE FILE Test HAVE_THREAD_LOCAL_STORAGE failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_0005c/fast && /usr/bin/gmake -f CMakeFiles/cmTC_0005c.dir/build.make CMakeFiles/cmTC_0005c.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0005c.dir/src.c.o /usr/local/bin/gcc -DHAVE_THREAD_LOCAL_STORAGE -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -std=gnu99 -o CMakeFiles/cmTC_0005c.dir/src.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c:2:5: warning: return type defaults to 'int' [-Wimplicit-int] 2 | __declspec(thread) int tls; | ^~~~~~~~~~ /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c: In function '__declspec': /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c:4:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 4 | int main(void) { | ^ /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c:2:5: warning: type of 'thread' defaults to 'int' [-Wimplicit-int] 2 | __declspec(thread) int tls; | ^~~~~~~~~~ /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c:2:28: error: declaration for parameter 'tls' but no such parameter 2 | __declspec(thread) int tls; | ^~~ /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c:6: error: expected '{' at end of input 6 | } | /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/src.c:6: warning: control reaches end of non-void function [-Wreturn-type] 6 | } | gmake[1]: *** [CMakeFiles/cmTC_0005c.dir/build.make:78: CMakeFiles/cmTC_0005c.dir/src.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_0005c/fast] Error 2 Source file was: __declspec(thread) int tls; int main(void) { return 0; } Determining if the include file Windows.h exists failed with the following output: Change Dir: /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_cfce8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_cfce8.dir/build.make CMakeFiles/cmTC_cfce8.dir/build gmake[1]: Entering directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cfce8.dir/CheckIncludeFile.c.o /usr/local/bin/gcc -Wall -Wno-unused-function -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-but-set-variable -fcommon -std=gnu99 -o CMakeFiles/cmTC_cfce8.dir/CheckIncludeFile.c.o -c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: Windows.h: No such file or directory 1 | #include | ^~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_cfce8.dir/build.make:78: CMakeFiles/cmTC_cfce8.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/srabani/Downloads/amber24_src/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_cfce8/fast] Error 2