我们正在尝试构建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版本上构建它:红帽(中国)有限公司
1条答案
按热度按时间kmbjn2e31#
英特尔编译器icc以前是作为英特尔system studio的一部分提供的,需要许可证。您在O-RAN文档中提到的有关安装icc的文档似乎是在此期间编写的。英特尔system studio现在已被英特尔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