-----Original Message----- > Date: Tue, 8 May 2018 10:31:56 +0000 > From: "Verma, Shally" <shally.ve...@cavium.com> > To: "dev@dpdk.org" <dev@dpdk.org>, Pablo de Lara > <pablo.de.lara.gua...@intel.com> > CC: "Sahu, Sunila" <sunila.s...@cavium.com>, "Kotamarthy, Kanaka" > <kanaka.kotamar...@cavium.com> > Subject: [dpdk-dev] dpdk-next-crypto broken? > > Trying to do 'make test' on dpdk-next-crypto clone, throw these error. Even > if I try to disable this file build by setting CONFIG_RTE_LIBRTE_EVENTDEV=n , > don't help, fails at some other places. Can there be quick resolve for same?
Are you using gcc 4.8.5. If so the following patch will fix the problem. http://dpdk.org/dev/patchwork/patch/39428/ > > CC test_event_timer_adapter.o > /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c: In function > 'test_timer_state': > /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c:381:3: error: > missing initializer for field 'priority' of 'struct <anonymous>' > [-Werror=missing-field-initializers] > .ev.sched_type = RTE_SCHED_TYPE_ATOMIC, > ^ > In file included from > /home/sverma/dpdk/latest/test/test/test_event_timer_adapter.c:12:0: > /home/sverma/dpdk/latest/build/include/rte_eventdev.h:1049:12: note: > 'priority' declared here > uint8_t priority; > ^ > > Thanks > Shally