-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make会报错 #2
Comments
@dove2040418 yum install numactl-devel numactl-libs numactl 这三个numa库,基本上先保证dpdk 在本地环境中编译ok,然后再make jupiter。 |
On CentOS, 如下编译通过:
|
按照您那边给的方法,编译还是会报错,用的rhel7.4: RPM 构建错误: |
@dove2040418 这个应该是igb的内核ko 编译出错了,从错误上看应该是dpdk-17.11 与内核相关的接口不匹配。我们手头暂时没有redhat版本,需要安装一个测试下。 |
@dove2040418 请先安装一下kernel-devel,kernel-header,pciutils,gcc,numactl,pcituils,net-tools等相关dpdk 运行需要安装的库,然后再试一下。 |
@dove2040418 我们验证后发现,Jupiter编译前需要设置RTE_KNI_KMOD_ETHTOOL为y,但是这会造成DPDK-17.11在linux3.10.0-693.el7.x86_64内核上编译失败,如果设置成n,则编译成功。我们现在在想办法解决掉Jupiter对DPDK编译选项RTE_KNI_KMOD_ETHTOOL的依赖。 |
测试还是不行,各种报错,能否说一下你们的环境怎么搭的?我这边用的centos7.2 1511,minimal安装的,然后装之前你们说的那几个包,但是还是会编译出错。 |
@dove2040418 minimal安装会缺少很多库,帮你列出了一些需要安装的库 |
刚刚装了7.2.1511 DVD,安装时候显示2410个包,按照后来的那个方法,编译成功(readme还是会报错),实际测试minimal装如下库,还是不行:yum install numactl-devel numactl-libs numactl kernel-devel kernel-headers pciutils gcc* numactl net-tools libpcap-devel |
Fixed issue #2 that cannot be compiled on kernel version 3.10.0-693.
make过程会报错,第一次报makefile:1: *** 遗漏分隔符 。 停止。,将第一行注释掉之后,又报其他错误,见附件
test.txt
The text was updated successfully, but these errors were encountered: