Xref: news-dnh.mv.net comp.os.msdos.djgpp:595 Path: news-dnh.mv.net!mv!news.sprintlink.net!hookup!news.mathworks.com!gatech!howland.reston.ans.net!Germany.EU.net!nntp.gmd.de!news.rwth-aachen.de!hathi!softbrek From: softbrek AT hathi DOT informatik DOT rwth-aachen DOT de (Hans-Bernhard Broeker) Newsgroups: comp.os.msdos.djgpp Subject: Re: Bug: read() in v1.12m4 (?) Date: 26 Jun 1995 10:25:15 GMT Organization: RWTH -Aachen / Rechnerbetrieb Informatik Lines: 25 References: <1995Jun24 DOT 184323 DOT 9744 AT city DOT ac DOT uk> Nntp-Posting-Host: hathi.informatik.rwth-aachen.de To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp sl323 AT city DOT ac DOT uk (Mark Lewis) writes: >HELP ! I've managed to get this go32 error from a simple bit of code. >go32 version 1.12.maint3 Copyright (C) 1994 DJ Delorie >This image has a buggy read.s module. Run DPMIFIX on it and try again. >Unsupported DOS request at eip=1967 >eax=00003f08 ebx=00000008 ecx=00004000 edx=00000000 esi=00000000 edi=00000000 >ebp=7ffffd90 esp=7ffffd68 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=00009000 >Call frame traceback EIPs: > 0x00001967 > 0x0000128d This sounds like a library problem: read.s, the source file for the read() function of the C-library, was not DPMI-compatible in some earlier version. This has been fixed quite some time ago, and there was a small utility called dpmifix that could fix it in readily linked executables by binary patching. So: check if you have a correct version 1.12m3 (or m4) installation, and esp. a correctly patched libc.a (did you run the *.bat files included in 112m[1-4].zip? they are there to patch the libc.a). Hope this helps a bit Hans-Bernhard Broeker