From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id A52299A91 for ; Mon, 20 Jun 2016 17:45:51 +0200 (CEST) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u5KFhnni081969 for ; Mon, 20 Jun 2016 11:45:50 -0400 Received: from e28smtp09.in.ibm.com (e28smtp09.in.ibm.com [125.16.236.9]) by mx0a-001b2d01.pphosted.com with ESMTP id 23n0me2faf-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 20 Jun 2016 11:45:50 -0400 Received: from localhost by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 20 Jun 2016 21:15:47 +0530 Received: from d28dlp01.in.ibm.com (9.184.220.126) by e28smtp09.in.ibm.com (192.168.1.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 20 Jun 2016 21:15:44 +0530 X-IBM-Helo: d28dlp01.in.ibm.com X-IBM-MailFrom: gowrishankar.m@linux.vnet.ibm.com X-IBM-RcptTo: dev@dpdk.org Received: from d28relay10.in.ibm.com (d28relay10.in.ibm.com [9.184.220.161]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id B7B4CE0040 for ; Mon, 20 Jun 2016 21:19:25 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay10.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u5KFjhS831850570 for ; Mon, 20 Jun 2016 21:15:43 +0530 Received: from d28av02.in.ibm.com (localhost [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u5KFjh28031117 for ; Mon, 20 Jun 2016 21:15:43 +0530 Received: from [9.79.205.184] ([9.79.205.184]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u5KFjXpi030300; Mon, 20 Jun 2016 21:15:33 +0530 To: Raja Jayapal References: Cc: dev@dpdk.org, discuss@openvswitch.org, Nagaratna Patagar From: gowrishankar Date: Mon, 20 Jun 2016 21:15:32 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16062015-0060-0000-0000-000000B04159 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16062015-0061-0000-0000-00000DCE824A Message-Id: <57680F9C.3060107@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-06-20_09:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1606200174 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 15:45:52 -0000 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 > > >