ovs-dpdk compilation error

asked 2017-09-26 23:25:50 -0600

ashu gravatar image

updated 2017-09-27 04:22:45 -0600

Hello Team

I'm installing Openstack with DPDK V16.11 environment with devstack on ubuntu 16.04.3 .I'm facing below error..

cd /opt/stack/ovs/
make -j 8 'CFLAGS=-O3 -march=native -fPIC'


/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -I ./include -I ./include -I ./lib -I ./lib    -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wformat -Wformat-security -Wswitch-enum -Wunused-parameter -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -fno-strict-aliasing -Wswitch-bool -Wlogical-not-parentheses -Wsizeof-array-argument -Wbool-compare -mssse3 -I/opt/stack/DPDK-v16.11/x86_64-native-linuxapp-gcc/include -D_FILE_OFFSET_BITS=64  -Wno-unused -Wno-unused-parameter -O3 -march=native -fPIC -MT lib/lib_libsflow_la-sflow_poller.lo -MD -MP -MF lib/.deps/lib_libsflow_la-sflow_poller.Tpo -c -o lib/lib_libsflow_la-sflow_poller.lo `test -f 'lib/sflow_poller.c' || echo './'`lib/sflow_poller.c
******lib/netdev-dpdk.c:38:23: fatal error: rte_vhost.h: No such file or directory******
compilation terminated.
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./include -I ./include -I ./lib -I ./lib -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wformat -Wformat-security -Wswitch-enum -Wunused-parameter -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -fno-strict-aliasing -Wswitch-bool -Wlogical-not-parentheses -Wsizeof-array-argument -Wbool-compare -mssse3 -I/opt/stack/DPDK-v16.11/x86_64-native-linuxapp-gcc/include -D_FILE_OFFSET_BITS=64 -O3 -march=native -fPIC -MT lib/stream-ssl.lo -MD -MP -MF lib/.deps/stream-ssl.Tpo -c lib/stream-ssl.c -o lib/stream-ssl.o
Makefile:4682: recipe for target 'lib/netdev-dpdk.lo' failed
make[2]: *** [lib/netdev-dpdk.lo] Error 1

Please let me know regarding this.

Regards Ashu Jain

edit retag flag offensive close merge delete