Subject: compiling kdump in -current fails...
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 12/11/2005 20:52:50
dependall ===> usr.bin/kdump
    compile  kdump/kdump.o
/u/NetBSD/src/usr.bin/kdump/kdump.c: In function `ktrsaupcall':
/u/NetBSD/src/usr.bin/kdump/kdump.c:984: error: `SA_UPCALL_STRINGS' undeclared (first use in this function)
/u/NetBSD/src/usr.bin/kdump/kdump.c:984: error: (Each undeclared identifier is reported only once
/u/NetBSD/src/usr.bin/kdump/kdump.c:984: error: for each function it appears in.)
/u/NetBSD/src/usr.bin/kdump/kdump.c:984: error: initializer element is not constant
/u/NetBSD/src/usr.bin/kdump/kdump.c:984: error: (near initialization for `sastrings[0]')

*** Failed target:  kdump.o
*** Failed command: /u/NetBSD/arch/i386/TOOLS/bin/i386--netbsdelf-gcc -O2 -pipe -march=pentium4 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Werror -I/u/NetBSD/src/usr.bin/ktrace -I/u/NetBSD/src/sys -nostdinc -isystem /u/NetBSD/arch/i386/dest/usr/include -c /u/NetBSD/src/usr.bin/kdump/kdump.c
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/usr.bin/kdump


There's no SA_UPCALL_STRINGS defined anywhere in the -current tree on my machine...

Kurt