and in some cases you also want to add -L <directory of library>
to the expression (like when the library is not in a standard location and the -L has not been already added for a different library.) Burt On Wed, Dec 14, 2016 at 1:02 PM, Dave Barach (dbarach) <dbar...@cisco.com> wrote: > In <your-plugin>/Makefile.am: > > > > my_plugin_la_LIBADD = -l<library> > > > > for any / all values of <library> that the plugin requires. > > > > Thanks… Dave > > > > *From:* mahdi akrami [mailto:akram...@gmail.com] > *Sent:* Wednesday, December 14, 2016 10:48 AM > *To:* Dave Barach (dbarach) <dbar...@cisco.com> > *Subject:* Re: [vpp-dev] Fwd: DPDK SDK in plugin > > > > Hi, > > > > > > Could you please explain how to do that? I tried several methods, but all > of them failed. > > > > On Wed, Dec 14, 2016 at 5:15 PM, Dave Barach (dbarach) <dbar...@cisco.com> > wrote: > > Link the plugin against the library you need. > > > > Thanks… Dave > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *mahdi akrami > *Sent:* Wednesday, December 14, 2016 5:31 AM > *To:* vpp-dev <vpp-dev@lists.fd.io> > *Subject:* [vpp-dev] Fwd: DPDK SDK in plugin > > > > Hi, > > > > I still have the problem of using DPDK code in my VPP plugin. What is the > solution? Specially for libraries that VPP did not included before like > rte_hash. > > > > Thanks > > > > ---------- Forwarded message ---------- > From: *mahdi akrami* <akram...@gmail.com> > Date: Mon, Dec 5, 2016 at 4:26 PM > Subject: Re: [vpp-dev] DPDK SDK in plugin > To: "Dave Barach (dbarach)" <dbar...@cisco.com> > > Hi Dave, > > I compared DPDK and VPP hash libs and it seems that DPDK implementation is > about twice faster that VPP hash. I want to use DPDK hash in my plugin. > > Thanks > > > > On Mon, Dec 5, 2016 at 4:16 PM, Dave Barach (dbarach) <dbar...@cisco.com> > wrote: > > I’m sure that I can help, but this request isn’t specific enough. > > > > Please upload a draft patch with a README describing the library / > contents you need to link into the plugin. > > > > Thanks… Dave > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *mahdi akrami > *Sent:* Monday, December 5, 2016 4:30 AM > *To:* vpp-dev <vpp-dev@lists.fd.io> > *Subject:* [vpp-dev] DPDK SDK in plugin > > > > Hi, > > I want to use some codes from DPDK SDK in my VPP plugin. Can anybody tell > me how to change Makefile.am and configure.ac or any other configurations > to do that??? > > Thanks in advance > > Mahdi > > > > > > > > _______________________________________________ > vpp-dev mailing list > vpp-dev@lists.fd.io > https://lists.fd.io/mailman/listinfo/vpp-dev >
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev