How to compile SCRAMNet Linux library file
From Lehigh RTMD Wiki
- Connect to the RTMD Subversion Repository, svn://rtmdrepos.nees.lehigh.edu/RTMD/trunk/RTMD.
- Under src/edu/lehigh/nees/scramnet/ check out edu_lehigh.nees.scramnet_ScramNetIO.h, makefile, ScramNetIO.c and ScramNetIO.java.
- Connect to either neestele or neessim (depending on where the SCRAMNet driver will be deployed).
- Make sure that JAVA_HOME in makefile is set to the correct Java path.
- Edit ScramNetIO.c and on line 13, change sp_scram_init() to sp_scram_init(0). Save file.
- Run make to create the driver file, scramnetio.so.
- Become root and move the scramnetio.so file to /usr/lib/.
- If you make any other changes to the ScramNetIO.c file, make sure the changes are reflected in the edu_lehigh_nees_lehigh_scramnet_ScramNetIO.h and ScramNetIO.java files. You may need to change the function declaration parameters if you changed them in the ScramNetIO.c file.
- If the ScramNetIO.java file has been changed, please follow the instructions on how to checkout and package the RTMD java software.

