Date: Tue, 23 Apr 1996 13:28:18 +0200 (IST) From: Eli Zaretskii To: Louie Lui Cc: djgpp AT delorie DOT com Subject: Re: Can't compile C++ program with gcc In-Reply-To: <4lho59$m2g@aggedor.rmit.EDU.AU> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 23 Apr 1996, Louie Lui wrote: > gcc -Wall -o try try.cc > or > cc1plus -Wall -o try try.cc > > I have obtained the following errors: > > try.cc(.text+0x1a): undefined reference to `endl(ostream &)' Please download the file v2/faq200b.zip and read the FAQ list there. It describes several possible reasons for these messages. First, append -lgpp to the end of the command line (and be sure to get and install lgp271b.zip); but there might be other reasons too.