1. fix autoreconf : can't find m4 error.
2. modify the return value type of sorm_to_string from int to char*