cryptozeny / sugarchain-v0.16.3

OUTDATED! This repo is moved to:
https://github.com/sugarchain-project/sugarchain
MIT License
0 stars 1 forks source link

<src/Makefile.am> for yespower #56

Closed cryptozeny closed 4 years ago

cryptozeny commented 5 years ago

solardiz said:

solardiz on Jul 31, 2018
You probably only need these 3 (and no `.h` files) in `crypto_libbitcoin_crypto_a_SOURCES`:

  crypto/yespower/sha256.c \
  crypto/yespower/yespower-opt.c \
  crypto/yespower-bitzeny.c

And you probably don't need `noinst_HEADERS`, but I wouldn't vouch for that without testing.

so I should remove this yespower.h line: https://github.com/cryptozeny/sugarchain-v0.16.3/blob/c2120ecb89ba9b5f42bd79f84b3dfcc82a633ead/src/Makefile.am#L280

Issue is:


primitives/block.cpp:15:10: fatal error: 'crypto/yespower-1.0.0/yespower.h' file not found
#include <crypto/yespower-1.0.0/yespower.h>

` configure: running /bin/bash ./configure --disable-option-checking '--prefix=/' '--disable-ccache' '--disable-maintainer-mode' '--disable-dependency-tracking' '--enable-reduce-exports' '--disable-bench' '--disable-gui-tests' 'GENISOIMAGE=/home/ubuntu/wrapped/genisoimage' 'CFLAGS=-I/home/ubuntu/build/sugarchain/src/crypto/yespower-1.0.0' '--disable-shared' '--with-pic' '--with-bignum=no' '--enable-module-recovery' '--disable-jni' --cache-file=/dev/null --srcdir=. CFLAGS = -pipe -O2 -I/home/ubuntu/build/sugarchain/src/crypto/yespower-1.0.0 primitives/block.cpp:15:10: fatal error: 'crypto/yespower-1.0.0/yespower.h' file not found

include <crypto/yespower-1.0.0/yespower.h>

`

cryptozeny commented 5 years ago

old issue: https://github.com/cryptozeny/sugarchain-v0.16.3/issues/22