While building testmon.exe, the following condition caused the link error to be reported:
smcapi32.lib needs to be included as one of the libraries in which to link. It is located by default in C:\SYBASE\MONCLT\LIB.