[dpdk-dev] dpaa2: building with EXTRA_CFLAGS="-g -O0" and shared libs link error

Wiles, Keith keith.wiles at intel.com
Sun Aug 19 16:55:02 CEST 2018


I am building on Ubuntu 18.04.1 LTS, gcc 7.3.0-16ubuntu3 and with EXTRA_CFLAGS=“-g -O0” with shared libs enabled.

I get an undefined reference to rte_dpaa2_memsegs when building portal/dpaa2_hw_dpio.c in the link phase.

The odd part is this does not happen unless you are building with EXTRA_CFLAGS and with shared libs enabled.

It seems to have circular dependency on drivers/mempool/dpaa2 and drivers/bus/fslmc/portal

This breaks being able to build a debug version of DPDK.


Regards,
Keith



More information about the dev mailing list