Subject: kern/26503: WSEMUL_* broken
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dlagno@smtp.ru>
List: netbsd-bugs
Date: 08/01/2004 13:11:43
>Number: 26503
>Category: kern
>Synopsis: kernel with options WSEMUL_* does not compiles
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 01 09:26:04 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Denis Lagno
>Release: NetBSD 2.0G
>Organization:
World
>Environment:
System: NetBSD flamante.local.domain 2.0G NetBSD 2.0G (FLAMANTE) #0: Mon Jul 26 07:27:26 MSD 2004 dina@flamante.local.domain:/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/FLAMANTE i386
Architecture: i386
Machine: i386
wscons related kernel options:
options WSEMUL_VT100 # VT100 / VT220 emulation
options WSEMUL_DEFAULT="\"vt100\""
options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
options WS_DEFAULT_FG=WSCOL_WHITE
options WS_DEFAULT_BG=WSCOL_BLACK
options WS_DEFAULT_COLATTR=""
options WS_DEFAULT_MONOATTR=""
options WS_KERNEL_FG=WSCOL_GREEN
options WS_KERNEL_BG=WSCOL_BLACK
options WS_KERNEL_COLATTR=""
options WS_KERNEL_MONOATTR=""
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options WSCONS_SUPPORT_PCVTFONTS
options WSCOMPAT_USL_SYNCTIMEOUT=10
options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
options WSDISPLAY_DEFAULTSCREENS=1
options PCDISPLAY_SOFTCURSOR
options WSDISPLAY_CHARFUNCS # mouse console support
options WSDISPLAY_SCROLLSUPPORT
>Description:
I happened to have options WSEMUL_VT100 in config file
Kernel does not compiles with that option:
# compile FLAMANTE/wsemul_vt100.o
cc -ffreestanding -O3 -march=pentium2 -funroll-loops -Wall -fno-zero-initialized-in-bss -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DMSGBUFSIZE=65536 -DCRYPTO_MD_DES_ENC -DCRYPTO_MD_DES_CBC -DCRYPTO_MD_BF_ENC -DCRYPTO_MD_BF_CBC -DDFLDSIZ=(1024*1024*1024) -DPIPE_SIZE=32768 -DBIG_PIPE_SIZE=524288 -DLKM -DUCONSOLE -DRND_POOLWORDS=1024 -DMAXUSERS=300 -D_KERNEL -D_KERNEL_OPT -c ../../../../dev/wscons/wsemul_vt100.c
../../../../dev/wscons/wsemul_vt100.c: In function `wsemul_vt100_init':
../../../../dev/wscons/wsemul_vt100.c:153: error: parse error before '|' token
../../../../dev/wscons/wsemul_vt100.c:158: error: parse error before '|' token
../../../../dev/wscons/wsemul_vt100.c:163: error: parse error before ';' token
../../../../dev/wscons/wsemul_vt100.c:166: error: parse error before ';' token
*** Error code 1
Stop.
make: stopped in /var/worksrc/netbsd-current/src/sys/arch/i386/compile/FLAMANTE
>How-To-Repeat:
try to compile kernel with options WSEMUL_VT100 or WSEMUL_SUN
>Fix:
dunno
>Release-Note:
>Audit-Trail:
>Unformatted: