← Back to team overview

rohc team mailing list archive

build roch-2.3.1 fail with static assertion using arm-linux-gnueabihf-gcc


Hi Didier, 
I have  been trying to understand the rationale of this assertion during make.
make[4]: Entering directory '/home/mhanuel/development/rohc/rohc-2.3.1/src/comp'
 CC librohc_comp_la-rohc_comp_rfc3095.lo
In file included from rohc_comp_rfc3095.c:32:
c_rtp.h:113:1: error: static assertion failed: "sc_rtp_context length should be multiple of 8 bytes"
 _Static_assert((sizeof(struct sc_rtp_context) % 8) == 0,
 I am using arm-linux-gnueabihf-gcc, such as
arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0
I have tried with 4.9 as well, same result
I will appreciate if you can give me some comment, I understand this is new to 2.3.1, rohc 2.2.0 builds fine.
Many thanks,