Post
Topic
Board Altcoin Discussion
Re: [XPM] [FASTER!] Mining PrimeCoin using DigitalOcean (VPS)
by
jaakkop
on 11/07/2013, 05:51:10 UTC
I always get this when I try compiling.  Any tips?  

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [obj/init.o] Error 4

I was facing the same problem, found a solution from here:
https://bitcointalk.org/index.php?topic=110627.msg1204122#msg1204122

You'll need a bit of swap Wink
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
After compiling, remove swap:
Code:
sudo swapoff /swapfile
sudo rm /swapfile

For myself, this did the trick just fine