From: "DoLL" Newsgroups: comp.os.msdos.djgpp Subject: Re: iostream errors Date: Wed, 28 Apr 1999 18:14:40 +0900 Organization: System Engineering Research Institute (SERI) Lines: 127 Message-ID: <7g6jln$2tn$1@green.kreonet.re.kr> References: <37267BB5 DOT 4BF06B05 AT bigfoot DOT com> NNTP-Posting-Host: cyberdog.kepri.re.kr Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0035_01BE91A2.FB730060" X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0035_01BE91A2.FB730060 Content-Type: text/plain; charset="euc-kr" Content-Transfer-Encoding: quoted-printable You should use an unzip program which supports long file names.=20 Ata =C0=CC(=B0=A1) <37267BB5 DOT 4BF06B05 AT bigfoot DOT com> = =B8=DE=BD=C3=C1=F6=BF=A1=BC=AD = =C0=DB=BC=BA=C7=CF=BF=B4=BD=C0=B4=CF=B4=D9... Hi !=20 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.=20 "In file included from a.cc:1:=20 c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or = directory (ENOENT)"=20 What's my problem ?=20 =3D =3D =3D Ok, I tried to solve the problem on my own, but ran into = a loop hole. Please help me. =3D=3D=3D=20 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:=20 "In file included from c:djgpp/lang/cxx/streambuf.h:36,=20 from c:djgpp/lang/cxx/iostream.h:31,=20 from a.cc:1:=20 c:/djgpp/lang/cxx/liblio.h:30: _G_config.h: No such file or = directory (ENOENT)"=20 I found "liblio.h", but no "_G_config.h". Instead I found = "_G_confi.h"=20 Compiled it and now got some errors that I can't even guess as to = what to do.=20 c:/djgpp/tmp\ccca1brl(.text+0x19):a.cc: undefined reference to = 'cout'=20 c:/djgpp/tmp\ccca1brl(.text+0x1e):a.cc: undefined reference to = 'ostream:operator<<(char const *)'=20 =3D =3D =3D =3D=20 Thank you for your time.=20 With gratitude,=20 Andy.=20 ------=_NextPart_000_0035_01BE91A2.FB730060 Content-Type: text/html; charset="euc-kr" Content-Transfer-Encoding: quoted-printable
You should use an unzip program which supports long file names. =
 
Ata =C0=CC(=B0=A1) <37267BB5 DOT 4BF06B05 AT bigfoot DOT c= om>=20 =B8=DE=BD=C3=C1=F6=BF=A1=BC=AD = =C0=DB=BC=BA=C7=CF=BF=B4=BD=C0=B4=CF=B4=D9...
Hi !=20

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

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

What's my problem ?=20

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

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

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

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

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

=3D =3D =3D =3D=20

Thank you for your time.=20

With gratitude,=20

Andy.

------=_NextPart_000_0035_01BE91A2.FB730060--