Date: Thu, 25 Jul 1996 12:00:03 +0200 (IST) From: Eli Zaretskii To: Sansone Cc: djgpp AT delorie DOT com Subject: Re: A DJGPP BOOK In-Reply-To: <4t6vst$ha8@newsbf02.news.aol.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 25 Jul 1996, Sansone wrote: > I recently bought the gnu compiler tools cdrom with the djgpp 1.12.m4 > version, and I am having problems getting running. When I try to compile > a simple C++ program I get the following errors. > > 1. undefined reference to endl. > 2. undefined reference to cout. > > I don't understand, the program should compile with no problems. endl and > cout are c++ code aren't they? Please help. Does the CD-ROM includes the DJGPP FAQ list (look for a file named DJGPP.FAQ)? If not, download the file from the URL below and read the FAQ. This problem is explained in section 8.8, 8.10 and 8.11. The latest version of the FAQ for DJGPP v1.x is available from this URL: ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v1/faq102.zip