IBM Support

NMAKE/make fatal errors occur when building a component in Rose RealTime

Troubleshooting


Problem

NMAKE/make fatal errors occur when building a component in Rose RealTime

Resolving The Problem

SYMPTOM:

When building a component in Rose RealTime, you receive one of the following errors:

Error 1:

NMAKE : fatal error U1045: spawn failed : Invalid argument
Stop.
Error: Makefile generation failed
Build failed.

Error 2:

fatal error in make: Access is denied.
make: *** [RTmakefiles] Error 0x5
Error: Makefile generation failed
Build failed.


CAUSE:

The ComSpec environment variable is set incorrectly.

The ComSpec environment variable points to the command prompt executable. This variable is used by both the nmake and make utilities.


RESOLUTION:

Set the ComSpec environment variable to: %SystemRoot%\system32\cmd.exe.

NOTE: There should be only one entry for ComSpec. To verify that the variable is set correctly, use the command: echo %ComSpec%.

e.g.
C:\>echo %ComSpec%
C:\WINNT\system32\cmd.exe





[{"Product":{"code":"SSSHKL","label":"Rational Rose RealTime"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2002.05.00.305.000","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

20818

Document Information

Modified date:
16 June 2018

UID

swg21127046