Re: [dpdk-dev] DPDK 20.11 Static vs Dynamic Linking- l2fwd issue

2021-01-19 Thread Bruce Richardson
On Tue, Jan 19, 2021 at 04:54:28PM +0530, Truring Team wrote: >export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig >pkg-config --static --libs libdpdk >-Wl,--whole-archive -Wl,--no-whole-archive -Wl,--as-needed -pthread This line is the source of the problem, since pkg-config is re-arran

Re: [dpdk-dev] DPDK 20.11 Static vs Dynamic Linking- l2fwd issue

2021-01-19 Thread Truring Team
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig pkg-config --static --libs libdpdk -Wl,--whole-archive -Wl,--no-whole-archive -Wl,--as-needed -pthread -L/usr/local/lib64 -l:librte_common_cpt.a -l:librte_common_dpaax.a -l:librte_common_iavf.a -l:librte_common_octeontx.a -l:librte_common_octeontx

Re: [dpdk-dev] DPDK 20.11 Static vs Dynamic Linking- l2fwd issue

2021-01-19 Thread Truring Team
cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) pkg-config --version 0.27.1 pkg-config --static --libs libdpdk Package libdpdk was not found in the pkg-config search path. Perhaps you should add the directory containing `libdpdk.pc' to the PKG_CONFIG_PATH environment variable No pa

Re: [dpdk-dev] DPDK 20.11 Static vs Dynamic Linking- l2fwd issue

2021-01-19 Thread Bruce Richardson
On Tue, Jan 19, 2021 at 10:40:10AM +, Bruce Richardson wrote: > On Tue, Jan 19, 2021 at 03:36:18PM +0530, Truring Team wrote: > > Hi Team, > > > > I am facing one issue with dpdk 20.11 Release, compiled the l2fwd app with > > make static , its throwing following error while running the app: >

Re: [dpdk-dev] DPDK 20.11 Static vs Dynamic Linking- l2fwd issue

2021-01-19 Thread Bruce Richardson
On Tue, Jan 19, 2021 at 03:36:18PM +0530, Truring Team wrote: > Hi Team, > > I am facing one issue with dpdk 20.11 Release, compiled the l2fwd app with > make static , its throwing following error while running the app: > > Problematic Use Case: > cd dpdk-20.11/examples/l2fwd > export PKG_CONFIG_

[dpdk-dev] DPDK 20.11 Static vs Dynamic Linking- l2fwd issue

2021-01-19 Thread Truring Team
Hi Team, I am facing one issue with dpdk 20.11 Release, compiled the l2fwd app with make static , its throwing following error while running the app: Problematic Use Case: cd dpdk-20.11/examples/l2fwd export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig *make static * ./build/l2fwd -l 0-3 -n 4 -- -q