Subject: Re: problem compiling wscons kernel on pmax
To: None <port-pmax@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-pmax
Date: 02/19/2005 11:40:03
In article <1gs7k3y.o9sa2ruo49c5M@geos.net.eu.org>
georg.schwarz@freenet.de wrote:

> I'm trying to compile a NetBSD 2.0 kernel for a PMAX 3MIN. I think I
> need wscond support to use the X server, don't I?

Old Xpmax server uses rcons, but which should be obsolete.
New XdecNetBSD server requires wscons.

> ld -T ../../../../arch/mips/conf/kern.ldscript -Ttext 0x80030000 -e
> start -G 0 -x -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
> zskbd.o(.rodata+0x20): undefined reference to `lkkbd_keydesctab'
> *** Error code 1
> 
> I have the following lines in my kernel config:
> 
> lkkbd* at      zsc1 channel ?          # keyboard port on A channels
> wskbd*         at      lkkbd? console ?

Hmm, maybe you don't have dtkbd, then how about the attached diff?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp


--- files.pmax_wscons.orig	2005-02-19 11:34:57.000000000 +0900
+++ files.pmax_wscons	2005-02-19 11:34:39.000000000 +0900
@@ -8,7 +8,7 @@
 attach dz at ibus with dz_ibus
 file   arch/pmax/ibus/dz_ibus.c        dz_ibus
 
-device lkkbd: wskbddev
+device lkkbd: wskbddev, lkkbdmap
 attach lkkbd at dz with dzkbd
 file   dev/dec/dzkbd.c                 dzkbd needs-flag