[SOLVED] Installing pycuda on TK1 - Compiler Problem

Im trying to install the pycuda on Jetson TK1. When I tried to “sudo make install” :

arm-linux-gnueabihf-gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 4
make: *** [install] Error 1

I tried everything but I couldnt fixed.

Do you have enough disk space ?

df -H -T

Another possible cause could be running out of memory (should make some traces in dmesg). If you used parallel make -j4, try with single make. If not enough, you may add swap.

The problem was the RAM. I closed the chrome, 2 program and fixed. I didnt expect. Thanks.