[ovs-discuss] [OVS-Discuss]: configure: error: cannot link with dpdk

Ranjith Kumar D Ranjith.Kumar at radisys.com
Fri Sep 8 13:33:35 UTC 2017


Hi,

I am trying to install OVS with DPDK and I getting below error while configuring OVS

configure: error: cannot link with dpdk

The below are my OVS and DPDK software  version details:

DPDK version : dpdk-stable-17.02.1
OVS version :  rte-openvswitch-2.4.0

The below are steps I flowed to install DPDK and installation was successful, attached complete installation logs :


1.       export DPDK_DIR=/home/ubuntu/dpdk-stable-17.02.1/

2.       export DPDK_TARGET=x86_64-native-linuxapp-gcc

3.       export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET

4.       make install T=$DPDK_TARGET DESTDIR=install

The below are steps I flowed to install OVS(attached complete installation  logs):


1.       ./boot.sh

2.       ./configure --with-dpdk=/home/ubuntu/dpdk-stable-17.02.1/x86_64-native-linuxapp-gcc/

I could see  below DPDK static libraries in '/home/ubuntu/dpdk-stable-17.02.1/x86_64-native-linuxapp-gcc/' path:

libdpdk.alibrte_efd.a librte_lpm.a  librte_pmd_af_packet.a  librte_pmd_fm10k.a  librte_pmd_ring.a librte_power.a
librte_acl.a librte_ethdev.a librte_mbuf.a librte_pmd_bnxt.a librte_pmd_i40e.a librte_pmd_sfc_efx.a librte_reorder.a
librte_cfgfile.a librte_hash.a librte_mempool.a   librte_pmd_bond.a  librte_pmd_ixgbe.a librte_pmd_tap.a librte_ring.a
librte_cmdline.a librte_ip_frag.a   librte_meter.a librte_pmd_cxgbe.a librte_pmd_nfp.a librte_pmd_vhost.a  librte_sched.a
librte_cryptodev.a librte_jobstats.a  librte_net.a librte_pmd_e1000.a librte_pmd_null.a librte_pmd_virtio.a librte_table.a
librte_distributor.a librte_kni.a  librte_pdump.a     librte_pmd_ena.a  librte_pmd_null_crypto.a  librte_pmd_vmxnet3_uio.a librte_timer.a
librte_eal.a librte_kvargs.a librte_pipeline.a  librte_pmd_enic.a  librte_pmd_qede.a librte_port.a librte_vhost.a


Also, I set  'CONFIG_RTE_BUILD_SHARED_LIB=y' configuration parameter in 'config/common_base' file  and re-installed DPDK, but still the same issue. However I could see below dynamic libraries  in '/home/ubuntu/dpdk-stable-17.02.1/x86_64-native-linuxapp-gcc/

libdpdk.so                  librte_ip_frag.so.1.1*   librte_pipeline.so.3.1*       librte_pmd_ixgbe.so.1.1*        librte_pmd_vmxnet3_uio.so.1.1*
librte_acl.so@              librte_jobstats.so@      librte_pmd_af_packet.so@      librte_pmd_nfp.so@              librte_port.so@
librte_acl.so.2.1*          librte_jobstats.so.1.1*  librte_pmd_af_packet.so.1.1*  librte_pmd_nfp.so.1.1*          librte_port.so.3.1*
librte_cfgfile.so@          librte_kni.so@           librte_pmd_bnxt.so@           librte_pmd_null_crypto.so@      librte_power.so@
librte_cfgfile.so.2.1*      librte_kni.so.2.1*       librte_pmd_bnxt.so.1.1*       librte_pmd_null_crypto.so.1.1*  librte_power.so.1.1*
librte_cmdline.so@          librte_kvargs.so@        librte_pmd_bond.so@           librte_pmd_null.so@             librte_reorder.so@
librte_cmdline.so.2.1*      librte_kvargs.so.1.1*    librte_pmd_bond.so.1.1*       librte_pmd_null.so.1.1*         librte_reorder.so.1.1*
librte_cryptodev.so@        librte_lpm.so@           librte_pmd_cxgbe.so@          librte_pmd_qede.so@             librte_ring.so@
librte_cryptodev.so.2.1*    librte_lpm.so.2.1*       librte_pmd_cxgbe.so.1.1*      librte_pmd_qede.so.1.1*         librte_ring.so.1.1*
librte_distributor.so@      librte_mbuf.so@          librte_pmd_e1000.so@          librte_pmd_ring.so@             librte_sched.so@
librte_distributor.so.1.1*  librte_mbuf.so.2.1*      librte_pmd_e1000.so.1.1*      librte_pmd_ring.so.2.1*         librte_sched.so.1.1*
librte_eal.so@              librte_mempool.so@       librte_pmd_ena.so@            librte_pmd_sfc_efx.so@          librte_table.so@
librte_eal.so.3.1*          librte_mempool.so.2.1*   librte_pmd_ena.so.1.1*        librte_pmd_sfc_efx.so.1.1*      librte_table.so.2.1*
librte_efd.so@              librte_meter.so@         librte_pmd_enic.so@           librte_pmd_tap.so@              librte_timer.so@
librte_efd.so.1.1*          librte_meter.so.1.1*     librte_pmd_enic.so.1.1*       librte_pmd_tap.so.1.1*          librte_timer.so.1.1*
librte_ethdev.so@           librte_net.so@           librte_pmd_fm10k.so@          librte_pmd_vhost.so@            librte_vhost.so@
librte_ethdev.so.6.1*       librte_net.so.1.1*       librte_pmd_fm10k.so.1.1*      librte_pmd_vhost.so.1.1*        librte_vhost.so.3.1*
librte_hash.so@             librte_pdump.so@         librte_pmd_i40e.so@           librte_pmd_virtio.so@
librte_hash.so.2.1*         librte_pdump.so.1.1*     librte_pmd_i40e.so.1.1*       librte_pmd_virtio.so.1.1*
librte_ip_frag.so@          librte_pipeline.so@      librte_pmd_ixgbe.so@          librte_pmd_vmxnet3_uio.so@

Any suggestion ?

Regards,
Ranjith



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170908/0af3b1ee/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: DPDK_ins_logs.txt
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170908/0af3b1ee/attachment-0002.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dynamic_lib.PNG
Type: image/png
Size: 37470 bytes
Desc: dynamic_lib.PNG
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170908/0af3b1ee/attachment-0002.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OVS_ins_logs.txt
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170908/0af3b1ee/attachment-0003.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: static_lib.PNG
Type: image/png
Size: 16115 bytes
Desc: static_lib.PNG
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170908/0af3b1ee/attachment-0003.png>


More information about the discuss mailing list