Closed GeekerFeng closed 4 years ago
Anyway you could tell us: version of GCC, OS, and NIC setup? Thanks!
thanks! gcc version : 7.5.0 system : ubuntu 18.04.4 I am not very clear about the specific nic setup. When I run lspci I see
lspci | awk '/net/ {print $1}' | xargs -i% lspci -ks %
00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device
Subsystem: Red Hat, Inc. Virtio network device
Kernel driver in use: virtio-pci
I think this problem may be the configuration of the compiler
It looks like this may be an outdated version of DPDK, since fallthrough statement error catching is related to a GCC update. Could you please verify that you have the latest version of DPDK in the repo?
Thank you for your answer, I will verify this question
Thank you for your answer, I will verify this question
Following up with you on this - did you resolve the issue?
Thank you. I forgot to answer. I can compile successfully by reducing the GCC version to 5.5
Thank you. I forgot to answer. I can compile successfully by reducing the GCC version to 5.5
You may have an outdated version of DPDK in that case - it should compile with version 7.5 and above.
I download DPDK source code according to your installation tutorial
Initialize DPDK submodule
git submodule sync
git submodule update --init
In addition, I also downloaded the latest source code from the DPDK official website, but there is no ko file compiled with gcc7.4
My best suggestion would be to start over. If you think that all the other requirements are installed, ONVM version 19.07, gcc 7.5.0, Ubuntu 18.04, all apt
packages, etc, then it might have been a problem with the order of installation of things. Since onvm compiles fine without any NICs I would say try not to bind them on the install.sh
(for testing). Doing the bare minimum installation will help to find the exact problem because I have never seen this issue. If you get the same again after a clean install, I will try with the master branch of ONVM to confirm for you.
Thanks , i try again
I have always had problems here, could you please try it?
Are you running this in a VM? I got this from the nfv1-vm
name. I have never run onvm in a VM. It very well could be the issue. Someone can correct me but we've run on bare metal for a long time. Keep in mind I may be totally offbase but this is the first thing I'd try
Yes, I run in vm, but I don't think it will cause compilation problems.
This seems to be a problem with compiling DPDK - we suggest you contact the DPDK users mailing list if you still have this issue.
Bug Report
when I follow the installation documentation, run the install script to compile DPDK.
reported an error