Skip to main content

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

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational Rose RealTime


Software version:
7.0, 7.0.0.1, 2003.06.15, 2003.06.16


Operating system(s):
All Windows Platforms


Reference #:
1119863


Modified date:
2011-05-12

Translate my page

Content navigation