[dpdk-dev] Error while installing OVS with DPDK

Shankari Vaidyalingam shankari.v2k6 at gmail.com
Thu Dec 18 17:24:25 CET 2014


Hi,

I'm trying to install OVS with DPDK

Followed the steps given in INSTALL.DPDK.md file given in the OVS page.

I have downloaded latest tar ball of both OVS and DPDK.

DPDK version - 1.7.1

OVS version - 2.3.1

Operating system - Ubuntu 12.04 LTS (64 bit)

When I tried running make I got the below errors in dpdk library files.

Would like to know whether I'm missing something while installation.

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./include -I ./lib -I ./lib
-I/home/controller/PoC/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc//include
-Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith
-Wdeclaration-after-statement -Wformat-security -Wno-format-zero-length
-Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast
-Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -g -O2 -MT
lib/netdev-dpdk.lo -MD -MP -MF lib/.deps/netdev-dpdk.Tpo -c
lib/netdev-dpdk.c -o lib/netdev-dpdk.o
In file included from
/home/controller/PoC/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc//include/rte_ring.h:98:0,
                 from
/home/controller/PoC/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc//include/rte_mempool.h:74,
                 from
/home/controller/PoC/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc//include/rte_mbuf.h:61,
                 from
/home/controller/PoC/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc//include/rte_ethdev.h:178,
                 from lib/netdev-dpdk.h:12,
                 from lib/ofpbuf.h:25,
                 from lib/dpif-netdev.h:24,
                 from lib/netdev-dpdk.c:31:
/home/controller/PoC/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc//include/rte_common.h:
In function 'rte_is_aligned':
/home/controller/PoC/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc//include/rte_common.h:176:9:
warning: cast from function call of type 'uintptr_t' to non-matching type
'void *' [-Wbad-function-cast]
lib/netdev-dpdk.c: In function 'dpdk_class_init':
lib/netdev-dpdk.c:1081:5: warning: implicit declaration of function
'rte_pmd_init_all' [-Wimplicit-function-declaration]
lib/netdev-dpdk.c: In function 'dpdk_init':
lib/netdev-dpdk.c:1189:5: error: too few arguments to function
'rte_memzone_dump'
/home/controller/PoC/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc//include/rte_memzone.h:253:6:
note: declared here
make[2]: *** [lib/netdev-dpdk.lo] Error 1
make[2]: Leaving directory `/home/controller/PoC/LLDP/openvswitch-2.3.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/controller/PoC/LLDP/openvswitch-2.3.1'
make: *** [all] Error 2

Regards,

Shankari.V


More information about the dev mailing list