Topic: Compilation error for wolfSSL library for Android
I was following the below link to integrate wolf ssl to Android OSP build.
But while doing the section “Compile wolfSSL Library" in the above link, it ended up in a compilation error.
The error is below:
external/wolfssl/./src/ssl.c:50931:13: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
ret <<= (WOLFSSL_BN_ULONG)DIGIT_BIT;
1 error generated.
[ 92% 154/166] target C: libwolfssl <= external/wolfssl/./src/ssl.c
ninja: build stopped: subcommand failed.
09:18:47 ninja failed with: exit status 1
Please help me to resolve this issue.
Build System: Ubuntu 14.04 (This Ubuntu version is needed for my project.)
Build logs attached