Mail Archives: djgpp/1999/04/28/05:55:43
From: | "DoLL" <jbdoll AT kepri DOT re DOT kr>
|
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
|
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3D"text/html; charset=3Dks_c_5601-1987" =
http-equiv=3DContent-Type><!doctype html public "-//w3c//dtd html 4.0 =
transitional//en">
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>You should use an unzip program which supports long file names. =
</DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: =
5px">
<DIV>Ata<ZOROSKI AT BIGFOOT DOT COM> =C0=CC(=B0=A1) <<A=20
=
href=3D"mailto:37267BB5 DOT 4BF06B05 AT bigfoot DOT com">37267BB5 DOT 4BF06B05 AT bigfoot DOT c=
om</A>>=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...</DIV>Hi !=20
<P>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
<P>"In file included from a.cc:1: =
<BR>c:/djgpp/lang/cxx/iostream.h:31:=20
streambuf.h: No such file or directory (ENOENT)"<B></B>=20
<P>What's my problem ?=20
<P>=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 <BR>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
<P>"In file included from c:djgpp/lang/cxx/streambuf.h:36,=20
=
<BR> &nb=
sp; =20
from c:djgpp/lang/cxx/iostream.h:31,=20
=
<BR> &nb=
sp; =20
from a.cc:1: <BR>c:/djgpp/lang/cxx/liblio.h:30: _G_config.h: No such =
file or=20
directory (ENOENT)"=20
<P>I found "liblio.h", but no =
"_G_config.h". =20
Instead I found "_G_confi.h"=20
<P>Compiled it and now got some errors that I can't even guess as to =
what to=20
do.=20
<P>c:/djgpp/tmp\ccca1brl(.text+0x19):a.cc: undefined reference to =
'cout'=20
<BR>c:/djgpp/tmp\ccca1brl(.text+0x1e):a.cc: undefined reference to=20
'ostream:operator<<(char const *)'=20
<P>=3D =3D =3D =3D=20
<P>Thank you for your time.=20
<P>With gratitude,=20
<P>Andy. </P></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0035_01BE91A2.FB730060--
- Raw text -