Subject: kern/27006: wscons colour options not very optional
To: None <gnats-bugs@gnats.NetBSD.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 09/21/2004 00:05:16
>Number:         27006
>Category:       kern
>Synopsis:       wscons colour options not very optional
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 20 14:06:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD -current, sources from September 21 2004.
>Organization:
Wasabi Systems
>Environment:
Architecture: i386
Machine: i386
>Description:
	Trying to build a i386 kernel with all wscons-type options
	except WSEMUL_VT100 and WSDISPLAY_COMPAT_RAWKBD commented out
	results in the following errors:

../../../../dev/ic/vga.c: In function `vga_init':
../../../../dev/ic/vga.c:594: error: `WSDISPLAY_BORDER_COLOR' undeclared (first use in this function)
../../../../dev/ic/vga.c:594: error: (Each undeclared identifier is reported only once
../../../../dev/ic/vga.c:594: error: for each function it appears in.)
 
../../../../dev/wscons/wsemul_vt100.c: In function `wsemul_vt100_init':
../../../../dev/wscons/wsemul_vt100.c:153: error: `WS_DEFAULT_COLATTR' undeclared (first use in this function)
../../../../dev/wscons/wsemul_vt100.c:153: error: (Each undeclared identifier is reported only once
../../../../dev/wscons/wsemul_vt100.c:153: error: for each function it appears in.)
../../../../dev/wscons/wsemul_vt100.c:155: error: `WS_DEFAULT_BG' undeclared (first use in this function)
../../../../dev/wscons/wsemul_vt100.c:156: error: `WS_DEFAULT_FG' undeclared (first use in this function)
../../../../dev/wscons/wsemul_vt100.c:158: error: `WS_KERNEL_COLATTR' undeclared (first use in this function)
../../../../dev/wscons/wsemul_vt100.c:160: error: `WS_KERNEL_BG' undeclared (first use in this function)
../../../../dev/wscons/wsemul_vt100.c:161: error: `WS_KERNEL_FG' undeclared (first use in this function)
../../../../dev/wscons/wsemul_vt100.c:163: error: `WS_DEFAULT_MONOATTR' undeclared (first use in this function)
../../../../dev/wscons/wsemul_vt100.c:166: error: `WS_KERNEL_MONOATTR' undeclared (first use in this function)


>How-To-Repeat:
	Comment out all wscons-type options except WSEMUL_VT100 and
	WSDISPLAY_COMPAT_RAWKBD

>Fix:
	None given.
>Release-Note:
>Audit-Trail:
>Unformatted: