I get an error when compiling in ubuntu 17.04
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
Makefile:5226: recipe for target 'zcashd-bitcoind.o' failed
make[2]: *** [zcashd-bitcoind.o] Error 4
make[2]: Leaving directory '/home/tom/VoteCoin/src'
Makefile:5279: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tom/VoteCoin/src'
Makefile:623: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Getting the same error on Ubuntu 16.04.3 running in Virtualbox

. Can someone help?