Post
Topic
Board Announcements (Altcoins)
Re: [ANN] CRAVE 1st POS Masternodes | Dark Assets | Markets Soon =Embrace The Dark=
by
kevin1234a
on 17/04/2015, 01:20:02 UTC
guys getting this error on raspberry pi, while compiling any advise ?

http://prntscr.com/6u8vo4
http://prntscr.com/6ubb8a

bump

Getting this when trying to compile daemon with latest secp256k1 installed:  

Code:
key.cpp:729:106: error: cannot convert ‘unsigned char*’ to ‘const secp256k1_context_t* {aka const secp256k1_context_struct*}’ for argument ‘1’ to ‘int secp256k1_ec_pubkey_tweak_add(const secp256k1_context_t*, unsigned char*, int, const unsigned char*)’
     bool ret = secp256k1_ec_pubkey_tweak_add((unsigned char*)pubkeyChild.begin(), pubkeyChild.size(), out);
                                                                                                          ^
make: *** [obj/key.o] Error 1

I'm assuming because as was mentioned,  crave daemon does not currently support latest secp256k1 ?

Had to do this to get it to actually reset/rollback and successfully compile:
Code:
git clone https://github.com/bitcoin/secp256k1
cd secp256k1
git reset a0d3b8
git add .
git reset --hard
./autogen.sh
./configure
make
sudo make install
cd ..
sudo ldconfig

cd crave/src
make -f makefile.unix USE_UPNP=
strip craved

tvm wil test and confirm  Smiley

also


Thanks,

I'm now having trouble installing secp256k1

~/secp256k1 $ ./autogen.sh
./autogen.sh: 3: ./autogen.sh: autoreconf: not found

Any help is appreciated / thanks !
first do this:
sudo apt-get install automake
sudo apt-get install build-essential libtool
then:
./autogen.sh


guys i dont know what im doing wrong maybe this wallet is not good for my pi so i compiled it on VPS after following above instructions but getting error again after 40-45 mins duration.