[x265] trouble compiling because my linux workstation has old version of libnuma

Steve Borho steve at borho.org
Mon Mar 2 17:21:57 CET 2015


On Fri, Feb 27, 2015 at 10:31 PM, Dzung.Hoang at freescale.com
<Dzung.Hoang at freescale.com> wrote:
> With the latest stable release I am getting compiler warning:
>
>
>
> x265/stable/source/common/threadpool.cpp:276: error: ‘numa_node_of_cpu’ was
> not declared in this scope
>
>
>
> I traced this to my system having an old version of libnuma that does not
> the numa_node_of_cpu() API function.
>
>
>
> I suggest either adding modifying cmake config files to disable libnuma when
> LIBLUMA_API_VERSION < 2 or add an implementation of numa_node_of_cpu() for
> this case.

I've sent a patch for this, please test that it fixes your problem.

-- 
Steve Borho


More information about the x265-devel mailing list