[dpdk-dev] building shared library

Gonzalez Monroy, Sergio sergio.gonzalez.monroy at intel.com
Tue Nov 11 11:37:17 CET 2014


Hi  Newman,

> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Newman Poborsky
> Sent: Monday, November 10, 2014 2:23 PM
> 
> Hi,
> 
> is it possible to build a  dpdk app as a shared library?
> 
> I tried to put 'include $(RTE_SDK)/mk/rte.extshared.mk' in my Makefile (and
> define SHARED) and it builds .so lib, but all rte_* symbols are undefined.
> 
Can you elaborate a bit on how you are building DPDK and your app?
Is your objective to build a single .so containing your app and all DPDK libs?
Or do you want your app to have a link dependency on DPDK shared libs?



More information about the dev mailing list