a little comment about these three files:
solaris_64_sparc.native - This is the first attempt I made and, as opposed the name said, it is for 32bit (it was an almost failed attempt). It's compiled without -fPIC options. Please, use solaris_32_xadisk.native in place of this.
solaris_32_xadisk.native - This is the compiled version for 32bit jvm compiled with the following command:
/usr/sfw/bin/gcc -shared -fPIC -I/usr/jdk/instances/jdk1.7.0_09/include -I/usr/jdk/instances/jdk1.7.0_09/include/solaris -o ./nativelib.so ./XADiskUnix.c
solaris_64_xadisk.native - This is the compiled version for 64bit jvm compiled with the following command:
/usr/sfw/bin/gcc -shared -fPIC -m64 -I/usr/jdk/instances/jdk1.7.0_09/include -I/usr/jdk/instances/jdk1.7.0_09/include/solaris -L/usr/sfw/lib/64 -R/usr/sfw/lib/64 -o ./nativelib.so ./XADiskUnix.c
I already know about "placeholder_xadisk.native" and it's the way I have used those files in my applications.