Internal compiler error: Killed

Please help me! I´ve problems with setting up zcash stand alone miner. everything is ok until the step "Build". After command ./zcutil/ -j$(nproc) everytime this message comes up:

{standard input}: Assembler messages:
{standard input}:47468: Warning: end of file not at end of a line; newline inserted
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
Makefile:4074: recipe for target 'libbitcoinserver_a-init.o' failed_
make[2]: *** [libbitcoinserver_a-init.o] Error 4_
make[2]: Leaving directory '/home/ubuntu/zminer/src'
Makefile:7564: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/zminer/src'
Makefile:640: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

I don´t know how to go on... Please help me. Any ideas?