/usr/share/doc/make-doc/make_16.html is in make-doc 3.81-5.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- This file documents the GNU make utility, which determines
automatically which pieces of a large program need to be recompiled,
and issues the commands to recompile them.
This is Edition 0.70, last updated 1 April 2006,
of The GNU Make Manual, for GNU make version 3.81.
Copyright C 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with the Front-Cover Texts being "A GNU Manual,"
and with the Back-Cover Texts as in (a) below. A copy of the
license is included in the section entitled "GNU Free Documentation
License."
(a) The FSF's Back-Cover Text is: "You have freedom to copy and modify
this GNU Manual, like GNU software. Copies published by the Free
Software Foundation raise funds for GNU development."
-->
<!-- Created on August, 17 2009 by texi2html 1.78 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>GNU make: B. Errors Generated by Make</title>
<meta name="description" content="GNU make: B. Errors Generated by Make">
<meta name="keywords" content="GNU make: B. Errors Generated by Make">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.78">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="Error-Messages"></a>
<a name="SEC144"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="make_15.html#SEC143" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="make_17.html#SEC145" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="make_15.html#SEC143" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="make.html#SEC_Top" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="make_17.html#SEC145" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="make.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="make_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="make_19.html#SEC148" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="make_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h1 class="appendix"> B. Errors Generated by Make </h1>
<p>Here is a list of the more common errors you might see generated by
<code>make</code>, and some information about what they mean and how to fix
them.
</p>
<p>Sometimes <code>make</code> errors are not fatal, especially in the presence
of a <code>-</code> prefix on a command script line, or the <code>-k</code> command
line option. Errors that are fatal are prefixed with the string
<code>***</code>.
</p>
<p>Error messages are all either prefixed with the name of the program
(usually ‘<samp>make</samp>’), or, if the error is found in a makefile, the name
of the file and linenumber containing the problem.
</p>
<p>In the table below, these common prefixes are left off.
</p>
<dl compact="compact">
<dt> ‘<samp>[<var>foo</var>] Error <var>NN</var></samp>’</dt>
<dt> ‘<samp>[<var>foo</var>] <var>signal description</var></samp>’</dt>
<dd><p>These errors are not really <code>make</code> errors at all. They mean that a
program that <code>make</code> invoked as part of a command script returned a
non-0 error code (‘<samp>Error <var>NN</var></samp>’), which <code>make</code> interprets
as failure, or it exited in some other abnormal fashion (with a
signal of some type). See section <a href="make_5.html#SEC65">Errors in Commands</a>.
</p>
<p>If no <code>***</code> is attached to the message, then the subprocess failed
but the rule in the makefile was prefixed with the <code>-</code> special
character, so <code>make</code> ignored the error.
</p>
</dd>
<dt> ‘<samp>missing separator. Stop.</samp>’</dt>
<dt> ‘<samp>missing separator (did you mean TAB instead of 8 spaces?). Stop.</samp>’</dt>
<dd><p>This means that <code>make</code> could not understand much of anything about
the command line it just read. GNU <code>make</code> looks for various kinds
of separators (<code>:</code>, <code>=</code>, TAB characters, etc.) to help it
decide what kind of commandline it's seeing. This means it couldn't
find a valid one.
</p>
<p>One of the most common reasons for this message is that you (or perhaps
your oh-so-helpful editor, as is the case with many MS-Windows editors)
have attempted to indent your command scripts with spaces instead of a
TAB character. In this case, <code>make</code> will use the second form of
the error above. Remember that every line in the command script must
begin with a TAB character. Eight spaces do not count. See section <a href="make_4.html#SEC32">Rule Syntax</a>.
</p>
</dd>
<dt> ‘<samp>commands commence before first target. Stop.</samp>’</dt>
<dt> ‘<samp>missing rule before commands. Stop.</samp>’</dt>
<dd><p>This means the first thing in the makefile seems to be part of a command
script: it begins with a TAB character and doesn't appear to be a legal
<code>make</code> command (such as a variable assignment). Command scripts
must always be associated with a target.
</p>
<p>The second form is generated if the line has a semicolon as the first
non-whitespace character; <code>make</code> interprets this to mean you left
out the "target: prerequisite" section of a rule. See section <a href="make_4.html#SEC32">Rule Syntax</a>.
</p>
</dd>
<dt> ‘<samp>No rule to make target `<var>xxx</var>'.</samp>’</dt>
<dt> ‘<samp>No rule to make target `<var>xxx</var>', needed by `<var>yyy</var>'.</samp>’</dt>
<dd><p>This means that <code>make</code> decided it needed to build a target, but
then couldn't find any instructions in the makefile on how to do that,
either explicit or implicit (including in the default rules database).
</p>
<p>If you want that file to be built, you will need to add a rule to your
makefile describing how that target can be built. Other possible
sources of this problem are typos in the makefile (if that filename is
wrong) or a corrupted source tree (if that file is not supposed to be
built, but rather only a prerequisite).
</p>
</dd>
<dt> ‘<samp>No targets specified and no makefile found. Stop.</samp>’</dt>
<dt> ‘<samp>No targets. Stop.</samp>’</dt>
<dd><p>The former means that you didn't provide any targets to be built on the
command line, and <code>make</code> couldn't find any makefiles to read in.
The latter means that some makefile was found, but it didn't contain any
default goal and none was given on the command line. GNU <code>make</code>
has nothing to do in these situations.
See section <a href="make_9.html#SEC106">Arguments to Specify the Makefile</a>.
</p>
</dd>
<dt> ‘<samp>Makefile `<var>xxx</var>' was not found.</samp>’</dt>
<dt> ‘<samp>Included makefile `<var>xxx</var>' was not found.</samp>’</dt>
<dd><p>A makefile specified on the command line (first form) or included
(second form) was not found.
</p>
</dd>
<dt> ‘<samp>warning: overriding commands for target `<var>xxx</var>'</samp>’</dt>
<dt> ‘<samp>warning: ignoring old commands for target `<var>xxx</var>'</samp>’</dt>
<dd><p>GNU <code>make</code> allows commands to be specified only once per target
(except for double-colon rules). If you give commands for a target
which already has been defined to have commands, this warning is issued
and the second set of commands will overwrite the first set.
See section <a href="make_4.html#SEC50">Multiple Rules for One Target</a>.
</p>
</dd>
<dt> ‘<samp>Circular <var>xxx</var> <- <var>yyy</var> dependency dropped.</samp>’</dt>
<dd><p>This means that <code>make</code> detected a loop in the dependency graph:
after tracing the prerequisite <var>yyy</var> of target <var>xxx</var>, and its
prerequisites, etc., one of them depended on <var>xxx</var> again.
</p>
</dd>
<dt> ‘<samp>Recursive variable `<var>xxx</var>' references itself (eventually). Stop.</samp>’</dt>
<dd><p>This means you've defined a normal (recursive) <code>make</code> variable
<var>xxx</var> that, when it's expanded, will refer to itself (<var>xxx</var>).
This is not allowed; either use simply-expanded variables (<code>:=</code>) or
use the append operator (<code>+=</code>). See section <a href="make_6.html#SEC74">How to Use Variables</a>.
</p>
</dd>
<dt> ‘<samp>Unterminated variable reference. Stop.</samp>’</dt>
<dd><p>This means you forgot to provide the proper closing parenthesis
or brace in your variable or function reference.
</p>
</dd>
<dt> ‘<samp>insufficient arguments to function `<var>xxx</var>'. Stop.</samp>’</dt>
<dd><p>This means you haven't provided the requisite number of arguments for
this function. See the documentation of the function for a description
of its arguments. See section <a href="make_8.html#SEC92">Functions for Transforming Text</a>.
</p>
</dd>
<dt> ‘<samp>missing target pattern. Stop.</samp>’</dt>
<dt> ‘<samp>multiple target patterns. Stop.</samp>’</dt>
<dt> ‘<samp>target pattern contains no `%'. Stop.</samp>’</dt>
<dt> ‘<samp>mixed implicit and static pattern rules. Stop.</samp>’</dt>
<dd><p>These are generated for malformed static pattern rules. The first means
there's no pattern in the target section of the rule; the second means
there are multiple patterns in the target section; the third means
the target doesn't contain a pattern character (<code>%</code>); and the
fourth means that all three parts of the static pattern rule contain
pattern characters (<code>%</code>)–only the first two parts should.
See section <a href="make_4.html#SEC52">Syntax of Static Pattern Rules</a>.
</p>
</dd>
<dt> ‘<samp>warning: -jN forced in submake: disabling jobserver mode.</samp>’</dt>
<dd><p>This warning and the next are generated if <code>make</code> detects error
conditions related to parallel processing on systems where
sub-<code>make</code>s can communicate (see section <a href="make_5.html#SEC70">Communicating Options to a Sub-<code>make</code></a>). This warning is
generated if a recursive invocation of a <code>make</code> process is forced
to have ‘<samp>-j<var>N</var></samp>’ in its argument list (where <var>N</var> is greater
than one). This could happen, for example, if you set the <code>MAKE</code>
environment variable to ‘<samp>make -j2</samp>’. In this case, the
sub-<code>make</code> doesn't communicate with other <code>make</code> processes and
will simply pretend it has two jobs of its own.
</p>
</dd>
<dt> ‘<samp>warning: jobserver unavailable: using -j1. Add `+' to parent make rule.</samp>’</dt>
<dd><p>In order for <code>make</code> processes to communicate, the parent will pass
information to the child. Since this could result in problems if the
child process isn't actually a <code>make</code>, the parent will only do this
if it thinks the child is a <code>make</code>. The parent uses the normal
algorithms to determine this (see section <a href="make_5.html#SEC68">How the <code>MAKE</code> Variable Works</a>). If the makefile is constructed such that the parent
doesn't know the child is a <code>make</code> process, then the child will
receive only part of the information necessary. In this case, the child
will generate this warning message and proceed with its build in a
sequential manner.
</p>
</dd>
</dl>
<hr size="6">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="make_15.html#SEC143" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="make_17.html#SEC145" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="make.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="make_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="make_19.html#SEC148" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="make_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Manoj Srivastava</em> on <em>August, 17 2009</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.78</em></a>.
</font>
<br>
</p>
</body>
</html>
|