Excuse me for the long post, at the end with the command "make" I obtain this:
mining@ubuntu:~/moonstone/build$ make
Scanning dependencies of target project_secp256k1
[ 1%] Performing autogen step for 'project_secp256k1'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:10: installing 'build-aux/compile'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
[ 1%] Creating directories for 'project_secp256k1'
[ 2%] No download step for 'project_secp256k1'
[ 2%] No update step for 'project_secp256k1'
[ 3%] No patch step for 'project_secp256k1'
[ 3%] Performing configure step for 'project_secp256k1'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking for gcc option to accept ISO C89... (cached) none needed
checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking for __int128... yes
checking for __builtin_expect... yes
checking for __builtin_clzll... yes
checking for x86_64 assembly availability... yes
checking for CRYPTO... yes
checking for main in -lcrypto... yes
checking for EC functions in libcrypto... yes
checking whether byte ordering is bigendian... no
configure: Using assembly optimizations: x86_64
configure: Using field implementation: 64bit
configure: Using bignum implementation: no
configure: Using scalar implementation: 64bit
configure: Using endomorphism optimizations: no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
[ 3%] Performing build step for 'project_secp256k1'
CC src/libsecp256k1_la-secp256k1.lo
CCLD libsecp256k1.la
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
CC src/tests-tests.o
CCLD tests
[ 4%] Performing install step for 'project_secp256k1'
[ 4%] Completed 'project_secp256k1'
[ 4%] Built target project_secp256k1
Scanning dependencies of target udt
[ 4%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/api.cpp.o
[ 5%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/buffer.cpp.o
[ 5%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/cache.cpp.o
[ 6%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/ccc.cpp.o
[ 6%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/channel.cpp.o
[ 7%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/common.cpp.o
[ 7%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/core.cpp.o
[ 8%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/epoll.cpp.o
[ 8%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/list.cpp.o
[ 9%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/md5.cpp.o
[ 9%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/packet.cpp.o
[ 10%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/queue.cpp.o
[ 10%] Building CXX object libraries/fc/vendor/udt4/CMakeFiles/udt.dir/src/window.cpp.o
[ 11%] Linking CXX static library libudt.a
[ 11%] Built target udt
Scanning dependencies of target fc
[ 12%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/uint128.cpp.o
[ 12%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/real128.cpp.o
[ 13%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/variant.cpp.o
[ 13%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/exception.cpp.o
[ 14%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/variant_object.cpp.o
[ 14%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/thread.cpp.o
[ 15%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/thread_specific.cpp.o
[ 15%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/future.cpp.o
[ 15%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o
[ 16%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/spin_lock.cpp.o
[ 16%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/spin_yield_lock.cpp.o
[ 17%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/mutex.cpp.o
[ 17%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/non_preemptable_scope_check.cpp.o
[ 18%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/asio.cpp.o
[ 18%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/string.cpp.o
[ 19%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/shared_ptr.cpp.o
[ 19%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/time.cpp.o
[ 20%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/utf8.cpp.o
[ 20%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/iostream.cpp.o
[ 21%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/datastream.cpp.o
[ 21%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/buffered_iostream.cpp.o
[ 22%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/fstream.cpp.o
[ 22%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/sstream.cpp.o
[ 23%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/json.cpp.o
[ 23%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/varint.cpp.o
[ 23%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/console.cpp.o
[ 24%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/filesystem.cpp.o
[ 24%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/interprocess/process.cpp.o
[ 25%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/interprocess/signals.cpp.o
[ 25%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/interprocess/file_mapping.cpp.o
[ 26%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/interprocess/mmap_struct.cpp.o
[ 26%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/rpc/cli.cpp.o
[ 27%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/rpc/http_api.cpp.o
[ 27%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/rpc/json_connection.cpp.o
[ 28%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/rpc/state.cpp.o
[ 28%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/rpc/websocket_api.cpp.o
[ 29%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/log_message.cpp.o
[ 29%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/logger.cpp.o
[ 30%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/appender.cpp.o
[ 30%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/console_appender.cpp.o
[ 31%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/file_appender.cpp.o
[ 31%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/gelf_appender.cpp.o
[ 32%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/logger_config.cpp.o
[ 32%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/_digest_common.cpp.o
[ 32%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/openssl.cpp.o
[ 33%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/aes.cpp.o
[ 33%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/crc.cpp.o
[ 34%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/city.cpp.o
[ 34%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/base32.cpp.o
[ 35%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/base36.cpp.o
[ 35%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/base58.cpp.o
[ 36%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/base64.cpp.o
[ 36%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/bigint.cpp.o
[ 37%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/hex.cpp.o
[ 37%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/sha1.cpp.o
[ 38%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/ripemd160.cpp.o
[ 38%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/sha256.cpp.o
[ 39%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/sha224.cpp.o
[ 39%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/sha512.cpp.o
[ 40%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/dh.cpp.o
[ 40%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/blowfish.cpp.o
[ 40%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/elliptic_common.cpp.o
[ 41%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/elliptic_impl_priv.cpp.o
[ 41%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/elliptic_secp256k1.cpp.o
[ 42%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/rand.cpp.o
[ 42%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/tcp_socket.cpp.o
[ 43%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/udp_socket.cpp.o
[ 43%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/udt_socket.cpp.o
[ 44%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/http/http_connection.cpp.o
[ 44%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/http/http_server.cpp.o
[ 45%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/http/websocket.cpp.o
[ 45%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/ntp.cpp.o
[ 46%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/ip.cpp.o
[ 46%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/rate_limiting.cpp.o
[ 47%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/resolve.cpp.o
[ 47%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/url.cpp.o
[ 48%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/gntp.cpp.o
[ 48%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/smaz.cpp.o
[ 48%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/zlib.cpp.o
[ 49%] Building C object libraries/fc/CMakeFiles/fc.dir/vendor/cyoencode-1.0.2/src/CyoDecode.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
[ 49%] Building C object libraries/fc/CMakeFiles/fc.dir/vendor/cyoencode-1.0.2/src/CyoEncode.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
[ 50%] Linking CXX static library libfc.a
Copying OpenSSL/ssl/openssl.cnf into target directory.
[ 50%] Built target fc
Scanning dependencies of target moonstone_db
[ 50%] Building CXX object libraries/db/CMakeFiles/moonstone_db.dir/undo_database.cpp.o
[ 51%] Building CXX object libraries/db/CMakeFiles/moonstone_db.dir/index.cpp.o
[ 51%] Building CXX object libraries/db/CMakeFiles/moonstone_db.dir/object_database.cpp.o
[ 52%] Linking CXX static library libmoonstone_db.a
[ 52%] Built target moonstone_db
Scanning dependencies of target deterministic_openssl_rand
[ 53%] Building CXX object libraries/deterministic_openssl_rand/CMakeFiles/deterministic_openssl_rand.dir/deterministic_openssl_rand.cpp.o
[ 53%] Linking CXX static library libdeterministic_openssl_rand.a
[ 53%] Built target deterministic_openssl_rand
Scanning dependencies of target cat-parts
[ 53%] Building CXX object programs/build_helpers/CMakeFiles/cat-parts.dir/cat-parts.cpp.o
[ 53%] Linking CXX executable cat-parts
[ 53%] Built target cat-parts
Scanning dependencies of target build_hardfork_hpp
Built "/home/mining/moonstone/build/libraries/chain/include/moonstone/chain/hardfork.hpp" from .d directory
[ 53%] Built target build_hardfork_hpp
Scanning dependencies of target moonstone_chain
[ 53%] Building CXX object libraries/chain/CMakeFiles/moonstone_chain.dir/database.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See
for instructions.
libraries/chain/CMakeFiles/moonstone_chain.dir/build.make:62: recipe for target 'libraries/chain/CMakeFiles/moonstone_chain.dir/database.cpp.o' failed
make[2]: *** [libraries/chain/CMakeFiles/moonstone_chain.dir/database.cpp.o] Error 4
CMakeFiles/Makefile2:475: recipe for target 'libraries/chain/CMakeFiles/moonstone_chain.dir/all' failed
make[1]: *** [libraries/chain/CMakeFiles/moonstone_chain.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
What can I do?