dpdk issue

来源:互联网 发布:nginx 返回数据截断 编辑:程序博客网 时间:2024/06/05 04:40

编译dpdk的时候出现 bits/predefs.h 错误 (ubuntu12.04.5)

In file included from /usr/include/stdio.h:28:0,

                 from /home/hm001/net/dpdk/dpdk-stable-16.11.1/lib/librte_eal/linuxapp/eal/eal.c:35:

/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory

原来我的机器安装的32位系统,结果在执行脚本 ./tools/dpdk-setup.sh时候,选择:

x86_64-native-linuxapp-gcc

当然找不到头文件,这是给64位机器使用的查找路径,此时应该选择

i686-native-linuxapp-gcc

0 0
原创粉丝点击