Subject: Re: XFree86 on alpha.
To: Dave Huang <>
From: Simon Burge <>
List: port-alpha
Date: 01/15/2001 09:14:44
Dave Huang wrote:

> I forgot to keep a log, but "make World" seemed to work. However, when I
> did a "make install", it decided it needed to make all in
> xsrc/xfree/xc/programs/Xserver/hw/xfree86/os-support/misc and that died
> with:
> making all in programs/Xserver/hw/xfree86/os-support/misc...
> gcc   -c -traditional-cpp BUSmemcpy.S
> BUSmemcpy.S:40: assyntax.h: No such file or directory
> Make is trying to build BUSmemcpy.o from the .S file instead of the .c
> file. Same problem with IODelay.o and SlowBcopy.o. I moved the .S files
> out of the way, and it seemed to be happy with that.

Ahh, yes.  Dang, forgot to mention that.  I'm not sure how best to
handle this - whether a .c.o suffix rule will help, or something more
fancy.  Any make(1) experts want to take a crack at this?

> So anyways, I got
> everything built and installed, and did an "X -configure", which crashed
> and produced the following log file:

I hadn't tried "X -configure", but at least you only appear to get a
core dump - I just tried this and it locked up my pc164 :-(  I'll start
looking into this.  What model Alpha do you have?

All I can suggest right now is to make an XF86Config file (after
rebuilding the Xserver - see below) with the right "Device" section
and try running the Xserver directly.  I'll send mine to the list
in a different message that you can use as a template.

> As it says, I have a Trident 9660 video card, which isn't in the list of
> video drivers... is Trident not supported yet?

There's certainly a mention of "tgui9660" in some files under
xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/trident, so you
should be right there.  Ahh, it doesn't appear to be listed in - could you try adding "trident" to the list around
line 438 of .../xsrc/xfree/xc/config/cf/ - you'll have
to re-run a lot of the build.  If you're impatient, then maybe
you could get away with something like:

	cd .../xsrc/xfree/xc
	make -f xmakefile   -n Makefiles
	cd programs/Xserver
	make includes
	make depend

Simon Burge                            <>
NetBSD CDs, Support and Service: