|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||
2014年01月11日(土) 旧暦 [n年日記] [更新:"2014/08/31 21:22:48"]#1 [pkgsrc] gnuradio-core-3.7.2.1CMake Error at CMakeLists.txt:22 (message): Prevented in-tree build. This is bad practice. [ 7%] Building CXX object gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/thread/thread.cc.o work/gnuradio-3.7.2.1/gnuradio-runtime/lib/thread In function 'void gr::thread::thread_bind_to_processor(__pthread_st*, const std::vector<int>&)': thread.cc:220:7: error: 'cpu_set_t' was not declared in this scope thread.cc:220:17: error: expected ';' before 'set' thread.cc:225:17: error: 'set' was not declared in this scope thread.cc:225:20: error: 'CPU_ZERO' was not declared in this scope thread.cc:227:27: error: 'CPU_SET' was not declared in this scope thread.cc: In function 'void gr::thread::thread_unbind(__pthread_st*)': thread.cc:246:7: error: 'cpu_set_t' was not declared in this scope thread.cc:246:17: error: expected ';' before 'set' thread.cc:249:17: error: 'set' was not declared in this scope thread.cc:249:20: error: 'CPU_ZERO' was not declared in this scope thread.cc:252:24: error: 'CPU_SET' was not declared in this scope gnuradio-3.7.2.1/gnuradio-runtime/lib/high_res_timer.cc:4:39: error: 'CLOCK_THREAD_CPUTIME_ID' was not declared in this scope *** Error code 1 modena@makoto 10:18:14/140111(..wip/gnuradio-core)% (cd /export/WRKOBJDIR/wip/gnuradio-core/work/gnuradio-3.7.2.1/; \ cat -n gnuradio-runtime/lib/high_res_timer.cc) |sed -n 1,5p 1 #include <gnuradio/high_res_timer.h> 2 3 #ifdef GNURADIO_HRT_USE_CLOCK_GETTIME 4 clockid_t gr::high_res_timer_source = CLOCK_THREAD_CPUTIME_ID; 5 #endif modena@makoto 10:01:49/140111(..wip/gnuradio-core)% (cd /export/WRKOBJDIR/wip/gnuradio-core/work/gnuradio-3.7.2.1/; \ cat -n gnuradio-runtime/include/gnuradio/high_res_timer.h) | sed -n 27,40p 27 //////////////////////////////////////////////////////////////////////// 28 // Use architecture defines to determine the implementation 29 //////////////////////////////////////////////////////////////////////// 30 #if defined(linux) || defined(__linux) || defined(__linux__) 31 #define GNURADIO_HRT_USE_CLOCK_GETTIME 32 #include <ctime> 33 #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) 34 #define GNURADIO_HRT_USE_QUERY_PERFORMANCE_COUNTER 35 #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) 36 #define GNURADIO_HRT_USE_MACH_ABSOLUTE_TIME 37 #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) 38 #define GNURADIO_HRT_USE_CLOCK_GETTIME 39 #include <ctime> 40 #else [ 12%] Building CXX object gnuradio-runtime/lib/CMakeFiles/gr_runtime_test.dir/test_runtime.cc.o Linking CXX executable gr_runtime_test libgnuradio-runtime.so.3.7.2.1: undefined reference to `gr::high_res_timer_now_perfmon()' *** Error code 1 And see man clock_getres(3) ( つっこみ )
|
最近の日記 2024年05月08日 ・comparison on ./buildsh tools 2024年05月06日 ・py-setuptools (python 3.11.9) ・make release took 1 hours and 10 min ・qemu invocation for 10.99.10 2024年05月05日 ・Windows 10 version ・serial connection ・bc bench 2024年05月04日 ・Trial on 10.99.10 ・another version (later trial) to succeed 2024年04月29日 ・dkim | ||