Subject: Re: compiling kdump in -current fails...
To: None <>
From: Christos Zoulas <>
List: current-users
Date: 12/11/2005 20:08:38
In article <>,
Kurt Schreiner  <> wrote:
>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
>*** 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
>*** Error code 1
>nbmake: stopped in /u/NetBSD/src/usr.bin/kdump
>There's no SA_UPCALL_STRINGS defined anywhere in the -current tree on my

Thanks, I just fixed this. I had my own ktrace-lwp tree that had this change,
but I used nick's branch to merge. I think this is the only thing missing.