Installation guide

2: Server-Resident Application Software Development
DC 900-1325I 33
Note that the DLI and TSI log and trace files must be created on a partition which is
always writable. If the original loopback program had previously been run on the Free-
way server, then the log and trace files should already have a path prepended to the file
name (for example, "/tmp/awsalpdli.log" and "/tmp/awsalpdli.trc"). If not, you need to
edit the DLI and TSI configuration files once more in order to add a path to a writable
partition for the log and trace files. Refer to Section 3.1.3 on page 49 for more informa-
tion.
2.3.3 Build the SRA binary files
The make file contains all the commands to compile, link, and move the SRA binary
(executable) file to the binary directory (/usr/local/freeway/client/bsd/bin). The make
file also builds the DLI and TSI binary configuration files and moves them to the binary
directory. To build the SRA, follow these steps:
Step 1: Build the SRA binary and DLI/TSI configuration binaries by invoking the
make utility. By typing “
make” without argument, the make utility will default to a make
file name of
Makefile which in this case is the soft link tomakefile.bsd. The equivalent
command without the soft link would be “
make -f makefile.bsd”:
pwd
/usr/local/freeway/client/test/mysra
make
cc mysra.c -c -Wall -DFREEWAY -DDLI -DSUNOS -D__DLI_RAW__ -
D__DLI_AWS__ -I../../
../include
cc -o mysra -L../../bsd/lib mysra.o -lbsdfw
mv mysra ../../bsd/bin
../../bsd/bin/dlicfg mysradcfg
Data Link Interface (DLI). 2004(C) Protogate, Inc.
DLI Configuration Processor (dlicfg)
Input file: mysradcfg
Result file: mysradcfg.bin
mysradcfg completed successfully.
mv mysradcfg.bin ../../bsd/bin
../../bsd/bin/tsicfg mysratcfg
Transport Subsystem Interface(TSI). 2004(C) Protogate, Inc.
TSI Configuration Processor (tsicfg)