Console Manager Callable Interface › Callable Routines › CMActionName › Environment
When linking your routine's object modules, you must also link against the Xt and X11 libraries, regardless of whether the routine is actually using X11.