From owner-freebsd-current Wed Dec 27 08:09:01 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA00558 for current-outgoing; Wed, 27 Dec 1995 08:09:01 -0800 (PST) Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA00550 for ; Wed, 27 Dec 1995 08:08:55 -0800 (PST) Received: by Sysiphos id AA16605 (5.67b/IDA-1.5 for freebsd-current@freebsd.org); Wed, 27 Dec 1995 17:06:12 +0100 Message-Id: <199512271606.AA16605@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Wed, 27 Dec 1995 17:06:12 +0100 In-Reply-To: Jean-Marc Zucconi "ncrcontrol" (Dec 27, 2:13) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: Jean-Marc Zucconi Subject: Re: ncrcontrol Sender: owner-current@FreeBSD.ORG Precedence: bulk On Dec 27, 2:13, Jean-Marc Zucconi wrote: } Subject: ncrcontrol } With a kernel from yesterday and after a make world, I get } $ ncrcontrol } ncrcontrol: no symbol "_nncr" in "/kernel.new". This is a result of the recent statifications ... Apply the following patch to get the variable defined and exported again ... I'll change this back in -current, too, until there is a better interface (possibly using sysctl). Regards, STefan Index: ncr.c =================================================================== RCS file: /usr/cvs/src/sys/pci/ncr.c,v retrieving revision 1.52 diff -C2 -r1.52 ncr.c *** ncr.c 1995/12/16 00:27:44 1.52 --- ncr.c 1995/12/22 13:47:39 *************** *** 1261,1269 **** #ifndef __NetBSD__ ! static ncb_p ncrp [MAX_UNITS]; #endif /* !__NetBSD__ */ static int ncr_debug = SCSI_DEBUG_FLAGS; - SYSCTL_INT(_debug, OID_AUTO, ncr_debug, CTLFLAG_RW, &ncr_debug, 0, ""); static int ncr_cache; /* to be aligned _NOT_ static */ --- 1261,1269 ---- #ifndef __NetBSD__ ! u_long nncr=MAX_UNITS; ! ncb_p ncrp [MAX_UNITS]; #endif /* !__NetBSD__ */ static int ncr_debug = SCSI_DEBUG_FLAGS; static int ncr_cache; /* to be aligned _NOT_ static */ -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se