IBM Support

GNU make build fails with "multiple target patterns. Stop"

Troubleshooting


Problem

A Windows GNU make build fails with the following error - "RTbuild/RTcodegen.mk:25: *** multiple target patterns. Stop."

Cause

GNU make does not handle the spaces in the directory names given in the
generated makefiles. Gnumake instead reads a directory as two (or more
depending one the amount of spaces) targets separated by spaces.

Resolving The Problem

Change the path map to use DOS style directory names
1) File->Edit Path Map...
2) Change the references with spaces to DOS style references

E.g.
From
C:\Program Files\Rational\Rose RealTime
To
C:\Progra~1\Rational\RoseRe~1

For more information about problems with spaces in directory names refer to:
Technote #1134182 - Rose RealTime installed in a path with spaces





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

Historical Number

112690809

Document Information

Modified date:
16 June 2018

UID

swg21119863