Skip to content

Instantly share code, notes, and snippets.

@gnull
Created May 29, 2021 18:44
Show Gist options
  • Save gnull/67e2ac3bd7a64159cfe25a733aa75de7 to your computer and use it in GitHub Desktop.
Save gnull/67e2ac3bd7a64159cfe25a733aa75de7 to your computer and use it in GitHub Desktop.
In file included from …/ENCRYPTO_utils/extern/relic/src/md/blake2s-ref.c:18:
…/ENCRYPTO_utils/extern/relic/src/md/blake2.h:101:5: error: size of array element is not a multiple of its alignment
101 | blake2s_state S[8][1];
| ^~~~~~~~~~~~~
…/ENCRYPTO_utils/extern/relic/src/md/blake2.h:102:5: error: size of array element is not a multiple of its alignment
102 | blake2s_state R[1];
| ^~~~~~~~~~~~~
…/ENCRYPTO_utils/extern/relic/src/md/blake2.h:109:5: error: size of array element is not a multiple of its alignment
109 | blake2b_state S[4][1];
| ^~~~~~~~~~~~~
…/ENCRYPTO_utils/extern/relic/src/md/blake2.h:110:5: error: size of array element is not a multiple of its alignment
110 | blake2b_state R[1];
| ^~~~~~~~~~~~~
[ 53%] Building C object extern/relic/src/CMakeFiles/relic_s.dir/md/relic_md_blake2s.c.o
…/ENCRYPTO_utils/extern/relic/src/md/blake2s-ref.c: In function ‘blake2s’:
…/ENCRYPTO_utils/extern/relic/src/md/blake2s-ref.c:329:3: error: size of array element is not a multiple of its alignment
329 | blake2s_state S[1];
| ^~~~~~~~~~~~~
make[2]: *** [extern/relic/src/CMakeFiles/relic_s.dir/build.make:846: extern/relic/src/CMakeFiles/relic_s.dir/md/blake2s-ref.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 54%] Building C object extern/relic/src/CMakeFiles/relic_s.dir/md/relic_md_hmac.c.o
In file included from …/ENCRYPTO_utils/extern/relic/src/md/relic_md_blake2s.c:38:
…/ENCRYPTO_utils/extern/relic/src/md/blake2.h:101:5: error: size of array element is not a multiple of its alignment
101 | blake2s_state S[8][1];
| ^~~~~~~~~~~~~
…/ENCRYPTO_utils/extern/relic/src/md/blake2.h:102:5: error: size of array element is not a multiple of its alignment
102 | blake2s_state R[1];
| ^~~~~~~~~~~~~
…/ENCRYPTO_utils/extern/relic/src/md/blake2.h:109:5: error: size of array element is not a multiple of its alignment
109 | blake2b_state S[4][1];
| ^~~~~~~~~~~~~
…/ENCRYPTO_utils/extern/relic/src/md/blake2.h:110:5: error: size of array element is not a multiple of its alignment
110 | blake2b_state R[1];
| ^~~~~~~~~~~~~
make[2]: *** [extern/relic/src/CMakeFiles/relic_s.dir/build.make:860: extern/relic/src/CMakeFiles/relic_s.dir/md/relic_md_blake2s.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:132: extern/relic/src/CMakeFiles/relic_s.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment