Compiling fails
Closed this issue · 3 comments
everlyy commented
Trying to compile it after following all instructions, fails when running make
. I get the following error:
gcc -std=c99 -Wall -Wextra -Wno-maybe-uninitialized -pedantic -Wmissing-prototypes -Wstrict-prototypes -O3 -march=native -fomit-frame-pointer -DED25519_amd64_51_30k -DSTATISTICS -c -o main.c.o.tmp main.c && mv main.c.o.tmp main.c.o
main.c: In function ‘main’:
main.c:483:13: error: ‘checkpointfile’ undeclared (first use in this function)
483 | if (checkpointfile && !deterministic) {
| ^~~~~~~~~~~~~~
main.c:483:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:483:32: error: ‘deterministic’ undeclared (first use in this function)
483 | if (checkpointfile && !deterministic) {
| ^~~~~~~~~~~~~
make: *** [GNUmakefile:132: main.c.o] Error 1
Am I missing some kind of libraries?
gcc: gcc version 11.2.0 (Debian 11.2.0-18)
everlyy commented
Tried compiling by downloading the tarball from releases and this worked fine
scribblemaniac commented
It's an issue with the code. It probably only comes up when you have an older version of libsodium, which is why it hasn't been caught before.
cathugger commented
oh. nice catch.