Problem:
Using "cob -x" to rebuild an application that includes some C source code, a customer was getting error "cannot access cc".
Resolution:
The "cob -x" command, when given C source code (.c) as an argument, invokes the C compiler that comes with the UNIX operating system. In the case of Solaris, this is the Forte product from Sun. If the C compiler is not installed, or if the PATH environment variable is set such that the "cc" command cannot be found, then this error appears.
The solution is to purchase and install the C compiler, or to update the PATH environment variable so the "cc" command can be found.