Make problems
Hi, great project. Do you happen to know why I might get this error when building?
trees-plugin.c: In function ‘trees_get_private_key’:
trees-plugin.c:140:25: error: ‘crypto_pwhash_SALTBYTES’ undeclared (first use in this function)
unsigned char pw_salt[crypto_pwhash_SALTBYTES];
^~~~~~~~~~~~~~~~~~~~~~~
trees-plugin.c:140:25: note: each undeclared identifier is reported only once for each function it appears in
trees-plugin.c:191:7: error: implicit declaration of function ‘crypto_pwhash’ [-Werror=implicit-function-declaration]
if (crypto_pwhash(sk, sizeof(sk),
^~~~~~~~~~~~~
trees-plugin.c:191:3: error: nested extern declaration of ‘crypto_pwhash’ [-Werror=nested-externs]
if (crypto_pwhash(sk, sizeof(sk),
^~
trees-plugin.c:194:21: error: ‘crypto_pwhash_ALG_DEFAULT’ undeclared (first use in this function)
crypto_pwhash_ALG_DEFAULT) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~
trees-plugin.c:140:17: error: unused variable ‘pw_salt’ [-Werror=unused-variable]
unsigned char pw_salt[crypto_pwhash_SALTBYTES];
^~~~~~~
cc1: all warnings being treated as errors
Makefile:493: recipe for target 'trees-plugin.lo' failed
make[2]: *** [trees-plugin.lo] Error 1
make[2]: Leaving directory '/root/trees-master-84c0978a3e5f6c7bfc1bb728ae4c5c295f23ba22/src'
Makefile:456: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/trees-master-84c0978a3e5f6c7bfc1bb728ae4c5c295f23ba22'
Makefile:388: recipe for target 'all' failed
make: *** [all] Error 2