Subject: Re: compiling kdump in -current fails...
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 12/11/2005 20:08:38
In article <20051211195250.GA1850@sb1001.ub.uni-mainz.de>,
Kurt Schreiner  <ks@ub.uni-mainz.de> 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
>`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...

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.

christos