@pfoff The error is a very generic one and it's unlikely it's something related to SDL, looks like there's a problem with your system. Check dmesg for any related errors - especially hardware ones.
With only 2Gb or RAM, you'd better off using the 32bit version of the OS, you won't gain very much with a 64 bit system. Also, on PC all packages are built from source, so there's no need to re-compile manually any package.