From: ed toivanen Newsgroups: comp.os.msdos.djgpp Subject: Re: Install/compile woes. W95, Djjgpp v2 Date: Thu, 30 Apr 1998 17:59:47 -0700 Organization: BCTEL Advanced Communications Lines: 26 Message-ID: <35491E82.29F565F0@bc.sympatico.ca> References: <3548DA54 DOT 17DC19AC AT bc DOT sympatico DOT ca> <6ias3n$dlu$1 AT rosenews DOT rose DOT hp DOT com> NNTP-Posting-Host: m84.bctel.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Yep, that did it. Thanks a lot! My readme.1st was of no help, as it only contained and ftp related logon error. Ed Andrew Crabtree wrote: > ed toivanen wrote in message <3548DA54 DOT 17DC19AC AT bc DOT sympatico DOT ca>... > >If lfn=n in djgpp.env, then the error "iostream.h:31 streambuf.h: No > >such file or directory (ENOENT)" > From the later message it sounds like LFN=y works for you so I wouldn't > worry about this. You would need to unzip the files and have them converted > to 8.3 for LFN=n to work. You would still run into the 2nd problem though. > > >undefined reference to cout" and "main.cpp: undefined reference to > >ostream::operator<<(char const *)". > This is the most common c++ FAQ. You must manually specify the c++ > libraries if you link with gcc, > or just use 'gxx' or 'gpp' and they will do it for you (you might also have > a g++ too, which works). > > Andy