Compiling the application

Each source file that uses the Monitor Client Library must include the following line:

	#include "mcpublic.h"

The header files for Monitor Client Library are installed, by default, in the monclt/include directory of the directory indicated by the SYBASE environment variable.

Open Client header files, which are needed for compilation, are also installed in this directory. Include this directory in the compilation command line. For example, you could enter:

cc -I$SYBASE/monclt/include myprog.c

If the header files have been installed in directories other than the default, substitute those directories in the compilation command line.