Hello Vivek,

I quickly verified the issue you reported and could reproduce it. When one use 
install target 'x86_64-ivshmem-linuxapp-gcc' the directory layout is slightly 
different.

make install T= x86_64-ivshmem-linuxapp-gcc DESTDIR=install creates  
'<homedirectory>/dpdk2.2/install/share/dpdk/ x86_64-native-linuxapp-gcc`, where 
as one expects the directory layout to be 
'<homedirectory>/dpdk2.2/install/share/dpdk/ x86_64-ivshmem-linuxapp-gcc`.

This is the reason the OVS configure was failing in your case. Try passing 
-with-dpdk= homedirectory/dpdk2.2/install/share/dpdk/x86_64-native-linuxapp-gcc 
(or)  --with-dpdk=homedirectory/dpdk2.2/ x86_64-ivshmem-linuxapp-gcc

Regards,
Bhanu Prakash.

From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Bodireddy, 
Bhanuprakash
Sent: Tuesday, March 29, 2016 10:31 AM
To: Vivek Gupta <vive...@hcl.com>; gowrishankar 
<gowrishanka...@linux.vnet.ibm.com>
Cc: discuss@openvswitch.org
Subject: Re: [ovs-discuss] Cannot link with dpdk

Set my path-to-dpdk to homedirectory/dpdk2.2/ x86_64-ivshmem-linuxapp-gcc and 
this should resolve your issue.

Regards,
Bhanu Prakash.

From: Vivek Gupta [mailto:vive...@hcl.com]
Sent: Tuesday, March 29, 2016 10:15 AM
To: Bodireddy, Bhanuprakash 
<bhanuprakash.bodire...@intel.com<mailto:bhanuprakash.bodire...@intel.com>>; 
gowrishankar 
<gowrishanka...@linux.vnet.ibm.com<mailto:gowrishanka...@linux.vnet.ibm.com>>
Cc: discuss@openvswitch.org<mailto:discuss@openvswitch.org>
Subject: RE: [ovs-discuss] Cannot link with dpdk

Yes, I am able to see libdpdk.so file in 
path-to-dpdk/x86_64-native-linuxapp-gcc/lib

Please find attached config.log file.

To be mention that I have install DPDK2.2 as below

  1.  make config T=x86_64-ivshmem-linuxapp-gcc
  2.  make install T= x86_64-ivshmem-linuxapp-gcc DESTDIR=install

my path-to-dpdk = homedirectory/dpdk2.2/install/share/dpdk.



Please suggest.



Thanks & Regards

Vivek

________________________________
From: Bodireddy, Bhanuprakash [bhanuprakash.bodire...@intel.com]
Sent: Tuesday, March 29, 2016 1:51 PM
To: Vivek Gupta; gowrishankar
Cc: discuss@openvswitch.org<mailto:discuss@openvswitch.org>
Subject: RE: [ovs-discuss] Cannot link with dpdk
Do you see DPDK library in the path mentioned 
path-to-dpdk/x86_64-ivshmem-linuxapp-gcc/lib/libdpdk.a?

From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Vivek Gupta
Sent: Tuesday, March 29, 2016 7:40 AM
To: gowrishankar 
<gowrishanka...@linux.vnet.ibm.com<mailto:gowrishanka...@linux.vnet.ibm.com>>
Cc: discuss@openvswitch.org<mailto:discuss@openvswitch.org>
Subject: Re: [ovs-discuss] Cannot link with dpdk

I have already enabled that option.
________________________________
From: gowrishankar [gowrishanka...@linux.vnet.ibm.com]
Sent: Tuesday, March 29, 2016 11:02 AM
To: Vivek Gupta
Cc: discuss@openvswitch.org<mailto:discuss@openvswitch.org>
Subject: Re: [ovs-discuss] Cannot link with dpdk
On Monday 28 March 2016 04:25 PM, Vivek Gupta wrote:
Hi


I am trying to configure OVS 2.5 with DPDK 2.2 with following option

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
-with-dpdk=path-to-dpdk-/x86_64-ivshmem-linuxapp-gcc/ --enable-ssl



but I get error message "configure: error: cannot link with dpdk"



You need to have CONFIG_RTE_BUILD_COMBINE_LIBS=y while building dpdk.

Regards,
Gowrishankar



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to