Installation guide
34 DC 900-1325I
Freeway Server-Resident Application (SRA) Programmer Guide
Input file: mysratcfg
Result file: mysratcfg.bin
mysratcfg completed successfully.
mv mysratcfg.bin ../../bsd/bin
Step 2: Check the output of the make utility for errors. If errors exist, edit the source
file indicated by the error, correct the error, and try the make again. Note that once the
SRA is built successfully, only the SRA object file is left in the SRA source directory. All
binary files have been moved to the binary directory. You may confirm this with the fol-
lowing command:
pwd
/usr/local/freeway/client/test/mysra
ls -l
lrwxr-xr-x 1 root guest 12 Mar 14 22:30 Makefile ->
makefile.bsd
-rwxr-xr-x 1 root guest 1891 Mar 14 23:54 makefile.bsd
-rw-r--r-- 1 root guest 76101 Mar 14 23:55 mysra.c
-rw-r--r-- 1 root guest 15964 Mar 14 23:56 mysra.o
-rw-r--r-- 1 root guest 18699 Mar 14 23:55 mysradcfg
-rw-r--r-- 1 root guest 3208 Mar 14 23:55 mysratcfg
Step 3: Once the SRA is built, we can now mount the /usr partition as read-only:
mount -u -o ro /usr
2.4 Running the SRA
After building the SRA, the make file moves the SRA binary (executable) file to the
binary directory (/usr/local/freeway/client/bsd/bin). The make file also moves the DLI
and TSI binary configuration files to the same directory. To run the SRA from the
binary directory, follow these steps:
Step 1: Change directory to the binary directory and check to make sure all the files
needed for SRA execution are there:
cd /usr/local/freeway/client/bsd/bin
ls -l mysra*