delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/14/01:23:02

Message-ID: <000801befe68$8d9d4220$e58194cf@wsc.nt.com>
From: "Lori Brynlund" <brynlund AT cadvision DOT com>
To: <djgpp AT delorie DOT com>
Subject: Problem with 'cout'
Date: Mon, 13 Sep 1999 22:20:59 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_0005_01BEFE36.41A257C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have just installed GNU C++ for the first time.  When I try to compile =
and link any program, I get the following error messages:

    undefined reference to 'cout'
    undefined reference to 'ostream::operator<<(char const *)'

How do I fix this?

I have read through the FAQ and online documentation and couldn't seem =
to find any info about this.  Any help would be greatly appreciated.

Lori

------=_NextPart_000_0005_01BEFE36.41A257C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I have just installed GNU C++ for the first =
time.&nbsp; When I=20
try to&nbsp;compile and link any program, I get the following error=20
messages:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; undefined reference to =
'cout'</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; undefined reference to=20
'ostream::operator&lt;&lt;(char const *)'</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>How do I fix this?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I have read through the FAQ and online documentation =
and=20
couldn't seem to find any info about this.&nbsp; Any help would be =
greatly=20
appreciated.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Lori</FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01BEFE36.41A257C0--

- Raw text -


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