Hi Saloni,

CONFIG_RTE_BUILD_SHARED_LIBS=y is not needed. I've just compiled DPDK v1.7.1 
and OVS head with CONFIG_RTE_BUILD_SHARED_LIBS=n, and it compiled fine.

It would be good if you could retry with CONFIG_RTE_BUILD_SHARED_LIBS=n to 
confirm.

Thanks,
Kevin.

From: discuss [mailto:[email protected]] On Behalf Of Saloni Jain
Sent: Monday, December 15, 2014 10:47 AM
To: Alex Wang
Cc: [email protected]
Subject: Re: [ovs-discuss] Error in installation of DPDK with OVS

Hi Alex,

Thanks for your help.

I was updating the `config/common_linuxapp` and setting 
`CONFIG_RTE_BUILD_COMBINE_LIBS=y` as mentioned in INSTALL.DPDK.md

But the problem was solved by updating both `CONFIG_RTE_BUILD_SHARED_LIBS=y` 
and  `CONFIG_RTE_BUILD_COMBINE_LIBS=y`

Thanks and Regards,
Saloni Jain


-----Alex Wang <[email protected]<mailto:[email protected]>> wrote: -----
To: Saloni Jain <[email protected]<mailto:[email protected]>>
From: Alex Wang <[email protected]<mailto:[email protected]>>
Date: 12/13/2014 11:33PM
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [ovs-discuss] Error in installation of DPDK with OVS
Hey Saloni,

I could build with DPDK on current master, following INSTALL.DPDK.

Could you make sure you updated the `config/common_linuxapp` and
set `CONFIG_RTE_BUILD_COMBINE_LIBS=y` (listed in step 2 in
INSTALL.DPDK)?

If you missed this step, you will have the `cannot link with dpdk` error,

Thanks,
Alex Wang,

On Fri, Dec 12, 2014 at 3:33 AM, Saloni Jain 
<[email protected]<mailto:[email protected]>> wrote:
Hi Team,

We are trying to install ovs with DPDK refering to 
INSTALL.DPDK.md<http://INSTALL.DPDK.md> file.

dpdk 1.7.1 is taken from the link dpdk.org/download<http://dpdk.org/download>
cloned the latest master code of openvswitch from github

We have verified that our NIC is supported with file 
lib/librte_eal/common/include/rte_pci_dev_ids.h.

We have successfully build DPDK but we are getting following error in 
configuring OVS:

checking target hint for cgcc... x86_64
checking whether make has GNU make $(1) extension... yes
configure: error: cannot link with dpdk.

Can anyone please provide some inputs for resolution of above error?

Thanks & Regards,
Saloni Jain
Tata Consultancy Services
Mailto: [email protected]<mailto:[email protected]>
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Consulting
____________________________________________

=====-----=====-----=====
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
[email protected]<mailto:[email protected]>
http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to