[dpdk-dev] dpdk-next-crypto broken?

Jerin Jacob jerin.jacob at caviumnetworks.com
Tue May 8 12:36:58 CEST 2018


-----Original Message-----
> Date: Tue, 8 May 2018 10:31:56 +0000
> From: "Verma, Shally" <Shally.Verma at cavium.com>
> To: "dev at dpdk.org" <dev at dpdk.org>, Pablo de Lara
>  <pablo.de.lara.guarch at intel.com>
> CC: "Sahu, Sunila" <Sunila.Sahu at cavium.com>, "Kotamarthy, Kanaka"
>  <Kanaka.Kotamarthy at 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


More information about the dev mailing list