From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akhil Goyal Subject: Re: [PATCH v5 01/11] lib/rte_security: add security library Date: Wed, 25 Oct 2017 16:36:43 +0530 Message-ID: <6390bdb7-698a-3b04-cc27-99eb2a1adea5@nxp.com> References: <20171014221734.15511-1-akhil.goyal@nxp.com> <20171024141545.30837-1-akhil.goyal@nxp.com> <20171024141545.30837-2-akhil.goyal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: "Doherty, Declan" , "hemant.agrawal@nxp.com" , "Nicolau, Radu" , "borisp@mellanox.com" , "aviadye@mellanox.com" , "thomas@monjalon.net" , "sandeep.malik@nxp.com" , "jerin.jacob@caviumnetworks.com" , "Mcnamara, John" , "Ananyev, Konstantin" , "shahafs@mellanox.com" , "olivier.matz@6wind.com" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" Return-path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0060.outbound.protection.outlook.com [104.47.41.60]) by dpdk.org (Postfix) with ESMTP id 3AC831B71D for ; Wed, 25 Oct 2017 13:06:52 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Pablo, On 10/24/2017 8:45 PM, De Lara Guarch, Pablo wrote: > Hi Akhil, > >> -----Original Message----- >> From: Akhil Goyal [mailto:akhil.goyal@nxp.com] >> Sent: Tuesday, October 24, 2017 3:16 PM >> To: dev@dpdk.org >> Cc: Doherty, Declan ; De Lara Guarch, Pablo >> ; hemant.agrawal@nxp.com; Nicolau, >> Radu ; borisp@mellanox.com; >> aviadye@mellanox.com; thomas@monjalon.net; sandeep.malik@nxp.com; >> jerin.jacob@caviumnetworks.com; Mcnamara, John >> ; Ananyev, Konstantin >> ; shahafs@mellanox.com; >> olivier.matz@6wind.com >> Subject: [PATCH v5 01/11] lib/rte_security: add security library >> > > If you are making a v6, I would change the title to "security: ...". > Also, there is an issue described below. > > Regards, > Pablo Ok will change the title "security: introduce security API and framework" > > ... > >> diff --git a/lib/librte_security/Makefile b/lib/librte_security/Makefile new >> file mode 100644 index 0000000..af87bb2 >> --- /dev/null >> +++ b/lib/librte_security/Makefile > > ... > >> + >> +# library name >> +LIB = librte_security.a >> + >> +# library version >> +LIBABIVER := 1 >> + >> +# build flags >> +CFLAGS += -O3 >> +CFLAGS += $(WERROR_FLAGS) > > There is a compilation issue when the building as shared library, because LDLIBS have not been set. > > You need to add the following: > > +LDLIBS += -lrte_eal -lrte_mempool > > > Thanks for pointing this out. I think it got broken due to some latest patches merged. Will correct this in v6. Thanks, Akhil