delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/27/23:10:20

Message-ID: <37267BB5.4BF06B05@bigfoot.com>
Date: Tue, 27 Apr 1999 23:08:37 -0400
From: Ata <zoroski AT bigfoot DOT com>
X-Mailer: Mozilla 4.51 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: iostream errors
Reply-To: djgpp AT delorie DOT com

--------------F32CC5EA02B9174BE9A859BD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi !

DJGPP is a great compiler for my C programming class.  Now, I'm trying
to learn C++ with it.  I tried to compile my first program, and was
given the following error.

"In file included from a.cc:1:
c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
(ENOENT)"

What's my problem ?

= = = Ok, I tried to solve the problem on my own, but ran into a loop
hole.  Please help me. ===
I went into djgpp/lang/cxx to find iostream.h.  "iostream.h" was there,
but streambuf.h wasn't.  It was called streambu.h instead.  I renamed
the file to "streambuf.h".  Compiled it.  Now, it tells me:

"In file included from c:djgpp/lang/cxx/streambuf.h:36,
                        from c:djgpp/lang/cxx/iostream.h:31,
                        from a.cc:1:
c:/djgpp/lang/cxx/liblio.h:30: _G_config.h: No such file or directory
(ENOENT)"

I found "liblio.h", but no "_G_config.h".  Instead I found "_G_confi.h"

Compiled it and now got some errors that I can't even guess as to what
to do.

c:/djgpp/tmp\ccca1brl(.text+0x19):a.cc: undefined reference to 'cout'
c:/djgpp/tmp\ccca1brl(.text+0x1e):a.cc: undefined reference to
'ostream:operator<<(char const *)'

= = = =

Thank you for your time.

With gratitude,

Andy.

--------------F32CC5EA02B9174BE9A859BD
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi !
<p>DJGPP is a great compiler for my C programming class.&nbsp; Now, I'm
trying to learn C++ with it.&nbsp; I tried to compile my first program,
and was given the following error.
<p>"In file included from a.cc:1:
<br>c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
(ENOENT)"<b></b>
<p>What's my problem ?
<p>= = = Ok, I tried to solve the problem on my own, but ran into a loop
hole.&nbsp; Please help me. ===
<br>I went into djgpp/lang/cxx to find iostream.h.&nbsp; "iostream.h" was
there, but streambuf.h wasn't.&nbsp; It was called streambu.h instead.&nbsp;
I renamed the file to "streambuf.h".&nbsp; Compiled it.&nbsp; Now, it tells
me:
<p>"In file included from c:djgpp/lang/cxx/streambuf.h:36,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from c:djgpp/lang/cxx/iostream.h:31,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from a.cc:1:
<br>c:/djgpp/lang/cxx/liblio.h:30: _G_config.h: No such file or directory
(ENOENT)"
<p>I found "liblio.h", but no "_G_config.h".&nbsp; Instead I found "_G_confi.h"
<p>Compiled it and now got some errors that I can't even guess as to what
to do.
<p>c:/djgpp/tmp\ccca1brl(.text+0x19):a.cc: undefined reference to 'cout'
<br>c:/djgpp/tmp\ccca1brl(.text+0x1e):a.cc: undefined reference to 'ostream:operator&lt;&lt;(char
const *)'
<p>= = = =
<p>Thank you for your time.
<p>With gratitude,
<p>Andy.</html>

--------------F32CC5EA02B9174BE9A859BD--

- Raw text -


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