Re: [dpdk-dev] Linking with -ldpdk

2018-02-19 Thread Neil Horman
On Mon, Feb 19, 2018 at 10:39:39AM +0100, tom.barbe...@uliege.be wrote: > Hi list, > > I found out that to staticly compile against DPDK using the combined lib, I > needed all these options : > > -I${RTE_SDK}/${RTE_TARGET}/include -L${RTE_SDK}/${RTE_TARGET}/lib > -Wl,--whole-archive -ldpdk -Wl,

Re: [dpdk-dev] Linking with -ldpdk

2018-02-19 Thread Bruce Richardson
On Mon, Feb 19, 2018 at 10:39:39AM +0100, tom.barbe...@uliege.be wrote: > Hi list, > > I found out that to staticly compile against DPDK using the combined lib, I > needed all these options : > > -I${RTE_SDK}/${RTE_TARGET}/include -L${RTE_SDK}/${RTE_TARGET}/lib > -Wl,--whole-archive -ldpdk -Wl,