Errata

Building Embedded Linux Systems

Errata for Building Embedded Linux Systems

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
PDF Page 68
4th paragraph; 5th line under SCSI/iSCSI heading

Full sentence:: Although mainly thought of as a high-throughput interface for hard drives for high-end workstations and servers, SCSI is a both a general software interface and a set of electrical specifications that can be used to connect various hardware peripherals.

...SCSI is a both a general...
should be
...SCSI is both a general...
# (remove an unnecessary 'a')

silvertip257  Dec 23, 2008 
Printed Page 119
4th paragraph

FYI: (At least) kernel 2.6.9 will not create the header file linux/version.h just by
exiting the configuration program (make menuconfig). You have to start the build
process to get a version.h file.

Anonymous   
Printed Page 204
Installing the MTD utilities for the host

Probably need to run 'aclocal' before automake, to squelch warnings about old
automake file.

Also, the configure produces the following warning: ${PRJROOT}/build-
tools/mtd/util/missing: Unknown `--run' option Try `${PRJROOT}/build-
tools/mtd/util/missing --help' for more information configure: WARNING: `missing'
script is too old or missing

Unknown if this is a problem or not.

Anonymous   
Printed Page 206
Installing the MTD utilities for the target

In the section on configuring and building the MTD tools for the target,

cd ${PRJROOT}/sysapps/mtd/util

should be:

cd ${PRJROOT}/build-tools/mtd/util

Also, 'aclocal' needs to be run before the 'automake' to squelch a complaint about an
out-of-date automake.

Also, the configure produces the following: ${PRJROOT}/build-tools/mtd/util/missing:
Unknown `--run' option Try `${PRJROOT}/build-tools/mtd/util/missing --help' for more
information configure: WARNING: `missing' script is too old or missing

I don't know if this is a problem or not.

Anonymous   
Printed Page 206
Installing the MTD utilities for the target

The MTD utilities configure for target requires (at least for my i386 to ARM cross-
compile environment) the addition of a '--host' parameter, e.g.: $ CC=arm-linux-gcc
./configure --host=${TARGET} > --with-kernel=${PRJROOT}/kernel/linux-2.4.18

Anonymous   
Printed Page 236
3rd code snippet

$ gzip -9 < images/initrd.img > images/initrd.bin
should be:
$ gzip -9 -c < images/initrd.img > images/initrd.bin

Anonymous   
Printed Page 269
paragraph 4, line 1

"subset" should be "prefix".

Anonymous   
Printed Page 270
2nd code, middle of page

Single quotes are missing when setting nfscmd. If the command
is used as written to set nfscmd, the application image will
immediately boot before the environment variables can be saved.
If single quotes are placed around what you want nfscmd to be, e.g.,

=> setenv nfscmd 'setenv bootargs .......(kernel_addr)'

the image does not boot and you can save the environment variables.

Anonymous   
Printed Page 286
top; 2nd line in textbox

The book's alleged website doesn't exist @ http://www.embeddedlinuxbook.org/ .... what is the correct location please?

Anonymous  Oct 27, 2010 
Printed Page 303
thttpd

is:
$ make
> LIBS="-static -Wl --start-group -lc -lnss_files -lnss_dns
> -lcrypt -lresolv -Wl --end-group"

should be:

$ make
> LDFLAGS="-static -Wl --start-group -lc -lnss_files -lnss_dns
> -lcrypt -lresolv -Wl --end-group"

i.e. LDFLAGS rather than LIBS

Anonymous   
Printed Page 393
3rd para of colophon

In the colophon, the image is described as being of a windmill. Surely this should
say windpump. It looks very much like a system to pump water for use by the steam
railway. I very much doubt that any milling is being done.

Anonymous