I got a fatal error due when compiling the latest Openwrt due to low RAM on the Lite Server (quite normal)
This solved the issue:
free
dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
mkswap /var/swap.img
swapon /var/swap.img
free
make -f makefile.unix