Subject: lib/2853: compile error in domestic/lib/libcom_err/error_message.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <roskens@cs.umn.edu>
List: netbsd-bugs
Date: 10/16/1996 16:35:08
>Number:         2853
>Category:       lib
>Synopsis:       compile error in domestic/lib/libcom_err/error_message.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 16 14:50:01 1996
>Last-Modified:
>Originator:     Ron Roskens
>Organization:
>Release:        1.2
>Environment:
System: NetBSD reality.roskens.org 1.2 NetBSD 1.2 (REAL) #2: Sun Oct 13 13:47:38 CDT 1996 root@myname.my.domain:/usr/src/sys/arch/i386/compile/REAL i386

Source is -current as of Oct. 15th.


>Description:
There is a compile error in src/domestic/lib/libcom_err/error_message.c that
complains about sys_nerr not being defined. This error was around before
September, then mysteriously was fixed and now is not. I checked my
old 1.2 source tree and found that this file differed by only _one_ line.
The difference being "#include <errno.h>" at the beginning of the includes.

>How-To-Repeat:
Try building src/domestic with source as of Oct. 15th.
>Fix:
Add #include <errno.h> back into error_message.c
>Audit-Trail:
>Unformatted: