Message-ID: <37267BB5.4BF06B05@bigfoot.com> Date: Tue, 27 Apr 1999 23:08:37 -0400 From: Ata 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 Content-Type: multipart/alternative; boundary="------------F32CC5EA02B9174BE9A859BD" 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 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--