From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8A1BE9ABB for ; Mon, 20 Jun 2016 16:53:23 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 20 Jun 2016 07:53:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,499,1459839600"; d="scan'208";a="125354493" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.97]) ([10.237.220.97]) by fmsmga004.fm.intel.com with ESMTP; 20 Jun 2016 07:53:15 -0700 To: Raja Jayapal , dev@dpdk.org, discuss@openvswitch.org References: Cc: Nagaratna Patagar From: Ferruh Yigit Message-ID: <5768035B.4040204@intel.com> Date: Mon, 20 Jun 2016 15:53:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] linking error with dpdk X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 14:53:24 -0000 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