am trying to compile daemon.
and am having trouble with secp256k
where do i make it ?
i made it in root.
edit i think i fixed it.
copied
secp256k.1
to
shell/src
--
here's my basic process to compile secp256k1.h, first i got it from the git, then i needed to install autoconf and libtool then move the file into shell/src
the step by step errors below are in the code boxes. with the fixes below them
first error was on a server that i have compiled numerous daemons on already
key.cpp:17:23: fatal error: secp256k1.h: No such file or directory
#include <secp256k1.h>
git clone
https://github.com/bitcoin/secp256k1./autogen.sh: 3: ./autogen.sh: autoreconf: not found
apt-get install autoconf
Makefile.am:3: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:3: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:3: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:3: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:3: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
apt-get install libtool
..
i compiled secp256k1 into ~secp256k1 so then i needed to copy secp256k1.h into shell/src
~/secp256k1/include# cp secp256k1.h ~/shell/src/
ONE MORE ERROR
crypto/hmac_sha256.cpp:34:1: fatal error: opening dependency file obj/crypto/hmac_sha256.d: No such file or directory
}
^
compilation terminated.
make: *** [obj/crypto/hmac_sha256.o] Error 1
mkdir obj/crypto
seems i spoke too soon..
/usr/bin/ld: cannot find -lsecp256k1
collect2: error: ld returned 1 exit status
make: *** [shelld] Error 1
i'll come back to this later