DPDK patches and discussions
 help / color / mirror / Atom feed
From: gowrishankar <gowrishankar.m@linux.vnet.ibm.com>
To: Raja Jayapal <raja.jayapal@tcs.com>
Cc: dev@dpdk.org, discuss@openvswitch.org,
	Nagaratna Patagar <nagaratna.patagar@tcs.com>
Subject: Re: [dpdk-dev] linking error with dpdk
Date: Mon, 20 Jun 2016 21:15:32 +0530	[thread overview]
Message-ID: <57680F9C.3060107@linux.vnet.ibm.com> (raw)
In-Reply-To: <OF10DE222A.30746384-ON65257FD6.002A7119-65257FD6.002A762B@tcs.com>

On Saturday 18 June 2016 01:13 PM, Raja Jayapal wrote:
> Hi All,
>
> I am trying to install dpdk with ovs, but am getting the linking errors.
> Downloaded and tried with dpdk 2.0/2.2/16.04 and latest ovs.
>
> DPDK : wget http://dpdk.org/browse/dpdk/snapshot/dpdk-2.0.0.tar.gz and wget http://dpdk.org/browse/dpdk/snapshot/dpdk-2.2.0.tar.gz
> OVS : git clone https://github.com/openvswitch/ovs.git
>
>   ./configure --with-dpdk=/home/ubuntu/raja2/dpdk-2.2.0
> - - - - - - -
> checking target hint for cgcc... x86_64
> checking whether make has GNU make $(if) extension... yes
> checking whether dpdk datapath is enabled... yes
> checking for /home/ubuntu/raja2/dpdk-2.2.0/include/rte_config.h... no
> checking for /home/ubuntu/raja2/dpdk-2.2.0/include/dpdk/rte_config.h... no
> configure: error: Could not find DPDK libraries in /home/ubuntu/raja2/dpdk-2.2.0/lib

You need to have CONFIG_RTE_BUILD_COMBINE_LIBS=y if you are trying 
dpdk-2.2.0 or less.

As Ferruh replied earlier, refer to dpdk version what INSTALL.DPDK.md 
suggests.

Thanks,
Gowrishankar
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-dpdk=/home/ubuntu/raja1/dpdk-2.0.0/x86_64-native-linuxapp-gcc/ --enable-ssl
>   - - - - - - - - - -
> checking whether gcc -std=gnu99 accepts -Wno-unused-parameter... yes
> checking target hint for cgcc... x86_64
> checking whether make has GNU make $(if) extension... yes
> checking whether dpdk datapath is enabled... yes
> checking for /home/ubuntu/raja1/dpdk-2.0.0/x86_64-native-linuxapp-gcc//include/rte_config.h... yes
> configure: error: Could not find DPDK libraries in /home/ubuntu/raja1/dpdk-2.0.0/x86_64-native-linuxapp-gcc//lib
> ubuntu@01HW462422:~/raja1/ovs$
>
> Installed dpdk successfully, but when i build ovs with dpdk i am getting the linking error in all the three versions of dpdk.
> Is there any specific version in which the dpdk-ovs will only work, if so please let me know.
>
> Thanks,
> Raja
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>

      parent reply	other threads:[~2016-06-20 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-18  7:43 Raja Jayapal
2016-06-20 14:53 ` Ferruh Yigit
2016-06-20 15:45 ` gowrishankar [this message]

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=57680F9C.3060107@linux.vnet.ibm.com \
    --to=gowrishankar.m@linux.vnet.ibm.com \
    --cc=dev@dpdk.org \
    --cc=discuss@openvswitch.org \
    --cc=nagaratna.patagar@tcs.com \
    --cc=raja.jayapal@tcs.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).