Ticket #63517: CMakeError.log

File CMakeError.log, 6.3 KB (added by massonseb, 3 years ago)
Line 
1Performing C SOURCE FILE Test LIBTOOL_HAS_NO_UNDEFINED failed with the following output:
2Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeTmp
3
4Run Build Command(s):/usr/bin/make -f Makefile cmTC_24d65/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_24d65.dir/build.make CMakeFiles/cmTC_24d65.dir/build
5Building C object CMakeFiles/cmTC_24d65.dir/src.c.o
6/opt/local/bin/mpicc-mpich-gcc9 -DLIBTOOL_HAS_NO_UNDEFINED  -pipe -Os -DHDF5_PARALLEL -fno-strict-aliasing -Wl,--no-undefined -arch x86_64 -mmacosx-version-min=10.9 -fPIE -o CMakeFiles/cmTC_24d65.dir/src.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeTmp/src.c
7Linking C executable cmTC_24d65
8/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_24d65.dir/link.txt --verbose=1
9/opt/local/bin/mpicc-mpich-gcc9 -pipe -Os -DHDF5_PARALLEL -fno-strict-aliasing -Wl,--no-undefined -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names  CMakeFiles/cmTC_24d65.dir/src.c.o -o cmTC_24d65
10ld: unknown option: --no-undefined
11collect2: error: ld returned 1 exit status
12make[1]: *** [cmTC_24d65] Error 1
13make: *** [cmTC_24d65/fast] Error 2
14
15
16Source file was:
17int main() {return 0;}
18Performing C SOURCE FILE Test CC_HAS_SHORTEN_64_32 failed with the following output:
19Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeTmp
20
21Run Build Command(s):/usr/bin/make -f Makefile cmTC_0e468/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_0e468.dir/build.make CMakeFiles/cmTC_0e468.dir/build
22Building C object CMakeFiles/cmTC_0e468.dir/src.c.o
23/opt/local/bin/mpicc-mpich-gcc9 -DCC_HAS_SHORTEN_64_32  -pipe -Os -DHDF5_PARALLEL -fno-strict-aliasing  -arch x86_64 -mmacosx-version-min=10.9 -fPIE   -Wshorten-64-to-32 -o CMakeFiles/cmTC_0e468.dir/src.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeTmp/src.c
24gcc-mp-9: error: unrecognized command line option '-Wshorten-64-to-32'
25make[1]: *** [CMakeFiles/cmTC_0e468.dir/src.c.o] Error 1
26make: *** [cmTC_0e468/fast] Error 2
27
28
29Source file was:
30int main(void) { return 0; }
31Determining if the function H5Pset_fapl_ros3 exists in the /opt/local/lib/libhdf5.dylib failed with the following output:
32Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeTmp
33
34Run Build Command(s):/usr/bin/make -f Makefile cmTC_3d672/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_3d672.dir/build.make CMakeFiles/cmTC_3d672.dir/build
35Building C object CMakeFiles/cmTC_3d672.dir/CheckFunctionExists.c.o
36/opt/local/bin/mpicc-mpich-gcc9   -pipe -Os -DHDF5_PARALLEL -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=H5Pset_fapl_ros3 -arch x86_64 -mmacosx-version-min=10.9 -fPIE -o CMakeFiles/cmTC_3d672.dir/CheckFunctionExists.c.o -c /opt/local/share/cmake-3.21/Modules/CheckFunctionExists.c
37Linking C executable cmTC_3d672
38/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3d672.dir/link.txt --verbose=1
39/opt/local/bin/mpicc-mpich-gcc9 -pipe -Os -DHDF5_PARALLEL -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=H5Pset_fapl_ros3 -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names  CMakeFiles/cmTC_3d672.dir/CheckFunctionExists.c.o -o cmTC_3d672  /opt/local/lib/libhdf5.dylib /opt/local/lib/libsz.dylib
40Undefined symbols for architecture x86_64:
41  "_H5Pset_fapl_ros3", referenced from:
42      _main in CheckFunctionExists.c.o
43ld: symbol(s) not found for architecture x86_64
44collect2: error: ld returned 1 exit status
45make[1]: *** [cmTC_3d672] Error 1
46make: *** [cmTC_3d672/fast] Error 2
47
48
49
50The MPI test test_mpi for CXX in mode normal failed to compile with the following output:
51Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeTmp
52
53Run Build Command(s):/usr/bin/make -f Makefile cmTC_b2fc4/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_b2fc4.dir/build.make CMakeFiles/cmTC_b2fc4.dir/build
54Building CXX object CMakeFiles/cmTC_b2fc4.dir/test_mpi.cpp.o
55/opt/local/bin/clang++-mp-9.0  -isystem /opt/local/include/mpich-gcc9 -pipe -Os -stdlib=macports-libstdc++  -arch x86_64 -mmacosx-version-min=10.9 -fPIE -MD -MT CMakeFiles/cmTC_b2fc4.dir/test_mpi.cpp.o -MF CMakeFiles/cmTC_b2fc4.dir/test_mpi.cpp.o.d -o CMakeFiles/cmTC_b2fc4.dir/test_mpi.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/FindMPI/test_mpi.cpp
56Linking CXX executable cmTC_b2fc4
57/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b2fc4.dir/link.txt --verbose=1
58/opt/local/bin/clang++-mp-9.0 -pipe -Os -stdlib=macports-libstdc++  -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names  -Wl,-flat_namespace -Wl,-commons,use_dylibs -L/opt/local/lib CMakeFiles/cmTC_b2fc4.dir/test_mpi.cpp.o -o cmTC_b2fc4  /opt/local/lib/mpich-gcc9/libmpicxx.dylib /opt/local/lib/mpich-gcc9/libmpi.dylib /opt/local/lib/mpich-gcc9/libpmpi.dylib
59Undefined symbols for architecture x86_64:
60  "___addtf3", referenced from:
61      import-atom in libpmpi.dylib
62  "___eqtf2", referenced from:
63      import-atom in libpmpi.dylib
64  "___floatsitf", referenced from:
65      import-atom in libpmpi.dylib
66  "___gttf2", referenced from:
67      import-atom in libpmpi.dylib
68  "___lttf2", referenced from:
69      import-atom in libpmpi.dylib
70  "___multf3", referenced from:
71      import-atom in libpmpi.dylib
72  "___netf2", referenced from:
73      import-atom in libpmpi.dylib
74ld: symbol(s) not found for architecture x86_64
75clang: error: linker command failed with exit code 1 (use -v to see invocation)
76make[1]: *** [cmTC_b2fc4] Error 1
77make: *** [cmTC_b2fc4/fast] Error 2
78
79
80