From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: Re: [PATCH v3 00/33] NXP DPAA2 PMD Date: Tue, 10 Jan 2017 09:49:17 +0530 Message-ID: References: <1482180853-18823-1-git-send-email-hemant.agrawal@nxp.com> <1482988612-6638-1-git-send-email-shreyansh.jain@nxp.com> <19bb2147-08b8-9163-bb17-2072986ae67a@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , , To: Ferruh Yigit , Return-path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0073.outbound.protection.outlook.com [104.47.34.73]) by dpdk.org (Postfix) with ESMTP id D2860152A for ; Tue, 10 Jan 2017 05:15:51 +0100 (CET) In-Reply-To: <19bb2147-08b8-9163-bb17-2072986ae67a@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Monday 09 January 2017 11:12 PM, Ferruh Yigit wrote: > On 12/29/2016 5:16 AM, Shreyansh Jain wrote: >> ** Sending v3 on behalf of Hemant Agrawal ** >> > > <...> > > Hi, > > Getting compile error for shared library [1] build. > Not investigated, copying here. > > Thanks, > ferruh > > > [1] > == Build drivers/net/dpaa2 > LD librte_pmd_dpaa2.so.1.1 > /usr/bin/ld: cannot find -lrte_pmd_dpaa2_qbman > /usr/bin/ld: cannot find -lrte_pmd_dpaa2_pool > I think this would be coming for parallel builds. Serial build for shared library is working as far as I know. For parallel, somehow the rte_pmd_dpaa2_qbman dependency for net/dpaa2 is not getting clearly defined because of which net/dpaa2 linking is attempted even before rte_pmd_dpaa2_qbman is ready. I found that this might be because of the way scripts/depdirs-rule.sh forms the common-est directory. It works fine when dependent libraries are within lib/*, but when a drivers/net is dependent on driver/common or driver/bus, it somehow isn't working. I am still investigating this. - Shreyansh