Modified some error messages in src/sptps.c.
Enable and fix warnings from automake.