Subject: kern/17456: undefined reference to `wsevent_*' in wsdisplay.o
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 07/02/2002 21:54:51
>Number: 17456
>Category: kern
>Synopsis: undefined reference to `wsevent_*' in wsdisplay.o
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 02 05:55:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: FUKAUMI Naoki
>Release: NetBSD 1.6B
>Organization:
FUKAUMI Naoki
>Environment:
NetBSD/hpcsh 1.6B (around 20020629)
>Description:
-current hpcsh kernel (HPW650PA) compile was failed.
/home/t/hpcsh/bin/shle--netbsdelf-ld -T /usr/src/sys/arch/hpcsh/conf/shl-elf.x -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
wsdisplay.o: In function `wsdisplayopen':
wsdisplay.o(.text+0xa28): undefined reference to `wsevent_init'
wsdisplay.o: In function `wsdisplayclose':
wsdisplay.o(.text+0xb44): undefined reference to `wsevent_fini'
wsdisplay.o: In function `wsdisplayread':
wsdisplay.o(.text+0xbe8): undefined reference to `wsevent_read'
wsdisplay.o: In function `wsdisplaypoll':
wsdisplay.o(.text+0xcfc): undefined reference to `wsevent_poll'
*** Error code 1
Stop.
nbmake: stopped in /usr/obj/hpcsh/sys/arch/hpcsh/compile/HPW650PA
*** Error code 1
>How-To-Repeat:
in -current, include wsdisplay and exclude other ws* devices.
(e.g. hpcsh::HPW650PA)
>Fix:
This patch fixed (at least) HPW650PA kernel compiling.
--- src/sys/dev/wscons/files.wscons.orig Thu Jun 27 14:50:48 2002
+++ src/sys/dev/wscons/files.wscons Tue Jul 2 21:33:54 2002
@@ -43,7 +43,7 @@
file dev/wscons/wsemul_vt100_subr.c wsdisplay & wsemul_vt100
file dev/wscons/wsemul_vt100_chars.c wsdisplay & wsemul_vt100
file dev/wscons/wsemul_vt100_keys.c wsdisplay & wsemul_vt100
-file dev/wscons/wsevent.c wskbd | wsmouse | wsmux
+file dev/wscons/wsevent.c wsdisplay | wskbd | wsmouse | wsmux
file dev/wscons/wskbd.c wskbd needs-flag
file dev/wscons/wskbdutil.c wskbd needs-flag
file dev/wscons/wsmouse.c wsmouse needs-flag
>Release-Note:
>Audit-Trail:
>Unformatted: