'make' fails with 'g++: internal compiler error'
I am getting the following error while doing make . Any ideas?
Machine: Ubuntu 16.04LTS
Making all in inference
make[4]: Entering directory '/home/vineeshvs/software/graph-tool-2.16/src/graph/inference'
CXX cache.lo
CXX graph_blockmodel.lo
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
Makefile:604: recipe for target 'graph_blockmodel.lo' failed
make[4]: *** [graph_blockmodel.lo] Error 1
make[4]: Leaving directory '/home/vineeshvs/software/graph-tool-2.16/src/graph/inference'
Makefile:738: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/vineeshvs/software/graph-tool-2.16/src/graph'
Makefile:412: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/vineeshvs/software/graph-tool-2.16/src'
Makefile:584: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/vineeshvs/software/graph-tool-2.16'
Makefile:471: recipe for target 'all' failed
make: *** [all] Error 2