Subject: lib/11777: kdump no longer compiles
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <augustss@augustsson.net>
List: netbsd-bugs
Date: 12/19/2000 08:25:45
>Number: 11777
>Category: lib
>Synopsis: kdump no longer compiles
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 19 08:25:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Lennart Augustsson
>Release: NetBSD-current 2000-12-18
>Organization:
>Environment:
System: NetBSD sb-hobbes 1.5N NetBSD 1.5N (HOBBES) #40: Fri Dec 15 01:27:08 EST 2000 augustss@sb-hobbes:/usr/src/sys/arch/i386/compile/HOBBES i386
Architecture: i386
Machine: i386
>Description:
Some recent change having to do with the include files
made usr/bin/kdump/kdump.c stop compiling.
>How-To-Repeat:
cd src/usr.bin/kdump; make
dependall ===> kdump
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../../sys -c /usr/src/usr.bin/kdump/kdump.c
cc1: warnings being treated as errors
In file included from /usr/src/usr.bin/kdump/kdump.c:69:
/usr/src/usr.bin/kdump/setemul.h:80: warning: function declaration isn't a prototype
/usr/src/usr.bin/kdump/setemul.h:80: field `__errno' declared as a function
>Fix:
Rename struct field errno?
(And please, when making changes to major include files and libs:
RECOMPILE THE WORLD TO MAKE SURE IT STILL WORKS)
>Release-Note:
>Audit-Trail:
>Unformatted: