IBM Support

When building my SDL system it stops with 'ERROR 274 Compile and link exited with error code' and not further messages. The result of the same build command from the command line is 'NMAKE: fatal error U1045 spawn failed: Invalid argument'.

Question & Answer


Question

When building my SDL system it stops with 'ERROR 274 Compile and link exited with error code' and not further messages. The result of the same build command from the command line is 'NMAKE: fatal error U1045 spawn failed: Invalid argument'.

Answer

The most likely cause of this is that there are problems with installation of the MSVC compiler, or to be more precise, an invalid value for the environment variable 'comspec'. Please refer to Microsoft's web site for more information on this: Article ID 276593

[{"Product":{"code":"SSYQGX","label":"Rational Tau"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

KB7775;FAQID47

Document Information

Modified date:
16 June 2018

UID

swg21325684