hns - 日記自動生成システム - Version 2.19.9

先月 2014年01月 来月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2014年01月11日() 旧暦 [n年日記] [更新:"2014/08/31 21:22:48"]

#1 [pkgsrc] gnuradio-core-3.7.2.1

CMake 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年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)