[ovs-dev] openvswitch-2.7.6 with dpdk build failing in Centos 7

Veetil, Vyshnav Vyshnav.Veetil at harman.com
Tue Jul 3 10:48:35 UTC 2018

Hi ,

While building openvswitch-2.7.6 with dpdk in Centos 7, I was getting below errors.
So can you please give a solution for this.

Error logs:
lib/netdev-dpdk.c:34:28: fatal error: rte_virtio_net.h: No such file or director                                                                                        y
#include <rte_virtio_net.h>
compilation terminated.

make[2]: Leaving directory `/home/vyshnav/scos-82/openvswitch2.7.6/new/BUILD/ope                                                                                        nvswitch-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vyshnav/scos-82/openvswitch2.7.6/new/BUILD/ope                                                                                        nvswitch-2.7.6'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.SXTdVK (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.SXTdVK (%build)

More information about the dev mailing list