Subject: wscons does not compile without wsmux anymore
To: None <tech-kern@netbsd.org>
From: Jukka Andberg <jandberg@netbsd.org>
List: tech-kern
Date: 10/21/2001 17:27:09
My kernel config has wskbd, wsdisplay and wsmouse but no wsmux. After some
recent wscons changes the kernel won't compile anymore:

../../../../dev/wscons/wsmux.c:546: Undefined symbol `_wsmouse_add_mux' referenced from text segment
../../../../dev/wscons/wsmux.c:563: Undefined symbol `_wsmouse_rem_mux' referenced from text segment

I note that wsmouse_add_mux is defined in wsmouse.c inside
#ifdef NWSMUX > 0

and it is called from wsmux.c from code that is inside
#ifdef NWSMUX > 0 || (NWSDISPLAY > 0 && NWSKBD > 0)
#ifdef NWSMOUSE > 0