DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jyotiswarup Raiturkar <jyotisr5@googlemail.com>
To: Romulo Rosa <romuloros@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Erro on setup Intel DPDK vSwitch
Date: Wed, 4 Dec 2013 10:22:43 +0530	[thread overview]
Message-ID: <CAJn5u1kzHdwWB-yWhE6ecRcWf2bPk6UTpMSbyiaYxGhchniaWg@mail.gmail.com> (raw)
In-Reply-To: <CALdSg2ied7g_7xUZptTukvmzTZKQFsH3Xe-mTbKDvGqtBsXmCw@mail.gmail.com>

This should fix it

diff --git a/openvswitch/Makefile.am b/openvswitch/Makefile.am
index fbee87b..b8da768 100644
--- a/openvswitch/Makefile.am
+++ b/openvswitch/Makefile.am
@@ -28,7 +28,9 @@ endif
       @HAVE_DPDK_TRUE@$(dpdk_lib_dir)/librte_mbuf.a \
       @HAVE_DPDK_TRUE@$(dpdk_lib_dir)/librte_ring.a \
       @HAVE_DPDK_TRUE@$(dpdk_lib_dir)/librte_mempool.a \
-      @HAVE_DPDK_TRUE@$(dpdk_lib_dir)/librte_malloc.a
+      @HAVE_DPDK_TRUE@$(dpdk_lib_dir)/librte_malloc.a \
+      @HAVE_DPDK_TRUE@$(dpdk_lib_dir)/librte_pmd_ring.a \
+      @HAVE_DPDK_TRUE@$(dpdk_lib_dir)/libethdev.a
 AM_CPPFLAGS = $(SSL_CFLAGS)


On Tue, Dec 3, 2013 at 9:43 PM, Romulo Rosa <romuloros@gmail.com> wrote:

> I'm trying to do a setup in Ubuntu 12.04 (i have tried on Fedora before)
> and i got some error. Recompiled the kernel and was later compiled
> successfully DPDK (version: 1.5.1r1). Then the cloned OVS_DPDK (source
> https://github.com/01org/dpdk-ovs). The error appears when I try to
> compile
> the OVS.
> The following output is displayed:
>
> gcc -Wstrict-prototypes -Wall -Wno-sign-compare -Wpointer-arith
> -Wdeclaration-after-statement -Wformat-security -Wswitch-enum
> -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align
> -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes
> -Wmissing-field-initializers -Wno-override-init  -g -O2 -export-dynamic
> -lpthread  -o utilities/ovs-dpctl utilities/ovs-dpctl.o
> lib/libopenvswitch.a
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_eal.a
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/libethdev.a
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_cmdline.a
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_hash.a
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_lpm.a
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_mbuf.a
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_ring.a
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_mempool.a
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_malloc.a
> -lrt -lm -ldl -pthread -lpthread
>
> /home/xerifao/ovs_dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/lib/librte_eal.a(eal_common_nonpci_devs.o):(.data+0x8):
> undefined reference to `rte_pmd_ring_init'
> collect2: ld returned 1 exit status
>
>
>
> I followed the "Intel DPDK gettin started guide" and "Intel DPDK vSwitch
> Getting Started Guide" documentation
>
>
> Thank you for your attention.
>
> --
> Rômulo Rosa Furtado
>

  reply	other threads:[~2013-12-04  4:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03 16:13 Romulo Rosa
2013-12-04  4:52 ` Jyotiswarup Raiturkar [this message]
2013-12-04 12:37   ` Romulo Rosa

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=CAJn5u1kzHdwWB-yWhE6ecRcWf2bPk6UTpMSbyiaYxGhchniaWg@mail.gmail.com \
    --to=jyotisr5@googlemail.com \
    --cc=dev@dpdk.org \
    --cc=romuloros@gmail.com \
    /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).