aclocal-1.14: warning: couldn't open directory 'src/m4': No such file or directory
cd . && /bin/bash /home/ubuntu/myriadcoin/src/build-aux/missing automake-1.14 --foreign
configure.ac:52: error: required file 'build-aux/compile' not found
configure.ac:52: 'automake --add-missing' can install 'compile'
configure.ac:15: error: required file 'build-aux/config.guess' not found
configure.ac:15: 'automake --add-missing' can install 'config.guess'
configure.ac:15: error: required file 'build-aux/config.sub' not found
configure.ac:15: 'automake --add-missing' can install 'config.sub'
configure.ac:25: error: required file 'build-aux/install-sh' not found
configure.ac:25: 'automake --add-missing' can install 'install-sh'
configure.ac:52: error: required file 'build-aux/ltmain.sh' not found
configure.ac:25: error: required file 'build-aux/missing' not found
configure.ac:25: 'automake --add-missing' can install 'missing'
configure.ac:11: error: required file 'src/config/bitcoin-config.h.in' not found
src/Makefile.am: error: required file 'build-aux/depcomp' not found
src/Makefile.am: 'automake --add-missing' can install 'depcomp'
parallel-tests: error: required file 'build-aux/test-driver' not found
parallel-tests: 'automake --add-missing' can install 'test-driver'
make: *** [Makefile.in] Error 1
Then I tried to rerun autogen and configure, and then make clean, but kept getting errors like:
:~/myriadcoin$ make
Making all in src
make[1]: Entering directory `/home/ubuntu/myriadcoin/src'
make[2]: Entering directory `/home/ubuntu/myriadcoin/src'
CXX crypto/libbitcoinconsensus_la-hmac_sha512.lo
CXX crypto/libbitcoinconsensus_la-ripemd160.lo
In file included from /usr/include/x86_64-linux-gnu/bits/byteswap.h:35:0,
from /usr/include/endian.h:60,
from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
./compat/endian.h:111:17: error: expected unqualified-id before '__extension__'
inline uint16_t htobe16(uint16_t host_16bits)
^
./compat/endian.h:111:17: error: expected ')' before '__extension__'
./compat/endian.h:111:17: error: expected unqualified-id before ')' token
inline uint16_t htobe16(uint16_t host_16bits)
^
In file included from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64:0,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
./compat/endian.h:118:34: error: expected ')' before 'host_16bits'
inline uint16_t htole16(uint16_t host_16bits)
^
In file included from /usr/include/x86_64-linux-gnu/bits/byteswap.h:35:0,
from /usr/include/endian.h:60,
from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
./compat/endian.h:125:17: error: expected unqualified-id before '__extension__'
inline uint16_t be16toh(uint16_t big_endian_16bits)
^
./compat/endian.h:125:17: error: expected ')' before '__extension__'
./compat/endian.h:125:17: error: expected unqualified-id before ')' token
inline uint16_t be16toh(uint16_t big_endian_16bits)
^
In file included from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64:0,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
./compat/endian.h:132:34: error: expected ')' before 'little_endian_16bits'
inline uint16_t le16toh(uint16_t little_endian_16bits)
^
./compat/endian.h: In function 'uint32_t __bswap_32(uint32_t)':
./compat/endian.h:139:17: error: redefinition of 'uint32_t __bswap_32(uint32_t)'
inline uint32_t htobe32(uint32_t host_32bits)
^
In file included from /usr/include/endian.h:60:0,
from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
/usr/include/x86_64-linux-gnu/bits/byteswap.h:45:1: error: 'unsigned int __bswap_32(unsigned int)' previously define
__bswap_32 (unsigned int __bsx)
^
In file included from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64:0,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
./compat/endian.h: At global scope:
./compat/endian.h:146:34: error: expected ')' before 'host_32bits'
inline uint32_t htole32(uint32_t host_32bits)
^
./compat/endian.h: In function 'uint32_t __bswap_32(uint32_t)':
./compat/endian.h:153:17: error: redefinition of 'uint32_t __bswap_32(uint32_t)'
inline uint32_t be32toh(uint32_t big_endian_32bits)
^
In file included from /usr/include/endian.h:60:0,
from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
/usr/include/x86_64-linux-gnu/bits/byteswap.h:45:1: error: 'unsigned int __bswap_32(unsigned int)' previously define
__bswap_32 (unsigned int __bsx)
^
In file included from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64:0,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
./compat/endian.h: At global scope:
./compat/endian.h:160:34: error: expected ')' before 'little_endian_32bits'
inline uint32_t le32toh(uint32_t little_endian_32bits)
^
./compat/endian.h: In function 'uint64_t __bswap_64(uint64_t)':
./compat/endian.h:167:17: error: redefinition of 'uint64_t __bswap_64(uint64_t)'
inline uint64_t htobe64(uint64_t host_64bits)
^
In file included from /usr/include/endian.h:60:0,
from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
/usr/include/x86_64-linux-gnu/bits/byteswap.h:109:1: error: '__uint64_t __bswap_64(__uint64_t)' previously defined h
__bswap_64 (__uint64_t __bsx)
^
In file included from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64:0,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
./compat/endian.h: At global scope:
./compat/endian.h:174:34: error: expected ')' before 'host_64bits'
inline uint64_t htole64(uint64_t host_64bits)
^
./compat/endian.h: In function 'uint64_t __bswap_64(uint64_t)':
./compat/endian.h:181:17: error: redefinition of 'uint64_t __bswap_64(uint64_t)'
inline uint64_t be64toh(uint64_t big_endian_64bits)
^
In file included from /usr/include/endian.h:60:0,
from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
/usr/include/x86_64-linux-gnu/bits/byteswap.h:109:1: error: '__uint64_t __bswap_64(__uint64_t)' previously defined h
__bswap_64 (__uint64_t __bsx)
^
In file included from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64:0,
from /usr/include/stdlib.h:42,
from ./crypto/ripemd160.h:9,
from crypto/ripemd160.cpp:5:
./compat/endian.h: At global scope:
./compat/endian.h:188:34: error: expected ')' before 'little_endian_64bits'
inline uint64_t le64toh(uint64_t little_endian_64bits)
^
make[2]: *** [crypto/libbitcoinconsensus_la-ripemd160.lo] Error 1
make[2]: Leaving directory `/home/ubuntu/myriadcoin/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/myriadcoin/src'
make: *** [all-recursive] Error 1
Then I just cloned a fresh version and it seems to be compiling OK now tho...