www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/24/13:15:57

Date: Tue, 24 Oct 2000 14:20:27 +0200 (CEST)
From: Dieter Demerre <ext DOT dieter DOT demerre AT siemens DOT be>
X-Sender: dd AT baby DOT siemens DOT ebp DOT ii3 DOT b-rail DOT be
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Re: cout Error
In-Reply-To: <D14BEF7AFC99D3118F6500508B12122103034C02@emss01m02.ems.lmco.com>
Message-ID: <Pine.LNX.4.10.10010241414370.1624-100000@baby.siemens.ebp.ii3.b-rail.be>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 23 Oct 2000, Chaban, Jennifer L wrote:

> Hi! I just downloaded DJGPP and I am having a problem with compiling a test
> program.  This is what the error says:
> 
> c:/djgpp/tmp\ccY6QHiP.o(.text+0x1f):world.cc: undefined reference to 'cout'
> c:/djgpp/tmp\ccY6QHiP.o(.text+0x24):world.cc: undefined reference to
> 'ostream::operator<<(char const *)'
> collect2: 1d returned 1 exit status
> 
> Here is my code :
>  <<world.cc>> 

I did not get your source, but guess it's sth like this:
- ---<snip>---

- ---</snip>---
Your compiler probably interpreted your code as c-code (not c++ but <<
directives, cout stream etc. are c++).  you could try 
# gpp world.cc -o world.exe

If this doesn't work, then maybe you have not installed gpp ? or gpplib or
sth like that.

******* Groetjes vanwege ***** Greetings From *******
Dieter Demerre - http://www.angelfire.com/de/ddemerre
  ddemerre AT acm DOT org - ext DOT dieter DOT demerre AT siemens DOT be

Although this private and confidential e-mail has been sent 
to you through a personal Siemens account, it does NOT 
represent any official opinion of Siemens.

If you are not the intended recipient of this e-mail and 
have received it in error, please notify the sender by 
replying with 'received in error' as the subject and then 
delete it from your mailbox.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBOfV+ka5coohL2ygZAQHQKQP/TMJnz5WSg8BpWWFf6TXcYhEPUV3yl8j3
r40b2/VyZERE2xVOqlQXvzfWsOSLc4A6AYjyzLi3UQ5YblFs/zbWHlBhWvl/DhXU
I3yCFGKLImp7w3uFoyeENzoez+1jDM+RuxoDyRN26RAIteYY4qlZhLcX1am0Y6Ga
/EGzP8qw7d8=
=xBks
-----END PGP SIGNATURE-----


- Raw text -


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