Open Yongeverhuang opened 4 years ago
Hi! I believe your issue may stem from this bit: echo export RTE_SDK=$(pwd) >> /.bashrc
Make sure that you are within the DPDK directory when exporting RTE_SDK to bashrc. I notice in step 2 that you are within the openNetVM directory when calling this.
Let me know if you have anymore questions.
Hi, This codebase being very old was based on the DPDK 17.02. Eversince DPDK introduced several compatibility breaking interfaces. Hence, this code will not work with latest versions of DPDK.
I recommend to use the "https://github.com/sdnfv/openNetVM-dev/tree/experimental/nfvnice-reinforce", version of code, where most of the compatibility breaking API changes were updated and ensured to work with latest version of DPDK.
@dennisafa: Thanks for the quick follow up on the issue.
@nfvnice Thanks for help. By the way , can you list the environment in the branch "https://github.com/sdnfv/openNetVM-dev/tree/experimental/nfvnice-reinforce". 1、I try it in ubuntu 18.04 and other follow the OpenNetVM Installation guide,but it not install. The wrong messages contain “ You are using GCC < 4.x. This is neither supported, nor tested. and so on ” 2、Is the openNetVM V 19.05 has Shared Core Mode: "only the basic support for shared-Core NFs" means has the basic function about share .Is that means if I run a few NFs with the V19.05 shared mode and the current branch, will the NF's throughput result be the same?
Any update on this thread? I am also curious about NFVNice, and got stuck with the installation process. Many DPDK variables and functions are outdated. I tried to change some of these obvious ones, but still couldn't get it compiled. BTW, the nfvnice-reinforce branch does not exist any more. Let me know if you have any updates on this. Thanks.
Something wrong when I follow the openNetVM Installation . But in step run DPDK meet error. 1、Use make “make config T=$RTE_TARGET” /NFVnice_Source/dpdk/mk/toolchain/gcc/rte.toolchain-compat.mk:46: You are using GCC < 4.x. This is neither supported, nor tested. == Build lib 2、Follow install guide h404f-01:~/openNetVM-SC/openNetVM$ ls dpdk/config/ common_bsdapp defconfig_tile-tilegx-linuxapp-gcc common_linuxapp defconfig_x86_64-ivshmem-linuxapp-gcc defconfig_arm64-armv8a-linuxapp-gcc defconfig_x86_64-ivshmem-linuxapp-icc defconfig_arm64-thunderx-linuxapp-gcc defconfig_x86_64-native-bsdapp-clang defconfig_arm64-xgene1-linuxapp-gcc defconfig_x86_64-native-bsdapp-gcc defconfig_arm-armv7a-linuxapp-gcc defconfig_x86_64-native-linuxapp-clang defconfig_i686-native-linuxapp-gcc defconfig_x86_64-native-linuxapp-gcc defconfig_i686-native-linuxapp-icc defconfig_x86_64-native-linuxapp-icc defconfig_ppc_64-power8-linuxapp-gcc defconfig_x86_x32-native-linuxapp-gcc h404f-01:~/openNetVM-SC/openNetVM$ echo export RTE_SDK=$(pwd) >> ~/.bashrc h404f-01:~/openNetVM-SC/openNetVM$ echo export RTE_TARGET=x86_64-native-linuxapp-gcc >> ~/.bashrc h404f-01:~/openNetVM-SC/openNetVM$ echo export ONVM_NUM_HUGEPAGES=1024 >> ~/.bashrc h404f-01:~/openNetVM-SC/openNetVM$ export ONVM_NIC_PCI=" 02:00.0 02:00.1 " h404f-01:~/openNetVM-SC/openNetVM$ source ~/.bashrc h404f-01:~/openNetVM-SC/openNetVM$ sudo sh -c "echo 0 > /proc/sys/kernel/randomize_va_space" h404f-01:~/openNetVM-SC/openNetVM$ cd scripts/ h404f-01:~/openNetVM-SC/openNetVM/scripts$ ./install.sh Compiling and installing dpdk in /home/openNetVM-SC/openNetVM make: *** No rule to make target 'config'. Stop.