ThreadPool numa_bitmask_weight

Issue #295 closed
James Ing Wei Tang created an issue

Hi I got this issue when I was compiling the latest copy of x265 on Ubuntu 12.04. May I know what is the issue and how I can solve this.

Note: I tried with 1.9 and Found no problems with the compilation.

[ 1%] Building CXX object common/CMakeFiles/common.dir/threadpool.cpp.o /home/kontron/kontron_script/libx265_install/x265/source/common/threadpool.cpp: In static member function ‘static x265::ThreadPool x265::ThreadPool::allocThreadPools(x265_param, int&)’: /home/kontron/kontron_script/libx265_install/x265/source/common/threadpool.cpp:285:61: error: ‘numa_bitmask_weight’ was not declared in this scope make[2]: [common/CMakeFiles/common.dir/threadpool.cpp.o] Error 1 make[1]: [common/CMakeFiles/common.dir/all] Error 2 make: *** [all] Error 2

Comments (7)

  1. Pradeep Ramachandran Account Deactivated

    Looks like it is an issue with your libnuma version. numa_bitmask_weight() is defined as an API function in the more recent versions of libnuma. I encourage you to upgrade your libnuma installation or to newer ubuntu installations to avoid such errors

  2. Log in to comment