-1

我们正在尝试构建 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)

4

1 回答 1

0

英特尔编译器 icc 以前作为英特尔系统工作室的一部分提供,需要许可证。您提到的有关安装 icc 的文档似乎是在此期间编写的 O-RAN 文档。英特尔系统工作室现在已被英特尔 oneAPI 工具包取代

目前英特尔编译器(例如 icc)作为英特尔 oneAPI HPC 工具包的一部分免费提供,无需任何许可。您可以通过访问以下链接轻松免费下载工具包,并开始使用 icc 没有问题。

https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html

如果您仍需要下载旧版本的 icc,您可以访问以下链接进行尝试。

https://www.intel.com/content/www/us/en/developer/articles/guide/download-documentation-intel-system-studio-current-previous.html

于 2021-11-08T05:25:24.433 回答