litecoincash-project / cpuminer-multi

Features the Minotaur and MinotaurX hash algorithms, and segwit support, for Ring [RNG] and Litecoin Cash [LCC].
Other
42 stars 32 forks source link

crypto/blake2s.c: In function ‘blake2s’: crypto/blake2s.c:326:9: error: size of array element is not a multiple of its alignment 326 | blake2s_state S[1]; | ^~~~~~~~~~~~~ #7

Open garzeth opened 2 years ago

garzeth commented 2 years ago

so this is the first time encountering this error I've configured this miner multiple times but never I encountered this error until today...while building I eventually saw some code saying it's obselete or the code is old and started seeing a lot of warnings way more before and suddenly appeared this error crypto/blake2s.c: In function ‘blake2s’: crypto/blake2s.c:326:9: error: size of array element is not a multiple of its alignment 326 | blake2s_state S[1]; | ^~~~~t and aother one saying makefile all error and when I saw the code it says Im missing the libjansson libcurl dependencies but if i know I have it installed and other dependencies required for the cpuminer to run

maniben3 commented 2 years ago

i havesameproblem

derhier commented 1 year ago

Any workaround?

derWahnsinn commented 1 year ago

Ran into the same problem, here's the solution which worked for me.

Line number 119 in ./crypto/blake2s.h needs to be changed from:

ALIGN( 64 ) typedef struct __blake2s_state

to:

typedef struct ALIGN( 64 ) __blake2s_state