【发布时间】:2021-12-14 13:57:05
【问题描述】:
我们正在尝试构建 ORAN-ODU-Low 库 (https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/build_prerequisite.html)。
我们已经下载并构建了 DPDK,
#wget http://static.dpdk.org/rel/dpdk-18.08.tar.x
#tar -xf dpdk-18.08.tar.xz
#export RTE_TARGET=x86_64-native-linuxapp-icc
#export RTE_SDK=Intallation_DIR/dpdk-18.08
构建 DPDK:
#./usertools/dpdk-setup.sh
select [39] x86_64-native-linuxapp-icc
exit [62] Exit Script
'''
DPDK 构建成功。
从 odu 构建 fapi 库时,我们看到以下错误:
In file included from /home/user/odu-low/phy/fapi_5g/source/include/nr5g_fapi_dpdk.h:28:0,from /home/user/odu-low/phy/fapi_5g/source/include/nr5g_fapi_args.h:23,from /home/user/odu-low/phy/fapi_5g/source/nr5g_fapi.c:32:
/home/user/odu-low/dpdk-18.08/include/dpdk/rte_memcpy.h:797:2: error: incompatible type for argument 2 of ‘_mm_storeu_si128’ MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/xmmintrin.h:1246:0,
from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/x86intrin.h:34,from /home/user/odu-low/dpdk-18.08/include/dpdk/rte_vect.h:29, from /home/user/odu-low/dpdk-18.08/include/dpdk/rte_memcpy.h:17, from /home/user/odu-low/phy/fapi_5g/source/include/nr5g_fapi_dpdk.h:28, from /home/user/odu-low/phy/fapi_5g/source/include/nr5g_fapi_args.h:23, from /home/user/odu-low/phy/fapi_5g/source/nr5g_fapi.c:32:
\/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/emmintrin.h:700:1: note: expected ‘__m128i’ but argument is of type ‘int’
_mm_storeu_si128 (__m128i *__P, __m128i __B)
我们正在 CentOS 7 上构建它 - 使用的 3.10.0-1160.45.1.el7.x86_64 gcc 版本:4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
【问题讨论】:
-
那真的是 only 错误信息吗?类型为
int而不是__m128i的东西可能是由于对某物的隐式声明,例如试图使用由于旧编译器(旧系统 GCC 头文件)而未声明的函数。 -
Wrt gcc 不是 icc
-
@SindhuPitta 根据错误日志
nr5g_fapi.c第二个参数有问题。根据您上面的评论,这是针对 GCC 而不是 ICC。您能否更新有关 ICC 的错误? -
Wrt icc 它正在请求许可证文件,我们正在关注以下链接docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/…
标签: centos icc intel-oneapi