sparc: fix warning on unused variable
fix soname