Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2001 12:26:13 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Bill/Carolyn Pechter <pechter@shell.monmouth.com>
Cc:        freebsd-stable@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: PCVT breakage 
Message-ID:  <200108030326.MAA12642@zodiac.mech.utsunomiya-u.ac.jp>
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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108030326.MAA12642>