www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/21/05:45:24

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: runtime error: "OMPT=: cannot open" when running a program
Date: Fri, 20 Feb 1998 18:55:27 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 23
Message-ID: <34EE17EF.72EC@cs.com>
References: <6cl2av$3vm AT overload DOT lbl DOT gov>
NNTP-Posting-Host: ppp231.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Dr. John Refling wrote:
> 
> I compiled a small program with DJGPP and when I run it, I get the above
> message.  This is being run from a floppy.  I have looked and looked but
> have not found any reference to OMPT anywhere.  Is this related to DJGPP
> or WIn95, or what?!

This is a known bug in MS-DOS that triggers another known bug in the
DJGPP real-mode stub only when you boot your computer without an
'autoexec.bat'.  The cause is a null definition of the PATH environment
variable.  The workaround is to put an 'autoexec.bat' on your floppy
disk, even if it has no instructions in it.

I thought the bug in the stub was corrected in v2.01, but apparently
you'll have to wait for 2.02 to get a more permanent solution.

---
---------------------------------------------------------------------
|      John M. Aldrich       | "If 'everybody knows' such-and-such, |
|       aka Fighteer I       | then it ain't so, by at least ten    |
|   mailto:fighteer AT cs DOT com   | thousand to one."                    |
| http://www.cs.com/fighteer |                 - Lazarus Long       |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019