DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shankari Vaidyalingam <shankari.v2k6@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Error while installing OVS with DPDK
Date: Thu, 18 Dec 2014 21:54:25 +0530	[thread overview]
Message-ID: <CAGeyXNdykN6m5OcfcwViBFZfh87BWGQzEETnGCoMfcvCbyj0zQ@mail.gmail.com> (raw)

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

                 reply	other threads:[~2014-12-18 16:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGeyXNdykN6m5OcfcwViBFZfh87BWGQzEETnGCoMfcvCbyj0zQ@mail.gmail.com \
    --to=shankari.v2k6@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).