Just a reminder, you'll want sparc32 headers to build this. Quick and dirty explanation: cd /usr/include ls -l asm # If this doesn't point to asm-sparc/ then you'll need to rm asm ln -s asm-sparc asm