Re: [dpdk-dev] [PATCH v3] build: fix plugin load on static builds

2021-01-05 Thread Thomas Monjalon
21/12/2020 12:04, Bruce Richardson: > On Fri, Dec 18, 2020 at 02:14:22PM +0100, Olivier Matz wrote: > > When dpdk is compiled as static libraries, it is not possible > > to load a plugin from an application. We get the following error: > > > > EAL: librte_pmd_.so: undefined symbol: per_lcore

Re: [dpdk-dev] [PATCH v3] build: fix plugin load on static builds

2020-12-21 Thread Bruce Richardson
On Fri, Dec 18, 2020 at 02:14:22PM +0100, Olivier Matz wrote: > When dpdk is compiled as static libraries, it is not possible > to load a plugin from an application. We get the following error: > > EAL: librte_pmd_.so: undefined symbol: per_lcore__rte_errno > > This happens because the dpdk

[dpdk-dev] [PATCH v3] build: fix plugin load on static builds

2020-12-18 Thread Olivier Matz
When dpdk is compiled as static libraries, it is not possible to load a plugin from an application. We get the following error: EAL: librte_pmd_.so: undefined symbol: per_lcore__rte_errno This happens because the dpdk symbols are not exported. Add them to the dynamic symbol table by using '