Specifications
NMAKE Messages Page 11 of 12
Return to Main NMAKE Messages Page
NMAKE Error U2001 through Warning U4011
The following topics cover NMAKE Error U2001 through Warning U4011:
NMAKE Error U2001
no more file handles (too many files open)
NMAKE could not find a free file handle. One of the following may be a solution:
Reduce recursion in the build procedures.
In Windows 95 or Windows 98, increase the number of file handles by changing the FILES
setting in CONFIG.SYS to allow a larger number of open files. FILES=50 is the recommended
setting.
NMAKE Warning U4001
command file can be invoked only from command line
A command file, which is invoked by the at-sign (@) specifier, cannot contain a specification for
another command file. Such nesting is not allowed. The specification was ignored.
NMAKE Warning U4002
resetting value of special macro ’macroname’
The given predefined macro was redefined.
NMAKE Warning U4004
too many rules for target ’targetname’
More than one description block was specified for the given target using single colons (:) as
separators. NMAKE executed the commands in the first description block and ignored later blocks.
To specify the same target in multiple dependencies, use double colons (::) as the separator in each
dependency line.
NMAKE Warning U4005
ignoring rule ’rule’ (extension not in .SUFFIXES)
The given rule contained a suffix that is not specified in the .SUFFIXES list. NMAKE ignored the
rule. This warning appears only when the /P option is used.
NMAKE Warning U4006
special macro undefined : ’macroname’
The given special macro name is undefined and expands to nothing.
NMAKE Warning U4007
filename ’filename’ too long; truncating to 8.3
The base name of the given file has more than eight characters, or the extension has more than three
characters. NMAKE truncated the name to an eight-character base and a three-character extension. If
long filenames are supported by your file system, enclose the name in double quotation marks (").
NMAKE Warning U4008
removed target ’target’
NMAKE was interrupted while trying to build the given target, and the target file was incomplete.










