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
Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix.
How do you remove the -O2 flag? Sorry complete Linux noob here.
Try this, I haven't tried it yet.
sed "s/\-O2//" makefile.unix > makefile.unix.new
make -f makefile.unix.new USE_UPNP=-
Mind you this removes some optimizations, its better to use an instance with more memory... and it looks like the new code can take advantage of more headroom!