IBM Support What's New?

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

Technote (troubleshooting)


Problem(Abstract)

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

Related information

IBM Ration Rose RealTime
Technote #1134182

Historical Number

112690809

Document information

More support for: Rational Rose RealTime

Software version: 7.0, 7.0.0.1, 2003.06.15, 2003.06.16

Operating system(s): Windows

Reference #: 1119863

Modified date: 2009-10-01