delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/11/13:52:33

Message-Id: <3.0.5.32.19980911145246.007c1ba0@pop3.ime.unicamp.br>
Date: Fri, 11 Sep 1998 14:52:46 -0300
To: djgpp AT delorie DOT com
From: Renato Fernandes =?iso-8859-1?Q?Cant=E3o?= <cantao AT ime DOT unicamp DOT br>
Subject: Re: Error
In-Reply-To: <35f8eaaa.4068244@news.cableinet.net>
Mime-Version: 1.0

Hi!

At 09:18 11/09/98 GMT, Darian Linehan wrote:
>Hi, I have just downloaded and installed DGJPP. Every time I try and
>compile a program (the basic "Hello World!" prog)
>I get the following error:
>
>c:/utils/dgjpp/tmp\cccqedcf(.text+0x19):hello.cpp: undefined reference
>to `cout'
>c:/utils/dgjpp/tmp\cccqedcf(.text+0x1e):hello.cpp: undefined reference
>to `ostream::operator<<(char const *)'

	Did you:

	1. Set ALL environmental variables like PATH (must contain your DJGPP/bin
dir) or DJGPP (DJGPP=c:\djgpp\djgpp.env)?
	2. Get into djgpp.env and check the line +LNF=y (enables long file names
like <streambuf.h>, used by iostream.h)?
	3. Installed djdev201.zip? If I'm not wrong, it contains the *.h files.

	Good luck!!!


	Renato Fernandes CANTAO
	DMA - IMECC - UNICAMP
	Campinas - SP - Brasil

- Raw text -


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