DPDK中文-编译出错 expected __m128i but argument is type int
来源:互联网 发布:清华大学研究生知乎 编辑:程序博客网 时间:2024/06/05 11:24
expected __m128i but argument is type int
在群里很多人遇到这个问题
这个问题有两种情况
自己的Makefile编译时出现问题
在自己的gcc编译参数后面加上
-march=native
即CFLAGS后面加上这个选项
如果是dpdk的时候就出现问题了
1。检查自己是否是用的虚拟机?
虚拟机的选项是否映射的真实CPU,目前貌似qemu会有问题。换其他虚拟机(VMware或者virtualBOX)
2。如果不是用的虚拟机
修改文件
dpdk-16.07/mk/machine/native/rte.vars.mk
中的MACHINE_CFLAGS = -march=core2
这个选项能保证编译过,但是运行的时候还是会有问题,所以建议换一台新点儿的CPU的机器来尝试。
1 0
- DPDK中文-编译出错 expected __m128i but argument is type int
- expected 'float **' but argument is of type 'float (*)[5]'
- jni编译时出现:warning: format '%d' expects argument of type 'int', but argument 4 has
- 编译告警:“warning: format '%d' expects type 'int', but argument 4 has type 'unsigned long'”
- inet_ntoa编译提示警告: 格式 ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat]
- Nil is not compatible with expected argument type '[String : AnyObject]'
- expected but found 'int'
- 解决 format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘int *’
- linux c之提示format‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat
- dpdk中文-dpdk虚拟机出错
- inet_ntoa warning: format '%s' expects type 'char *', but argument 2 has type 'int'
- TypeError: argument of type 'int' is not iterable
- [C/C++]warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int' [-Wforma
- 使用cuDNN5编译py-faster-rcnn错误:cudnn.hpp(126): error: argument of type "int" is incompatible ...
- Bean named 'BService' is expected to be of type 'path1' but was actually of type 'path2'
- is expected to be of type but was actually of type 'com.sun.proxy.$Proxy70'
- g++编译报错原因分析 format ?.d?.expects argument of type ?.nt?. but argument 3 has type ?.
- AndroidStudio--编译出错-Expected resource of type styleable [ResourceType]
- [Leetcode]Valid Anagram
- java多线程详细总结
- Android应用冷启动解析和优化方案
- GridView与 listView嵌套时的事件冲突
- NavMeshAgent
- DPDK中文-编译出错 expected __m128i but argument is type int
- 使用Python获取本机所有IP地址
- Java多线程(六)
- Apache Jmeter3.0 压力测试
- STL 总结
- 2016年省赛H题目改编--H +模逆元
- AngularJs入门
- Dynamics CRM 2015/2016/365 Web API:用户模拟
- Oracle中查找阻塞与被阻塞SID的方法