* linking error with dpdk
@ 2016-06-18 7:43 Raja Jayapal
[not found] ` <OF10DE222A.30746384-ON65257FD6.002A7119-65257FD6.002A762B-/cgKlWMm3F8@public.gmane.org>
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Raja Jayapal @ 2016-06-18 7:43 UTC (permalink / raw)
To: dev, discuss; +Cc: Nagaratna Patagar
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
./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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ovs-discuss] linking error with dpdk
[not found] ` <OF10DE222A.30746384-ON65257FD6.002A7119-65257FD6.002A762B-/cgKlWMm3F8@public.gmane.org>
@ 2016-06-18 18:12 ` Ben Pfaff
2016-06-18 20:47 ` Bodireddy, Bhanuprakash
1 sibling, 0 replies; 5+ messages in thread
From: Ben Pfaff @ 2016-06-18 18:12 UTC (permalink / raw)
To: Raja Jayapal
Cc: dev-VfR2kkLFssw, Nagaratna Patagar,
discuss-yBygre7rU0TnMu66kgdUjQ
On Sat, Jun 18, 2016 at 01:13:47PM +0530, Raja Jayapal wrote:
> 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.
Usually problems with installing OVS with DPDK result from not carefully
following the instructions in INSTALL.DPDK.md, which say specifically
what version of DPDK to use and specifically how to build it.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ovs-discuss] linking error with dpdk
[not found] ` <OF10DE222A.30746384-ON65257FD6.002A7119-65257FD6.002A762B-/cgKlWMm3F8@public.gmane.org>
2016-06-18 18:12 ` [ovs-discuss] " Ben Pfaff
@ 2016-06-18 20:47 ` Bodireddy, Bhanuprakash
1 sibling, 0 replies; 5+ messages in thread
From: Bodireddy, Bhanuprakash @ 2016-06-18 20:47 UTC (permalink / raw)
To: Raja Jayapal, dev-VfR2kkLFssw@public.gmane.org,
discuss-yBygre7rU0TnMu66kgdUjQ@public.gmane.org
Cc: Nagaratna Patagar
>-----Original Message-----
>From: discuss [mailto:discuss-bounces@openvswitch.org] On Behalf Of Raja
>Jayapal
>Sent: Saturday, June 18, 2016 8:44 AM
>To: dev@dpdk.org; discuss@openvswitch.org
>Cc: Nagaratna Patagar <nagaratna.patagar@tcs.com>
>Subject: [ovs-discuss] linking error with dpdk
>
>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
This is not correct, target also should be included i.e <LOCATION>/dpdk-<version>/x86_64-native-linuxapp-gcc
>- - - - - - -
>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
>
>./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-
>dpdk=/home/ubuntu/raja1/dpdk-2.0.0/x86_64-native-linuxapp-gcc/ --
>enable-ssl
This looks ok.
> - - - - - - - - - -
>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
Well, there was a recent patch with subject "NUMA Aware vhost user" that introduced a dependency on libnuma-dev package.
In case you don't have it installed you get the above error( it's not appropriate though!). Hope this resolves your issue.
Regards,
Bhanu Prakash.
>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
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linking error with dpdk
2016-06-18 7:43 linking error with dpdk Raja Jayapal
[not found] ` <OF10DE222A.30746384-ON65257FD6.002A7119-65257FD6.002A762B-/cgKlWMm3F8@public.gmane.org>
@ 2016-06-20 14:53 ` Ferruh Yigit
2016-06-20 15:45 ` gowrishankar
2 siblings, 0 replies; 5+ messages in thread
From: Ferruh Yigit @ 2016-06-20 14:53 UTC (permalink / raw)
To: Raja Jayapal, dev, discuss; +Cc: Nagaratna Patagar
On 6/18/2016 8:43 AM, 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
>
> ./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.
>
Hi Raja,
OVS master branch supports DPDK16.04, I just confirmed it is working.
Please follow instruction on INSTALL.DPDK.md in OVS repo.
Briefly:
export DPDK_DIR=/usr/src/dpdk-16.04
cd $DPDK_DIR
make install T=x86_64-native-linuxapp-gcc DESTDIR=install
export DPDK_BUILD=$DPDK_DIR/x86_64-native-linuxapp-gcc
cd $(OVS_DIR)
./configure --with-dpdk=$DPDK_BUILD
make
Regards,
ferruh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linking error with dpdk
2016-06-18 7:43 linking error with dpdk Raja Jayapal
[not found] ` <OF10DE222A.30746384-ON65257FD6.002A7119-65257FD6.002A762B-/cgKlWMm3F8@public.gmane.org>
2016-06-20 14:53 ` Ferruh Yigit
@ 2016-06-20 15:45 ` gowrishankar
2 siblings, 0 replies; 5+ messages in thread
From: gowrishankar @ 2016-06-20 15:45 UTC (permalink / raw)
To: Raja Jayapal; +Cc: dev, discuss, Nagaratna Patagar
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
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-06-20 15:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-18 7:43 linking error with dpdk Raja Jayapal
[not found] ` <OF10DE222A.30746384-ON65257FD6.002A7119-65257FD6.002A762B-/cgKlWMm3F8@public.gmane.org>
2016-06-18 18:12 ` [ovs-discuss] " Ben Pfaff
2016-06-18 20:47 ` Bodireddy, Bhanuprakash
2016-06-20 14:53 ` Ferruh Yigit
2016-06-20 15:45 ` gowrishankar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.