Hi David, Sorry for taking time on it > -----Original Message----- > From: David Marchand <david.march...@redhat.com> > Sent: Thursday, January 30, 2020 4:32 PM > To: Hemant Agrawal <hemant.agra...@nxp.com> > Cc: Nipun Gupta <nipun.gu...@nxp.com>; dev <dev@dpdk.org> > Subject: Re: Dependency issue between event/dpaa and crypto/dpaa_sec > Importance: High > > On Thu, Jan 30, 2020 at 11:53 AM Hemant Agrawal > <hemant.agra...@nxp.com> wrote: > > Can you elaborate more, how are you compiling? are you using the > v19.11.0 tag? > > event/dpaa is dependent on crypto/dpaa_sec > > > > but code do take care of it. > > Yes, the v19.11 tag. > Using ./devtools/test-build.sh, and I hit the issue once with the > i686-native-linux-gcc+shared+debug+default. > > > I could not find a dependency in the makefiles for this. > But meson has this dependency. > > drivers/event/dpaa/meson.build > deps += ['pmd_dpaa', 'pmd_dpaa_sec'] > > [Hemant] Makefile do have dependency set, but at a different place. I have done a small change. Please check if you can :
diff --git a/drivers/event/dpaa/Makefile b/drivers/event/dpaa/Makefile index 2f53efdf9e..093d3a38cf 100644 --- a/drivers/event/dpaa/Makefile +++ b/drivers/event/dpaa/Makefile @@ -21,8 +21,6 @@ CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include/ CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include - -LDLIBS += -lrte_pmd_dpaa_sec CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec EXPORT_MAP := rte_pmd_dpaa_event_version.map @@ -34,6 +32,7 @@ LDLIBS += -lrte_bus_dpaa LDLIBS += -lrte_mempool_dpaa LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs +LDLIBS += -lrte_pmd_dpaa_sec LDLIBS += -lrte_eventdev -lrte_pmd_dpaa -lrte_bus_vdev LDLIBS += -lrte_common_dpaax > I suppose I can catch it because I build with -j28. > I have been burning^Wcompiling a lot, those weeks, but this is the first time > I > caught it. > > > -- > David Marchand