eal_memory.c:56:18: fatal error: numa.h: No such file or directory
eal_memory.c:56:18: fatal error: numa.h: No such file or directory
当我从 DPDK 的 quick start 指令执行 make
时,出现以下错误:
eal_memory.c:56:18: fatal error: numa.h: No such file or directory
即使已经安装了 libnuma 也会出现错误:
>sudo yum install numactl-libs.x86_64
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* elrepo: mirrors.tuna.tsinghua.edu.cn
Package numactl-libs-2.0.9-6.el7_2.x86_64 already installed and latest version
Nothing to do
我正在使用 CenOS Linux 版本 7.3.1611(核心)。
我该如何解决这个问题?
尝试安装numactl-devel
:
sudo yum install numactl-devel
numa.h 也是 libnuma
包的一部分。
请安装 libnuma 包:
CentOS 6.9: yum install libnuma-devel
Ubuntu: apt-get install libnuma-dev
看起来在 CentOS 7 上 docker 容器 libnuma-devel 不可用。在那种情况下尝试 yum install numactl-devel
当我从 DPDK 的 quick start 指令执行 make
时,出现以下错误:
eal_memory.c:56:18: fatal error: numa.h: No such file or directory
即使已经安装了 libnuma 也会出现错误:
>sudo yum install numactl-libs.x86_64
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* elrepo: mirrors.tuna.tsinghua.edu.cn
Package numactl-libs-2.0.9-6.el7_2.x86_64 already installed and latest version
Nothing to do
我正在使用 CenOS Linux 版本 7.3.1611(核心)。
我该如何解决这个问题?
尝试安装numactl-devel
:
sudo yum install numactl-devel
numa.h 也是 libnuma
包的一部分。
请安装 libnuma 包:
CentOS 6.9: yum install libnuma-devel
Ubuntu: apt-get install libnuma-dev
看起来在 CentOS 7 上 docker 容器 libnuma-devel 不可用。在那种情况下尝试 yum install numactl-devel