Subject: Re: JavaStation Krups XServer does not start
To: None <port-sparc@NetBSD.org>
From: Matt Dainty <matt@bodgit-n-scarper.com>
List: port-sparc
Date: 02/16/2004 22:28:58
--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Valeriy E. Ushakov <uwe@ptc.spbu.ru> [2004-02-16 03:10:27]:
> On Mon, Feb 16, 2004 at 00:05:48 +0000, Matt Dainty wrote:
>=20
> > Does anyone have an idea how I might proceed? I'm a bit confused as to
> > where to start looking. I was planning on trying the VESA driver, I
> > guessed that's what the suggestion was, although I'm not sure how
> > x86-centric that is.
>=20
> You'd start by editing x11/Xserver/Makefile.common and adding
> ${MACHINE} =3D=3D "sparc" to the list of machines for which we set
>=20
> XSERVER_XFREE86=3D        yes
>=20
> This will make sparc x11 crossbuild build XFree86 server.
>=20
> Then the fun part begins ;).

Sadly not for too long :-(

I made the change as above, and it appears to go okay, at least the
graphics drivers appear to be built, but the input drivers are giving
some grief, -DXINPUT is not being passed to each one. I manually added
it to x11/Xserver/hw/xfree86/input/mouse/Makefile with success and now
calcomp has failed with much the same errors.

$X11SRC/xfree/xc/programs/Xserver/hw/xfree86/common/xf86Xinput.h needs
XINPUT defined to include "extensions/XIproto.h" which seems to contain
the definitions of the missing types.

-DXINPUT is defined for "sparc" along with others in
x11/Xserver/xinput/Makefile

Not sure where best to add this in one place.

Matt
--=20
"Never rub another man's rhubarb."

--+QahgC5+KEYLbs62
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAMUQqKP58eR+X2TMRAujaAJ9Nwhh3piH4fqPGreNMf94H3jgongCdGWMZ
JXxXBbB8p+U6B4VAm086YdM=
=x30g
-----END PGP SIGNATURE-----

--+QahgC5+KEYLbs62--