Subject: compiler "warnings" while building kgdb_stub.c with -DKGDB et al
To: None <port-sparc@NetBSD.ORG, current-users@NetBSD.ORG>
From: Greg A. Woods <woods@most.weird.com>
List: current-users
Date: 03/26/1998 00:58:55
On NetBSD/sparc 1.3, with -current sources:

cc -g -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -mno-fpu -I. -I../../../../arch -I../../../.. -nostdinc -DSUN4C -DOLDVM -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DDDB -DDDB_HISTORY_SIZE="0x64" -DKGDB -DKGDBDEV="0xc01" -DKGDBRATE="0x9600" -DDIAGNOSTIC -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_13 -DCOMPAT_SUNOS -DCOMPAT_SVR4 -DNFSSERVER -DQUOTA -DFIFO -DINET -DGATEWAY -DNTP -DPPS_SYNC -DPFIL_HOOKS -DIPFILTER_LOG -DPPP_BSDCOMP -DPPP_DEFLATE -DMAXUSERS=64 -D_KERNEL  -c ../../../../kern/kgdb_stub.c
cc1: warnings being treated as errors
../../../../kern/kgdb_stub.c: In function `kgdb_trap':
../../../../kern/kgdb_stub.c:487: warning: implicit declaration of function `db_clear_single_step'
../../../../kern/kgdb_stub.c:513: warning: implicit declaration of function `db_set_single_step'
*** Error code 1

Stop.

23:44 [308] $ ident kgdb_stub.c 
kgdb_stub.c:
     $NetBSD: kgdb_stub.c,v 1.4 1997/09/10 19:39:05 pk Exp $


-- 
							Greg A. Woods

+1 416 443-1734      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>