From: Mike McLean Newsgroups: comp.os.msdos.djgpp Subject: Re: code under Allegro 3.0 and PG++ 1.01 Date: 11 Feb 1998 20:19:01 -0700 Organization: Primenet Services for the Internet Lines: 20 Message-ID: <34E26B10.311692E1@primenet.com> References: <199802120239 DOT SAA17009 AT adit DOT ap DOT net> 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 Nate Eldredge wrote: > > At 03:41 2/10/1998 -0700, Mike McLean wrote: > >I have a problem with some code I am using for file routines under > >allegro 3.0. I am writing a game in C++ using the PG++ 1.01 addition to > >DJGPP. I get undefined reference to terminate(void) and a bunch of > >errors that scroll too fast for me to see. What could be wrong with the > >following 2 functions? It works if I comment out all the code and leave > >the functions blank, but then I can't save or read info from disk. Any > >help is greatly appreciated. > [snipped] > I believe somebody had a similar problem not long ago. If I remember > correctly, the solution was to link with the `-lstdcxx' library. You could > also search the archives if that doesn't work. > > Nate Eldredge > eldredge AT ap DOT net I link all my .o files with -lstdcx not -lstdcxx is this ok? I am using a makefile generated by RHIDE 1.4