www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/15/00:08:48

Date: Thu, 15 Oct 1998 05:07:18 +0100 (BST)
From: George Foot <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: djgpp <djgpp AT delorie DOT com>
Subject: Re: That same include problem.
In-Reply-To: <000701bdf7f2$73853d20$0f8c4781@win-shetown>
Message-ID: <Pine.OSF.4.05.9810150502480.7625-100000@sable.ox.ac.uk>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Wed, 14 Oct 1998, Justin D-Z wrote:

> I am using djgpp 2 under DOS and have received the "exact"
> same streambuf.h error as everyone else int he world.
> 
> I've done everything correctly and have read many mail list
> posts... none of which helped.

You should tell us exactly which solutions you tried.  Maybe you
missed the right solution, or maybe you didn't apply the
solution correctly.  Also, did you look it up in the FAQ?  At
least in version 2.11 of the FAQ this problem is well
documented.

> I've compiled through DFE and DOS using gcc gpp gxx and they
> all give me the same error... despite the fact that the file
> is where it says it isn't.

With or without a long filename?

> My autoexec.bat file is fine because everything works but
> this include... I also tried the alternate command line
> options in the mail list... no luck.

Actually I doubt it, but it's impossible to say unless you post
it.  However, try typing `set LFN=y' at the DOS prompt before
compiling.  If that solves the problem, your autoexec.bat was
not fine -- add the `set LFN=y' line to it, and all should be
well.  Don't forget to reboot.

> If you could please help me out, and it works, I'll write a
> web page that explains how to fix it and send it to Brennan
> (and you can refer to it as well).  Seeming that this
> accounts for 50% of the bugs reported, it might be valuable.

Being such a popular problem, it's also one of the most
frequently solved problems.  I'll be very surprised if your
problem can't be solved in the same way as everyone else's
problem.

There is another twist to this though; if you're working on NT
then you won't be able to use long filenames at all, and in this
case the solution above won't work.  You need to use a DOS unzip
program that truncates long filenames to 8.3 format if you're
either working on NT or working in plain DOS.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

xu do tavla fo la lojban  --  http://xiron.pc.helsinki.fi/lojban/lojban.html

- Raw text -


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