I'm running an Onion Omega2 on Arduino Dock 2 and have a USB expansion installed and working. When I try to install gcc however, I get the following output:
root@Omega-9F38:~# opkg install gcc
Installing gcc (5.4.0-2) to root...
Is it because of lack of space? I ran df-h and got the following output:
root@Omega-9F38:~/bluepy/bluepy# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 5.5M 5.5M 0 100% /rom
tmpfs 29.7M 25.9M 3.8M 87% /tmp
/dev/sda1 14.6G 135.3M 13.7G 1% /overlay
overlayfs:/overlay 14.6G 135.3M 13.7G 1% /
tmpfs 512.0K 0 512.0K 0% /dev
Do I need more space?
Would appreciate your help.
At 14G of disk space, it's not likely to be that.
The 'Killed' leads me to believe that you may be running out of memory though... So you may want to look into apportioning some of the 14G as swap space or do some research on how to extend the available RAM on your O2.
Did you read through the pro's and con's and follow the instructions here: Compiling C on the Omega
This post is deleted!
@cas Thanks. It was a RAM issue. When I expanded the RAM, gcc got installed successfully.