From: Mithras (mithras@dhp.com)
Date: Mon 26 Oct 1998 - 04:31:36 IST
On Sun, 25 Oct 1998, Jarno Paananen wrote: > This is most probably the cause. I assume that you're using 1.3.0 or newer > version of SVGALib as you mentioned et6000.regs file. Those et4000.regs and > tseng3.exe are meant only for ET4000 cards, which come in different flavors Oops! That's embarrassing - no, I'd been using v1.2.11 which came with RH 5.0. Foolish me, I forgot to check the ftp archive. :-p But I've run into a little problem building 1.3.0 - syscall.h produced a different prefix for __svgalib_vm86old, and I got a 'fixed or forbidden register was spilled' error in lrmi.c Has anyone else seen this error? /usr/local/src/svgalib-1.3.0/src/lrmi.c: In function `__svgalib_vm86old': /usr/local/src/svgalib-1.3.0/src/lrmi.c:35: fixed or forbidden register was spilled. The relevant macro from <asm/unistd.h> (included by <syscall.h>) is: #define _syscall1(type,name,type1,arg1) \ type name(type1 arg1) \ { \ long __res; \ __asm__ volatile ("int $0x80" \ : "=a" (__res) \ : "0" (__NR_##name),"b" ((long)(arg1))); \ if (__res >= 0) \ return (type) __res; \ errno = -__res; \ return -1; \ } (Are the :'s asm syntax? It's new to me.) I included <error.h> and changed SYS___svgalib_vm86old to __NR___svgalib_vm86old in the #defines, but compilation still failed due to the above error. thanks, & in advance, ben taylor
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST