Date: Tue, 9 Jan 96 20:46 JST From: turnbull AT turnbull DOT sk DOT tsukuba DOT ac DOT jp (Stephen J. Turnbull) To: rjvdboon AT cs DOT vu DOT nl CC: djgpp AT delorie DOT com In-reply-to: (rjvdboon@cs.vu.nl) Subject: Re: Q: what/where is segread ? >>>>> "Boon" == Boon van der RJ writes: Boon> When I was compiling GhostScript 3.51 with DJGPP V2, I got Boon> the following error: gdevsvga.c(.text)..: Undefined Boon> reference to segread Segments? What segments? This is a 32-bit compiler ... oops. Boon> It compiled from .c to .o, but when linking all the objects Boon> together it gave the error. Yup. None of the DOS drivers work with DJGPP, because they all were written for TC or MSC and assume you can deal with segments. Porting to Watcom's 32-bit extender isn't so bad, it provides real mode interfaces I guess. This is not what DJGPP is about .... Best bet is to port one of the Linux SVGALIB drivers to LIBGRX. Doing a cheap and dirty isn't too hard, at least for DJGPP v1.12 + LIBGRX 1.03. Last I tried doing the port with DJGPP 2.0b1 + LIBGRX 2.0beta, it flat out did not work period. Maybe you'll have better luck now. Forget about using GRX 1.03's blitting functions. They don't work. My code was a bag on the side of a kludge (the Linux drivers are full of comments that say "I have no idea what I'm doing but this doesn't seem to hurt" :-), so it's not published, but I'll send it to you if you just need an ineffficient driver that sort of works. Boon> Does anyone know how to do it in a different way, or am i Boon> being just plain stupid ? The DV/X + Ghostscript 3.51 port smokes, even on my IBM Stinkpad 330cs, if you can find and afford DV/X. -- Stephen J. Turnbull Institute of Socio-Economic Planning Yaseppochi-Gumi University of Tsukuba http://turnbull.sk.tsukuba.ac.jp/ Tennodai 1-1-1, Tsukuba, 305 JAPAN turnbull AT sk DOT tsukuba DOT ac DOT jp