Subject: Re: SPARCbook and wscons
To: Sean Davis <erplefoo@gmail.com>
From: Michael <macallan18@earthlink.net>
List: port-sparc
Date: 03/05/2005 17:20:12
--Signature=_Sat__5_Mar_2005_17_20_12_-0500_6bqw3WzG9iPFZykt
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Hello,

> .... and I just switched desktops, and the release build died
> compiling the GENERIC kernel.. Fun. So much for that idea.
> 
> I think the compile-death may be related to the wscons stuff, though:
> #      link  GENERIC/netbsd
> /nb/sparc/current/tools/bin/sparc--netbsdelf-ld -n -T
> /disks/wd1a/nb/sparc/current/src/sys/arch/sparc/conf/kern.ldscript
> -Ttext F0004000 -e start -X -S -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ}
> vers.o
> cgsix.o(.text+0x8e4): In function `cg6attach':
> : undefined reference to `wsdisplay_cnattach'
> cgsix.o(.text+0x99c): In function `cg6attach':
> : undefined reference to `wsemuldisplaydevprint'
> cgsix.o(.text+0x9a8): In function `cg6attach':
> : undefined reference to `wsemuldisplaydevprint'

It is. Which version of sys/dev/sun/cgsix.c do you have? This should be fixed with 1.21, committed Thursday night.
This is the wsdisplay attachment code which wasn't properly disabled when there's no wscons support in the kernel.

good luck
Michael

--Signature=_Sat__5_Mar_2005_17_20_12_-0500_6bqw3WzG9iPFZykt
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQiownMpnzkX8Yg2nAQKi/Af+Jnvu2Bp9n7c1i8gp4kuxAplo8+2PPfQ+
JFwJuJhc4GnznPvhN5QOwIKQ2c4McNyCjz2Pnq8B/KagAW+ViHtugsTES8bozT2q
mf2btamEoYiGBQnGfT2x1FM7DvlgH4PAEy6eDcJyPd//qZhu03K1qFCSNS+HAkxo
zbqKg0pDe4VHA0oS0ZzJKDf9+n+7ze8KP0UGzymucm9NzJ0RNWpZUupwFYXkPX2a
Aq5F6i4vXDeRl8lrqGHZ5IZsg/UYRWjhgCHueitQ/vne4eqPgn8wibwsGH0dOWMu
9yf7UpDgQWQIGhe1TNpx5nvUZ8buzg38xIXJypIiGPjXK9dVIcisWg==
=PLm6
-----END PGP SIGNATURE-----

--Signature=_Sat__5_Mar_2005_17_20_12_-0500_6bqw3WzG9iPFZykt--