From owner-freebsd-stable Thu Aug 2 20:16:55 2001 Delivered-To: freebsd-stable@freebsd.org Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by hub.freebsd.org (Postfix) with ESMTP id 0717D37B401 for ; Thu, 2 Aug 2001 20:16:47 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from nantai.utsunomiya-u.ac.jp by nasu.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/26Jan01-1134AM) id f733Gbc21291; Fri, 3 Aug 2001 12:16:37 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp by nantai.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/30Jan01-0241PM) id f733Gbl82799; Fri, 3 Aug 2001 12:16:37 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:pSkP4flFEHE5nDCwaj8L77gg3vh1PCgS@zodiac.mech.utsunomiya-u.ac.jp [160.12.43.7]) by zodiac.mech.utsunomiya-u.ac.jp (8.9.3+3.2W/3.7W/zodiac-May2000) with ESMTP id MAA12642; Fri, 3 Aug 2001 12:26:14 +0900 (JST) Message-Id: <200108030326.MAA12642@zodiac.mech.utsunomiya-u.ac.jp> To: Bill/Carolyn Pechter Cc: freebsd-stable@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: PCVT breakage In-reply-to: Your message of "Thu, 02 Aug 2001 16:56:16 -0400." <20010802165616.A3009@shell.monmouth.com> References: <20010802165616.A3009@shell.monmouth.com> Date: Fri, 03 Aug 2001 12:26:13 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Oops, My fault ;-< Try the patch below (quick fix). Kazu >Has anyone seen this -- It appears to be a problem with PCVT in my >kernel build. > >I wrapped the error a bit for readability. > >My last good build was 7/21/01. >Just trying to test it all during the code slush. > ># make >cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extension >s > -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter > -D_KERNEL -include opt_global.h -elf > -mpreferred-stack-boundary=2 ../../i386/isa/pcvt/pcvt_drv.c >In file included from ../../i386/isa/pcvt/pcvt_hdr.h:95, > from ../../i386/isa/pcvt/pcvt_drv.c:62: >../../dev/kbd/kbdreg.h:92: `NUM_KEYS' undeclared here (not in a >function) >../../dev/kbd/kbdreg.h:92: size of array `kb_lastact' has non-integer >type >*** Error code 1 > >I'll look into it further when I get home from work. > >-Bill Index: kbdreg.h =================================================================== RCS file: /src/CVS/src/sys/dev/kbd/kbdreg.h,v retrieving revision 1.15 diff -u -r1.15 kbdreg.h --- kbdreg.h 2001/07/20 14:49:54 1.15 +++ kbdreg.h 2001/08/03 03:14:49 @@ -29,6 +29,10 @@ #ifndef _DEV_KBD_KBDREG_H_ #define _DEV_KBD_KBDREG_H_ +#ifndef NUM_KEYS +#define NUM_KEYS 256 +#endif + /* forward declarations */ typedef struct keyboard keyboard_t; struct keymap; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message