Getting make file errors

Doug Gwyn gwyn at smoke.BRL.MIL
Fri Sep 14 04:43:40 AEST 1990


In article <282 at camdev.UUCP> sscott at mot.com (Steve Scott,6317) writes:
>***Error code 28

Those are normally the exit status codes from the subprocesses
("shell commands" in the rules for dependencies).  The convention
is that a command returns a non-zero exit status when it is unable
to do its assigned task correctly.  "Make" honors this by reporting
the (one-byte) reported exit status of the failing subcommand; you
can tell "make" to ignore the error after reporting it by prefixing
the command in the Makefile with a "-", but most often there is a
genuine problem (such as telling the command to operate on a
nonexistent file), and in that case you should fix whatever it is
that caused the command to fail.



More information about the Comp.unix.questions mailing list