dpdk issue

编译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

猜你喜欢

转载自blog.csdn.net/yudingding6197/article/details/71191009