Subject: Re: X11 build hosed
To: None <port-hpcmips@netbsd.org>
From: David Becker <becker@cs.duke.edu>
List: port-hpcmips
Date: 06/12/2000 12:48:10
Xhpc built OK for me on my z50 using
	ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/xsrc/xc.tar.gz
from June 3  and with gcc version egcs-2.91.60 19981201 and
NetBSD workpad0 1.4ZA NetBSD 1.4ZA (WORKPAD)

It recognizes the screen correctly, saying:
	640x480 (1280bytes/line) 16bit offset=0
but faults on the keyboard:
	use RAW XT keyboard, /dev/ttyE0
	Fatal server error: Can't set keyboard mode

A ktrace reveals an ioctl failed:
	 14905 Xhpc     CALL  ioctl(0x6,_IO('K',0x7),0)
	 14905 Xhpc     RET   ioctl -1 errno 25 Inappropriate ioctl for device


Any suggestions how to make Xhpc happy about the keyboard?



On Sun, Jun 11, 2000 at 06:57:13AM -0700, Tim Rightnour wrote:
" Looking at the Makefile generated in xc/programs/Xserver/cfb.. there is no way
" the below could work.  It shouldn't even be attempting to compile this file. 
" 
" If you hack past this.. it blows up later on the as -DTETEXT with
" as: unrecognised option -TETEXT
" 
" These files obviously need to be preprocessed.. why are they .s instead of .S?
" 
" 
" making all in programs/Xserver/cfb...
" gcc  -c stipmips.s
" stipmips.s: Assembler messages:
" stipmips.s:103: Error: illegal operands `lw'
" stipmips.s:104: Error: illegal operands `la'
" stipmips.s:105: Error: illegal operands `lw'
" stipmips.s:106: Error: illegal operands `li'
" stipmips.s:107: Error: illegal operands `subu'
" stipmips.s:109: Error: illegal operands `addu'
" 
" ---
" Tim Rightnour <root@garbled.net>
" NetBSD: Free multi-architecture OS http://www.netbsd.org/
" NetBSD Mailing lists on the web: http://mail-index.netbsd.org/