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.
solardiz said:
so I should remove this
yespower.h
line: https://github.com/cryptozeny/sugarchain-v0.16.3/blob/c2120ecb89ba9b5f42bd79f84b3dfcc82a633ead/src/Makefile.am#L280Issue is:
[x] on my machine build is OK, but
[ ] on Travis, it errors
[ ] on Gitian Builder, it errors
` 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>
`