Errata
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By | Corrected |
|---|---|---|---|---|
| Printed | Page 5 The page contains three code examples that are not labeled |
* The first code sample should be labeled "count_words.c" |
Anonymous | |
| Printed | Page 5 Twice: on the second line in example 'makefile' and on the last line of the page |
first two lines of the make file should read: |
Anonymous | Jun 2009 |
| Printed | Page 12 Last paragraph |
Before the last paragraph starting "Finally," add this paragraph: |
Anonymous | Jun 2009 |
| Printed | Page 16 "Variables" section. |
In general, a variable name must be surrounded by $() to be recognized by make. |
Anonymous | Jun 2009 |
| Printed | Page 16 fifth line from bottom |
"There are six core automatic variables:" |
Anonymous | Jun 2009 |
| Printed | Page 18 2nd code snippet |
#ifdef COUNTER_H_ |
Anonymous | Jun 2009 |
| Printed | Page 19 middle of page |
"... Unless you direct it otherwise, make will look in the current directory for its targets and prerequisites." |
Anonymous | Jun 2009 |
| Printed | Page 20 3 |
Immediately after "CPPFLAGS = -I include" add |
Anonymous | Jun 2009 |
| Printed | Page 20 1/2 way down page, "vpath statements" |
vpath %.c src |
Anonymous | Jun 2009 |
| Printed | Page 21 line 6 and 7 from bottom |
The third implicit rule used: |
Anonymous | Jun 2009 |
| Printed | Page 21 Second from bottom: "When we ..." |
"two line makefile" |
Anonymous | Jun 2009 |
| Printed | Page 23 Static Pattern Rules |
$(OBJECTS): %.o: %c |
Anonymous | Jun 2009 |
| Printed | Page 25 line 6 |
"An implicit rule is either a pattern rule or a suffix rule (which we will discuss briefly later)." |
Anonymous | Jun 2009 |
| Printed | Page 25 Section "The Implicit Rules Database" |
Add the following to the end of the section in the middle of page 27: |
Anonymous | Jun 2009 |
| Printed | Page 29 Section "A Simple Help Command" |
text should be changed to: |
Anonymous | Jun 2009 |
| Printed | Page 29 "help:" rule |
add a "@" to the $(MAKE) command |
Anonymous | Jun 2009 |
| Printed | Page 36 second code excerpt |
"ARFLGS" |
Anonymous | Jun 2009 |
| Printed | Page 46 |
The last sentence before the code in middle of page explains why and how this books uses |
Anonymous | Jun 2009 |
| Printed | Page 50 Section "Target- and Pattern-Specific Variables" |
Add to the bottom of page 50: |
Anonymous | Jun 2009 |
| Printed | Page 51 1/2 way down |
"Each variable assignment on the command line must be a single-shell argument." |
Anonymous | Jun 2009 |
| Printed | Page 52 near bottom |
"The export and unexport directives work the same way their counterparts in sh work." |
Anonymous | Jun 2009 |
| Printed | Page 53 last line before last code |
"using the $? form" |
Anonymous | Jun 2009 |
| Printed | Page 55 2/3 of the way down, "ifeq" example |
ifeq "$(strip $(OPTIONS)) "-d" |
Anonymous | Jun 2009 |
| Printed | Page 57 Insert this paragraph just before "Standard Make Variables" |
<para> It is worth noting that using an include directive |
Anonymous | Jun 2009 |
| Printed | Page 70 last line |
One closing parantheses too much. |
Anonymous | Jun 2009 |
| Printed | Page 72 first function |
"$wildcard pattern...)" -> "$(wildcard pattern...)" |
Anonymous | Jun 2009 |
| Printed | Page 72 last line (of code) |
One closing parantheses too much. |
Anonymous | Jun 2009 |
| Printed | Page 73 the example |
$(filter 1 $(words |
Anonymous | Jun 2009 |
| Printed | Page 98 mid of page |
The tags for the format "Replaceable" shouldn't be printed. |
Anonymous | Jun 2009 |
| Printed | Page 113 1st code example on the page |
$(MAKE) --directory=$$f clean; |
Anonymous | Jun 2009 |
| Printed | Page 127 para 5 |
"...is up your site." |
Anonymous | Jun 2009 |
| Printed | Page 127 Figure 6.2 |
Please update the figure so the second folder containing "1.0" reads "1.1". |
Anonymous | Jun 2009 |
| Printed | Page 161 3rd paragraph |
Suffice to say that the prerequisite all.javas contains a list of all java files to be compiled. |
Anonymous | Jun 2009 |
| Printed | Page 165 middle of page |
The macro labeled "define file-exists-eval" should be terminated with "endef" like |
Anonymous | Jun 2009 |
| Printed | Page 178 3rd paragraph |
"The compile-bean function comaccepts..." that last word should be just "accepts" |
Anonymous | Jun 2009 |
| Printed | Page 179 example middle of page |
The second definition of bean_files omits the two xml files included in the first |
Anonymous | Jun 2009 |
| Printed | Page 181 last example |
All the files listed as ".jar" should be ".class" |
Anonymous | Jun 2009 |
| Printed | Page 237 Makefile snippet after 1st paragraph, 4th line |
shopt -s nullglob && |
Anonymous | Jun 2009 |
| Printed | Page 240 code in mid of page |
"$ make debug PATH SHELL" |
Anonymous | Jun 2009 |
| Printed | Page 253 about 16 lines up from bottom |
The <literal> and </literal> tags shouldn't be printed. |
Anonymous | Jun 2009 |
