Ticket #67035: f1-CMakeError.log

File f1-CMakeError.log, 3.9 KB (added by YesNo801, 21 months ago)
Line 
1Performing C++ SOURCE FILE Test HAVE_CLOCK_GETTIME failed with the following output:
2Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build/CMakeFiles/CMakeTmp
3
4Run Build Command(s):/usr/bin/make -f Makefile cmTC_6534e/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_6534e.dir/build.make CMakeFiles/cmTC_6534e.dir/build
5Building CXX object CMakeFiles/cmTC_6534e.dir/src.cxx.o
6/usr/bin/clang++ -DHAVE_CLOCK_GETTIME  -pipe -I/opt/local/libexec/boost/1.71/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.71/include -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -std=c++11 -MD -MT CMakeFiles/cmTC_6534e.dir/src.cxx.o -MF CMakeFiles/cmTC_6534e.dir/src.cxx.o.d -o CMakeFiles/cmTC_6534e.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build/CMakeFiles/CMakeTmp/src.cxx
7Linking CXX executable cmTC_6534e
8/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6534e.dir/link.txt --verbose=1
9/usr/bin/clang++ -pipe -I/opt/local/libexec/boost/1.71/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.71/include -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/libexec/boost/1.71/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk  CMakeFiles/cmTC_6534e.dir/src.cxx.o -o cmTC_6534e  -lrt
10ld: library not found for -lrt
11clang: error: linker command failed with exit code 1 (use -v to see invocation)
12make[1]: *** [cmTC_6534e] Error 1
13make: *** [cmTC_6534e/fast] Error 2
14
15
16Source file was:
17
18    #include <ctime>
19    int main(){
20        timespec ts;
21        return clock_gettime(CLOCK_MONOTONIC, &ts);
22    }
23   
24Performing C++ SOURCE FILE Test HAVE_QUERY_PERFORMANCE_COUNTER failed with the following output:
25Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build/CMakeFiles/CMakeTmp
26
27Run Build Command(s):/usr/bin/make -f Makefile cmTC_5358d/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_5358d.dir/build.make CMakeFiles/cmTC_5358d.dir/build
28Building CXX object CMakeFiles/cmTC_5358d.dir/src.cxx.o
29/usr/bin/clang++ -DHAVE_QUERY_PERFORMANCE_COUNTER  -pipe -I/opt/local/libexec/boost/1.71/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.71/include -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -std=c++11 -MD -MT CMakeFiles/cmTC_5358d.dir/src.cxx.o -MF CMakeFiles/cmTC_5358d.dir/src.cxx.o.d -o CMakeFiles/cmTC_5358d.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build/CMakeFiles/CMakeTmp/src.cxx
30/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-osmosdr/gr-osmosdr/work/build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: 'Windows.h' file not found
31    #include <Windows.h>
32             ^~~~~~~~~~~
331 error generated.
34make[1]: *** [CMakeFiles/cmTC_5358d.dir/src.cxx.o] Error 1
35make: *** [cmTC_5358d/fast] Error 2
36
37
38Source file was:
39
40    #include <Windows.h>
41    int main(){
42        LARGE_INTEGER value;
43        QueryPerformanceCounter(&value);
44        QueryPerformanceFrequency(&value);
45        return 0;
46    }
47