Before running the makefile, set your library search path to include the directory:
Compile the code using the Makefile.sample.
Run apub and asub as follows in separate windows:
apub localhost 7997
asub localhost 7997
Whatever is typed into the apub window should appear on the asub window. If you use the default settings, all iBiff notifications should appear in the asub window.
Remove the msg-svr-base/lib path from your library search path.
If you do not remove this from the library search path, you will not be able to stop and start the directory server.